Claims
- 1. A method for dynamically calculating the quantity of peripheral component events to coalesce, said method comprising the steps of:a) measuring the average latency associated with an interrupt generated corresponding to a peripheral component event; b) measuring a total overhead associated with recognizing said interrupt; c) receiving a selected goal value for a percentage of said total overhead caused by a host computer; and d) calculating the quantity of said peripheral component events to coalesce such that said percentage of said total overhead caused by said host computer is approximately equal to said selected goal value.
- 2. The method for dynamically calculating the quantity of peripheral component events to coalesce as recited in claim 1 wherein steps a-d) are performed by a peripheral component driver operating at least partially on said host computer.
- 3. The method for dynamically calculating the quantity of peripheral component events to coalesce as recited in claim 1 wherein steps a-d) are performed by a network interface card driver operating at least partially on said host computer.
- 4. The method for dynamically calculating the quantity of peripheral component events to coalesce as recited in claim 1 herein steps a-d) are periodically repeated such that said quantity of said peripheral component events to coalesce is periodically refreshed.
- 5. In a computer system having a processor coupled to a bus, a computer readable medium coupled to said bus and having stored therein a computer program that when executed by said processor causes said computer system to implement a method for efficiently servicing peripheral component events, said method comprising the steps of:a) measuring the average latency associated with an interrupt generated corresponding to a peripheral component event; b) measuring a total overhead associated with recognizing said interrupt; c) receiving a selected goal value for a percentage of said total overhead caused by a host computer; and d) calculating the quantity of said peripheral component events to coalesce such that said percentage of said total overhead caused by said host computer is approximately equal to said selected goal value.
- 6. The computer readable medium as described in claim 5 wherein steps a-d) of said computer implemented method stored on said computer readable medium are performed by a peripheral component driver operating at least partially on said host computer.
- 7. The computer readable medium as described in claim 5 wherein steps a-d) of said computer implemented method stored on said computer readable medium are performed by a network interface card driver operating at least partially on said host computer.
- 8. The computer readable medium as described in claim 5 wherein steps a-d) of said computer implemented method stored on said computer readable medium are periodically repeated such that said quantity of said peripheral component events to coalesce is periodically refreshed.
Parent Case Info
This Patent Application is a Continuation-in-Part of a commonly-owned, United States Patent Application entitled “Interrupt Optimization Using Varying Quantity Threshold”, filed Jan. 26, 1999, having U.S. Ser. No. 09/237,995.
US Referenced Citations (17)
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09/237995 |
Jan 1999 |
US |
Child |
09/258514 |
|
US |