Dynamically self-adjusting polling mechanism
Abstract
A system and method is disclosed for preventing the loss of event messages due to message buffer overruns. A fixed vendor-specific buffer pool is loaded with log messages by firmware in an adapter. A service application periodically polls a device driver for messages in the buffer pool. The device driver responds with the number of messages stored in the buffer pool and the total number of buffers in the buffer pool. The service application then issues “get next message” requests to receive the stored messages. Once the buffer pool has been emptied, the service application writes the messages to a disk file. The service application then computes a percent utilization of the buffer pool, and if the percent utilization exceeds a predetermined threshold, an algorithm is employed for increasing the polling frequency. If the percent utilization is below the threshold, an algorithm is employed for decreasing the polling frequency.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 20.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system for storing selected vendor-specific messages generated in an adapter card coupled to a host computer into a disk file controlled by the host computer, comprising: logic resident on the adapter card for generating the vendor-specific messages and selecting certain types of the vendor-specific messages for logging; a fixed-size buffer pool in the host computer for receiving and storing the selected vendor-specific messages; and at least one processor in the host computer programmed for executing a service application in user space in the host computer to periodically poll the buffer po
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗