Claims
- 1. A method for dynamically calculating a maximum allowable time interval which can lapse between peripheral component events before an interrupt is generated, said method comprising the steps of:a) calculating a ratio of first interrupts to various other interrupts, wherein one of said first interrupts is generated due to a selected time period elapsing between the occurrence of successive peripheral component events; and b) using said ratio to compute a second selected time period which must elapse between said occurrence of said successive peripheral component events in order to generate one of said first interrupts.
- 2. The method for dynamically calculating a maximum allowable time interval which can lapse between peripheral component events before an interrupt is generated as recited in claim 1 wherein said step a) comprises the steps of:a1) measuring the quantity of said first interrupts generated due to said selected time period elapsing between said occurrence of said peripheral component events; a2) measuring the quantity of second interrupts generated due to a selected quantity of said peripheral component events occurring; a3) measuring the quantity of third interrupts generated due to one of said peripheral component events having been stored longer than a second selected time period; and a4) calculating the ratio of said first interrupts to the sum of said first interrupts, said second interrupts, and said third interrupts.
- 3. The method for dynamically calculating a maximum allowable time interval which can lapse between peripheral component events before an interrupt is generated as recited in claim 1 wherein steps a-b) are performed by a peripheral component driver operating at least partially on said host computer.
- 4. The method for dynamically calculating a maximum allowable time interval which can lapse between peripheral component events before an interrupt is generated as recited in claim 1 wherein steps a-b) are performed by a network interface card driver operating at least partially on said host computer.
- 5. The method for dynamically calculating a maximum allowable time interval which can lapse between peripheral component events before an interrupt is generated as recited in claim 1 wherein steps a-b) are periodically repeated such that said maximum allowable time interval is periodically refreshed.
- 6. 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) calculating a ratio of first interrupts to various other interrupts, wherein one of said first interrupts is generated due to a selected time period elapsing between the occurrence of successive peripheral component events; and b) using said ratio to compute a second selected time period which must elapse between said occurrence of said successive peripheral component events in order to generate one of said first interrupts.
- 7. The computer readable medium as described in claim 6 wherein said step a) of said computer implemented method stored on said computer readable medium comprises the steps of:a1) measuring the quantity of said first interrupts generated due to said selected time period elapsing between said occurrence of said peripheral component events; a2) measuring the quantity of second interrupts generated due to a selected quantity of said peripheral component events occurring; a3) measuring the quantity of third interrupts generated due to one of said peripheral component events having been stored longer than a second selected time period; and a4) calculating the ratio of said first interrupts to the sum of said first interrupts, said second interrupts, and said third interrupts.
- 8. The computer readable medium as described in claim 6 wherein steps a-b) 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.
- 9. The computer readable medium as described in claim 6 wherein steps a-b) 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.
- 10. The computer readable medium as described in claim 6 wherein steps a-b) of said computer implemented method stored on said computer readable medium are periodically repeated such that said maximum allowable time interval 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 Time Between Succeeding Peripheral Component Events”, filed Jan. 26, 1999, having U.S. Ser. No. 09/238,652.
US Referenced Citations (17)
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09/238652 |
Jan 1999 |
US |
Child |
09/258500 |
|
US |