Communication speed comparison between UDP sockets and UDP stack

Abstract

In my thesis, we will compare the UDP packet sending times, using two different communication protocols. The first protocol will use standard sockets and the second will use memory mapped files instead of sockets. In the latter case, there will among other things be the necessity to correctly handle the data received from the user space. The kernel space will have to construct a UDP frame and include the data it received from the user space in it. Then it will have to send the frame to its receiver. Using the protocol with sockets, we will have to open a socket and start communication. We will compare times spent for sending packets with different size and different number of packets between both communication protocols.