TRANSFER DEVICE, TRANSFER METHOD, AND TRANSFER PROGRAM
A transfer device ( 10 ) distributes a received packet to each of queues provided in units of logical paths. In addition, the transfer device ( 10 ) sets a weight of each of the queues according to an amount of packets in each of the queues provided in units of logical paths, and selects a queue for outputting a packet according to the set weight. Further, the transfer device ( 10 ) outputs a packet from the selected queue.
1 . A transfer device comprising:
a distribution device that distributes a received packet to each of queues provided in units of logical paths;
a selection device that sets a weight of each of the queues according to an amount of packets in each of the queues provided in units of logical paths, and selects a queue for outputting a packet according to the set weight; and
an output device that outputs a packet from the queue selected by the selection unit.
2 . The transfer device according to claim 1 , further comprising:
a setting device that sets an algorithm of each of the queues according to network requirements of each of the queues.
3 . The transfer device according to claim 1 , wherein the selection device adds weight values of queues in which an amount of packets is equal to or larger than a predetermined threshold value, among the queues provided in logical paths, compares the weight values of the queues with each other, and selects a queue having the highest weight value as the queue for outputting the packet.
4 . The transfer device according to claim 2 , wherein the setting device sets a size of each of the queues according to network requirements of each of the queues.
5 . A transfer method executed by a transfer device, the method comprising:
distributing a received packet to each of queues provided in logical paths;
setting a weight of each of the queues according to an amount of packets in each of the queues provided in logical paths, and selecting a queue for outputting a packet according to the set weight; and
outputting a packet from the queue selected.
6 . A computer-readable non-transitory recording medium storing computer-executable program instructions that when executed by a processor cause a computer to execute a transfer process comprising:
distributing a received packet to each of queues provided in logical paths;
setting a weight of each of the queues according to an amount of packets in each of the queues provided in logical paths, and selecting a queue for outputting a packet according to the set weight; and
outputting a packet from the queue selected.
7 . The transfer method according to claim 5 , further comprising:
setting an algorithm of each of the queues according to network requirements of each of the queues.
8 . The transfer method according to claim 5 , further comprising:
adding weight values of queues in which an amount of packets is equal to or larger than a predetermined threshold value, among the queues provided in logical paths;
comparing the weight values of the queues with each other; and
selecting a queue having the highest weight value as the queue for outputting the packet.
9 . The transfer device according to claim 7 , wherein a size of each of the queues is set according to network requirements of each of the queues.
10 . The computer-readable non-transitory recording medium according to claim 6 wherein the transfer method further comprising:
setting an algorithm of each of the queues according to network requirements of each of the queues.
11 . The computer-readable non-transitory recording medium according to claim 6 wherein the transfer method further comprising:
adding weight values of queues in which an amount of packets is equal to or larger than a predetermined threshold value, among the queues provided in logical paths;
comparing the weight values of the queues with each other; and
selecting a queue having the highest weight value as the queue for outputting the packet.
12 . The computer-readable non-transitory recording medium according to claim 10 wherein the transfer method further comprising:
setting a size of each of the queues according to network requirements of each of the queues.