TRAFFIC-DEPENDENT ADAPTIVE INTERRUPT MODERATION
First Claim
1. A method for communications, comprising:
- receiving in a network interface controller (NIC) of a host computer incoming data packets from a network on multiple active rings;
measuring an average throughput rate of the incoming data packets over the active rings; and
for each ring among a plurality of the active rings;
measuring a respective throughput rate of the incoming data packets on the ring;
setting a respective interrupt moderation parameter of the ring responsively to a comparison of the respective throughput rate on the ring to the average throughput rate; and
issuing interrupts from the NIC to a central processing unit (CPU) of the host computer in response to the incoming data packets on the ring at a rate determined in accordance with the respective interrupt moderation parameter.
3 Assignments
0 Petitions
Accused Products
Abstract
A method for communications includes receiving in a network interface controller (NIC) of a host computer incoming data packets from a network on multiple active rings. An average throughput rate of the incoming data packets is measured over the active rings. For each ring among a plurality of the active rings, a respective throughput rate of the incoming data packets on the ring is measured, and a respective interrupt moderation parameter of the ring is set responsively to a comparison of the respective throughput rate on the ring to the average throughput rate. Interrupts are issued from the NIC to a central processing unit (CPU) of the host computer in response to the incoming data packets on the ring at a rate determined in accordance with the respective interrupt moderation parameter.
20 Citations
17 Claims
-
1. A method for communications, comprising:
-
receiving in a network interface controller (NIC) of a host computer incoming data packets from a network on multiple active rings; measuring an average throughput rate of the incoming data packets over the active rings; and for each ring among a plurality of the active rings; measuring a respective throughput rate of the incoming data packets on the ring; setting a respective interrupt moderation parameter of the ring responsively to a comparison of the respective throughput rate on the ring to the average throughput rate; and issuing interrupts from the NIC to a central processing unit (CPU) of the host computer in response to the incoming data packets on the ring at a rate determined in accordance with the respective interrupt moderation parameter. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. Apparatus for communications, comprising:
-
a central processing unit (CPU); a system memory; and a network interface controller (NIC), which is configured to receive incoming data packets from a network on multiple active rings and to issue interrupts to the CPU in response to the incoming data packets at a rate determined, for each ring, in accordance with a respective interrupt moderation parameter that is set for the ring, wherein the CPU is configured to measure an average throughput rate of the incoming data packets over the active rings and, for each ring among a plurality of the active rings, to measure a respective throughput rate of the incoming data packets on the ring, and to set the respective interrupt moderation parameter of the ring responsively to a comparison of the respective throughput rate on the ring to the average throughput rate. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer software product, comprising a non-transitory computer-readable medium in which program instructions are stored, which instructions, when read by a computer that includes a CPU and a network interface controller (NIC), which is configured to receive incoming data packets from a network on multiple active rings and to issue interrupts to the CPU in response to the incoming data packets at a rate determined, for each ring, in accordance with a respective interrupt moderation parameter that is set for the ring, cause the computer to measure an average throughput rate of the incoming data packets over the active rings and, for each ring among a plurality of the active rings, to measure a respective throughput rate of the incoming data packets on the ring, and to set the respective interrupt moderation parameter of the ring responsively to a comparison of the respective throughput rate on the ring to the average throughput rate.
Specification