Patent attributes
A relay device includes: multiple ports for transmitting and receiving a frame; at least one queue arranged for each of the ports, storing a transmission scheduled frame, and having a variable storage capacity; and a capacity controller controlling the storage capacity of each of queues for the ports. A distribution pattern of a value of the storage capacity allocated to each of the queues is defined as a capacity distribution pattern. The capacity distribution pattern includes a first pattern which is the capacity distribution pattern in an initial state and a second pattern which is different from the first pattern. The capacity controller switches the capacity distribution pattern from the first pattern to the second pattern when a predetermined switching condition is satisfied.