Claims
- 1. A system for arbitrating between multiple requests for a shared resource, comprising:first determining means for determining a priority of each request in a first request class, said first request class consisting of transmit data requests to use said shared resource, by generating a priority vector associated with each transmit data request, higher values of said priority vector indicating higher priority, said priority vector including a predicted latency field, a contents of said predicted latency field equal to a time period estimated to have elapsed since a last previous transmission on a virtual circuit associated with said each transmit data request at a subsequent time when transmit data for said data request is read from a host memory into a network adapter, and by comparing said priority vector of each said request in said first request class; second determining means for determining a high or a low priority of each request in a second request class, said second request class consisting of receive data requests to use said shared resource; first selecting means, responsive to said first determining means, for selecting a first selected request equal to one of said requests in said first request class having a highest priority; second selecting means, responsive to said second determining means, for selecting a second selected request equal to one of said requests in said second request class having a high priority; and weighted arbitration means, for choosing between said first selected request and said second selected request based on a 1 of N round robin arbitration, said second selected request selected once every N times said shared resource is available, and N is a predetermined integer.
- 2. The system as in claim 1, further comprising:said shared resource is a Direct Memory Access logic within a network adapter, said Direct Memory Access logic coupled with a data bus in a host computer system; said first request class consists of transmit data requests to use said Direct Memory Access logic to read transmit data from said host memory in said host computer system, said transmit data to be transmitted onto a network coupled with said network adapter; and said second request class consists of receive data requests to use said Direct Memory Access logic to write receive data from said network adapter into said host memory.
- 3. The system as in claim 2, further comprising:one or more Receive Queues for indicating reassembled packets received into said network adapter from said network and stored in a Reassembly Memory; each said receive data request is associated with one of said Receive Queues; and wherein said second determining means determines that a given receive data request is high priority if the occupancy level of said Reassembly memory is greater than a predetermined amount.
- 4. The system as in claim 1, wherein said a subsequent time when transmit data for said data request is read from said host memory into said network adapter is 4 cell times from a current time when said priority vector is generated.
- 5. The system as in claim 1, wherein said a subsequent time when transmit data for said data request is read from said host memory into said network adapter is 8 cell times from a current time.
- 6. The system as in claim 1, wherein said a subsequent time when transmit data for said data request is read from said host memory into said network adapter is 16 cell times from a current time.
- 7. The system as in claim 1, wherein said a subsequent time when transmit data for said data request is read from said host memory into said network adapter is 32 cell times from a current time.
- 8. A method for arbitrating between multiple requests for a shared resource, comprising the steps of:determining a priority of each request in a first request class, said first request class consisting of transmit data requests to use said shared resource, by generating a priority vector associated with each transmit data request, higher values of said priority vector indicating higher priority, said priority vector including a predicted latency field, a contents of said predicted latency field equal to a time period estimated to have elapsed since a last previous transmission on a virtual circuit associated with said each transmit data request at a subsequent time when transmit data for said data request is read from a host memory into a network adapter, and by comparing said priority vector of each said request in said first request class; determining a high or a low priority of each request in a second request class, said second request class consisting of receive data requests to use said shared resource; selecting, responsive to said first determining means, a first selected request equal to one or said requests in said first request class having a highest priority; selecting, responsive to said second determining means, a second selected request equal to one of said requests in said second request class having a high priority; and choosing between said first selected request and said second selected request based on a 1 of N round robin arbitration, said second selected requested selected once every N times said shared resource is available, and N is a predetermined integer.
RELATED APPLICATION(S)
This application is a Continuation Application of U.S. patent application Ser. No. 08/335,538 filed Nov. 7, 1994, now U.S. Pat. No. 5,881,313, the entire teachings of which are incorporated herein by reference.
US Referenced Citations (8)
Continuations (1)
|
Number |
Date |
Country |
| Parent |
08/335538 |
Nov 1994 |
US |
| Child |
09/206200 |
|
US |