High-speed message receiving method using polling mechanism
A message receiving, high-speed technology, applied in the direction of program startup/switching, multi-program device, digital transmission system, etc., can solve the problems of occupying CPU computing time and reducing system efficiency, so as to avoid interruption overhead and improve system efficiency Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0013] The present invention is a system combining software and hardware.
[0014] The software is responsible for allocating buffers for receiving messages. It needs to apply for a whole piece of memory with continuous physical addresses in the kernel as a buffer for receiving messages, and poll the hardware to check whether new messages arrive.
[0015] The hardware is responsible for receiving the message from the network, and transferring the message to the message buffer of the host memory, and notifying the software that a new message arrives by writing the register in the PCI space.
[0016] The PCI space registers related to message reception mainly include: message buffer address, length, read pointer for software to read messages from the buffer, and write pointer for hardware to write messages to the buffer.
[0017] The method and process of the invention receiving message are as follows:
[0018] (1) The PCI controller of the hardware network card registers the P...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 