摘要 |
A system for enhanced resource utilization includes a network interface with access to memory of a device, in communication with an operating system of the device. The system receives, from the operating system, an identification of a predetermined amount of the memory for a packet buffer, store multiple packets in the allocated memory. A total size of the multiple packets is smaller than or equal to the predetermined amount of memory. The system generates a status record for each received packet stored in the allocated memory, and stores the generated status records in the allocated memory. The system also allocates a socket buffer for each packet stored in the allocated memory such that the socket buffer has reference to the corresponding packet in the allocated memory. |
主权项 |
1. A method for enhanced resource utilization, comprising:
requesting, by a network driver of a device from an operating system executed by a processor of the device, allocation of a predetermined amount of memory of the device; receiving, by the network driver from the operating system, an identification of the allocated memory; storing, by a network interface, a first received packet in the allocated memory, the first received packet smaller than the predetermined amount of memory; and storing, by the network interface, a second received packet in the allocated memory, the second received packet smaller than a difference between the predetermined amount of memory and a size of the first received packet. |