Claims
- 1. A method for dynamically calculating the maximum amount of time a peripheral component event can be stored before generating a corresponding interrupt, 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; 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; and e) using said quantity of said peripheral component events to coalesce to compute said maximum amount of time said peripheral component event can be stored before generating a corresponding interrupt.
- 2. The method for dynamically calculating the maximum amount of time a peripheral component event can be stored before generating a corresponding interrupt as recited in claim 1 wherein steps a-e) are performed by a peripheral component driver operating at least partially on said host computer.
- 3. The method for dynamically calculating the maximum amount of time a peripheral component event can be stored before generating a corresponding interrupt as recited in claim 1 wherein steps a-e) are performed by a network interface card driver operating at least partially on said host computer.
- 4. The method for dynamically calculating the maximum amount of time a peripheral component event can be stored before generating a corresponding interrupt as recited in claim 1 wherein steps a-e) are periodically repeated such that said maximum amount of time said peripheral component event can be stored before generating said corresponding interrupt 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 dynamically calculating the maximum amount of time a peripheral component event can be stored before generating a corresponding interrupt, 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; 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; and e) using said quantity of said peripheral component events to coalesce to compute said maximum amount of time said peripheral component event can be stored before generating a corresponding interrupt.
- 6. The computer readable medium as described in claim 5 wherein steps a-e) 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-e) 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-e) of said computer implemented method stored on said computer readable medium are periodically repeated such that said maximum amount of time said peripheral component event can be stored before generating said corresponding interrupt is periodically refreshed.
Parent Case Info
This Patent Application is a Continuation-in-Part of a commonly-owned, co-pending United States Patent Application entitled “Interrupt Optimization Using Storage Time For Peripheral Component Events”, filed Jan. 26, 1999, having U.S. Ser. No. 09/238,651.
US Referenced Citations (17)
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09/238651 |
Jan 1999 |
US |
Child |
09/258501 |
|
US |