发明名称 DETERMINING WHEN TO THROTTLE INTERRUPTS TO LIMIT INTERRUPT PROCESSING TO AN INTERRUPT PROCESSING TIME PERIOD
摘要 Provided are a computer program product, system, and method for determining when to throttle interrupts to limit interrupt processing to an interrupt processing time. Upon receiving interrupts from the hardware device, a determination is made as to whether a number of received interrupts exceeds an interrupt threshold during a interrupt tracking time period. If so, an interrupt throttling state is set to a first value indicating to only process interrupts during an interrupt processing time period. Interrupts from the hardware device are processed during the interrupt time period when the interrupt throttling state is set to the first value. Interrupts received from the hardware are masked during a processing of a scan loop of operations while the interrupt throttling has the first value and the interrupt processing time period has expired, wherein the masked interrupts are not processed while processing the scan loop of operations.
申请公布号 US2014195708(A1) 申请公布日期 2014.07.10
申请号 US201313734770 申请日期 2013.01.04
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Klein Steven E.;Van Patten Timothy J.
分类号 G06F13/24 主分类号 G06F13/24
代理机构 代理人
主权项 1. A computer program product for managing interrupts from a hardware device, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that is executed to perform operations in the network adaptor, the operations comprising: receiving interrupts from the hardware device; determining whether a number of received interrupts exceeds an interrupt threshold during a interrupt tracking time period; setting an interrupt throttling state to a first value indicating to only process interrupts during an interrupt processing time period in response to determining that the number of received interrupts exceeds an interrupt threshold; processing interrupts from the hardware device during the interrupt time period when the interrupt throttling state is set to the first value; and masking interrupts received from the hardware during a processing of a scan loop of operations while the interrupt throttling has the first value and the interrupt processing time period has expired, wherein the masked interrupts are not processed while processing the scan loop of operations.
地址 Armonk NY US