in the project I'm working on, we see problems with a non-standard order in certain circumstances in the SMP system when we read a UDP stream from the network. We see that it is coming from the network in order, sniffing the hub connected between the sender and receiver. However, sometimes, apparently, it crashes when reading from a socket. Is there any guarantee for UDP packets in this case or should the application implement a reorder buffer? We do not establish the proximity of the processor here, I suspect that this may help, but ideally I would like all CPU / hw threads to handle network traffic.
linux linux-kernel udp smp
tylernol
source share