Home > OS >  The socket communication, to circumvent the send function copies the data from the user mode to kern
The socket communication, to circumvent the send function copies the data from the user mode to kern

Time:01-13

The current data source address from equipment mmap to user space, also has been to save A copy process step, and
But when testing found directly call the send function to address A sends out efficiency is slow, now want to skip the send function when sending system call context switch this step, do not know to have A good way to recommend the warrior,

My train of thought is best directly to A to address data to the network card driver (now also don't know how to achieve specific), but if it did not skip the TCP stack, the receiver how to receive and parse the data?

Thank you very much!
  • Related