US2007294498A1PendingUtilityA1

Storage Allocation Management in Switches Utilizing a Flow Control

49
Assignee: IBMPriority: Jun 14, 2006Filed: Jun 14, 2006Published: Dec 20, 2007
Est. expiryJun 14, 2026(expired)· nominal 20-yr term from priority
G06F 13/385
49
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A method, computer program product, and system for managing allocation of storage in a switch utilizing flow control are provided. The switch includes a plurality of ports and an internal storage divided into a plurality of storage units. The method, computer program product, and system provide for monitoring an average number of storage units used by each of the plurality of ports over a predetermined time period, setting a threshold for the average number of storage units used by each of the plurality of ports, and allocating one or more available storage units assigned to a first port to a second port in response to storage allocation management being enabled for the second port and the average number of storage units used by the second port exceeding the threshold for the second port.

Claims

exact text as granted — not AI-modified
1 . A method for managing allocation of storage in a switch utilizing flow control, the switch comprising a plurality of ports and an internal storage divided into a plurality of storage units, the method comprising:
 monitoring an average number of storage units used by each of the plurality of ports over a predetermined time period;   setting a threshold for the average number of storage units used by each of the plurality of ports, the threshold for each port being less than or equal to a total number of storage units assigned to the respective port; and   allocating one or more available storage units assigned to a first of the plurality of ports to a second of the plurality of ports in response to storage allocation management being enabled for the second port and the average number of storage units used by the second port exceeding the threshold for the second port.   
   
   
       2 . The method of  claim 1 , further comprising:
 determining whether the threshold for the second port is greater than zero to determine whether storage allocation management is enabled for the second port.   
   
   
       3 . The method of  claim 1 , wherein one or more storage units assigned to the first port are available for allocation when the average number of storage units used by the first port is less than the threshold for the first port or a preset percentage of the threshold for the first port. 
   
   
       4 . The method of  claim 1 , wherein allocating one or more available storage units comprises:
 reassigning the one or more available storage units from the first port to the second port; and   updating the total number of storage units assigned to and the threshold for the first port and the second port based on the reassignment of the one or more available storage units.   
   
   
       5 . The method of  claim 1 , further comprising:
 reallocating the one or more available storage units from the second port back to the first port when an event occurs.   
   
   
       6 . The method of  claim 5 , wherein the event occurs when a fixed period of time elapses or when the average number of storage units used by the first port reaches the threshold for the first port. 
   
   
       7 . A system for managing allocation of storage in switches utilizing flow control, the system comprising:
 a switch comprising a plurality of ports and an internal storage divided into a plurality of storage units; and   a controller in communication with the switch, the controller being operable to:
 monitor an average number of storage units used by each of the plurality of ports over a predetermined time period, 
 set a threshold for the average number of storage units used by each of the plurality of ports, the threshold for each port being less than or equal to a total number of storage units assigned to the respective port, and 
 allocate one or more available storage units assigned to a first of the plurality of ports to a second of the plurality of ports in response to storage allocation management being enabled for the second port and the average number of storage units used by the second port exceeding the threshold for the second port. 
   
   
   
       8 . The system of  claim 7 , wherein the controller comprises a first controller and a second controller and at least one of the first controller and the second controller is integrated into the switch. 
   
   
       9 . The system of  claim 8 , wherein the first controller is operable to monitor the average number of storage units used by each of the plurality of ports and set the threshold for each of the plurality of ports, and the second controller is operable to allocate the one or more available storage units from the first port to the second port. 
   
   
       10 . The system of  claim 7 , further comprising:
 a first register storing the average number of storage units used by each of the plurality of ports;   a second register storing the threshold for each of the plurality of ports; and   a table indicating the port assigned to each of the plurality of storage units,   wherein the first register, the second register, and the table are accessible to the controller.   
   
   
       11 . The system of  claim 7 , wherein the controller is further operable to:
 determine whether the threshold for the second port is greater than zero to determine whether storage allocation management is enabled for the second port.   
   
   
       12 . The system of  claim 7 , wherein one or more storage units assigned to the first port are available for allocation when the average number of storage units used by the first port is less than the threshold for the first port or a preset percentage of the threshold for the first port. 
   
   
       13 . The system of  claim 7 , wherein allocate one or more available storage units comprises:
 reassign the one or more available storage units from the first port to the second port; and   update the total number of storage units assigned to and the threshold for the first port and the second port based on the reassignment of the one or more available storage units.   
   
   
       14 . The system of  claim 7 , wherein the controller is further operable to:
 reallocate the one or more available storage units from the second port back to the first port when a fixed period of time elapses or when the average number of storage units used by the first port reaches the threshold for the first port.   
   
   
       15 . A computer program product comprising a computer readable medium, the computer readable medium including a computer readable program for managing allocation of storage in a switch utilizing flow control the switch comprising a plurality of ports and an internal storage divided into a plurality of storage units, wherein the computer readable program when executed on a computer causes the computer to:
 monitor an average number of storage units used by each of the plurality of ports over a predetermined time period;   set a threshold for the average number of storage units used by each of the plurality of ports, the threshold for each port being less than or equal to a total number of storage units assigned to the respective port; and   allocate one or more available storage units assigned to a first of the plurality of ports to a second of the plurality of ports in response to storage allocation management being enabled for the second port and the average number of storage units used by the second port exceeding the threshold for the second port.   
   
   
       16 . The computer program product of  claim 15 , wherein the computer readable program when executed on the computer further causes the computer to:
 determine whether the threshold for the second port is greater than zero to determine whether storage allocation management is enabled for the second polt.   
   
   
       17 . The computer program product of  claim 15 , wherein one or more storage units assigned to the first port are available for allocation when the average number of storage units used by the first port is less than the threshold for the first port or a preset percentage of the threshold for the first port. 
   
   
       18 . The computer program product of  claim 15 , wherein allocate one or more available storage units comprises:
 reassign the one or more available storage units from the first port to the second port; and   update the total number of storage units assigned to and the threshold for the first port and the second port based on the reassignment of the one or more available storage units.   
   
   
       19 . The computer program product of  claim 15 , wherein the computer readable program when executed on the computer further causes the computer to:
 reallocate the one or more available storage units from the second port back to the first port when an event occurs.   
   
   
       20 . The computer program product of  claim 19 , wherein the event occurs when a fixed period of time elapses or when the average number of storage units used by the first port reaches the threshold for the first port.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.