Packet processing efficiency based interrupt rate determination
AssigneeVMware, Inc.
InventorsShu Wu, Michael Li, Zongyun Lai
Life of this patent
Estimating the term…
Abstract
Interrupt rate determination can include instructions to determine a quantity of instances of packet processing by an operating system during a first period of time, each instance corresponding to a particular interrupt request sent by a device, determine a quantity of bytes processed during the first period of time by the operating system, determine a speed of the device, determine a first interrupt rate to assign to the device for a second period of time based on the quantity of instances, the quantity of bytes processed, and the speed of the device during the first period of time, and set the interrupt rate to the device.
Claims18
A non-transitory machine-readable medium storing instructions which, when executed by a processing resource, cause the processing resource to:
- determine a quantity of instances of packet processing by an operating system during a first period of time, each instance corresponding to a particular interrupt request sent by a device;
- determine a quantity of bytes processed during the first period of time by the operating system;
- determine a speed of the device;
- determine a first interrupt rate to assign to the device for a second period of time based on the quantity of instances, the quantity of bytes processed, the speed of the device during the first period of time, and a cumulative initiation delay time and termination delay time for packet processing by the operating system during the first period of time;
- and
- set the interrupt rate to the device.
A system, comprising:
- a processing resource;
- and
- a memory storing instructions which, when executed by the processing resource, cause the processing resource to:
- determine a quantity of instances of packet processing by an operating system during a period of time, each instance corresponding to a particular interrupt request sent by a device;
- determine a quantity of bytes processed over the period of time by the operating system;
- determine a packet processing efficiency for the period of time based on the quantity of instances and the quantity of bytes processed;
- determine a packet processing rate for the period of time based on a speed of the device and the packet processing efficiency, wherein determining the packet processing rate includes dividing the speed of the device by the determined packet processing efficiency;
- determine an interrupt rate for the period of time based on the packet processing rate and a coefficient corresponding to a processing delay time;
- and
- set the interrupt rate to the device.
A method for determining an interrupt rate, comprising:
- determining a quantity of instances of packet processing by an operating system during a period of time, each instance corresponding to a particular interrupt request sent by a device;
- determining a quantity of bytes processed for a corresponding instance during the period of time;
- and
- determining an interrupt rate to assign to the device for a subsequent period of time responsive to the quantity of instances exceeding a quantity threshold, wherein determining the interrupt rate includes:
- determining a packet processing efficiency based on the quantity of instances and the respective lengths;
- determining a speed of the device;
- determining a packet processing rate based on the speed of the device and the packet processing efficiency;
- determining an interrupt rate based on the packet processing rate and a coefficient corresponding to a processing delay time;
- and
- modifying the determined interrupt rate responsive to the determined interrupt rate exceeding a threshold, wherein determining that the interrupt rate exceeds the threshold comprises determining that the interrupt rate is greater than a value, and wherein the method includes reducing the interrupt rate to the value.
Dependencies are inferred from the claim text.