8 ms·
There are 2,700 ways to arguably lose a packet within the kernel and 6/10th of 1% are reported to the log. One thing I’ve noticed is that introducing another f
by egberts1 5y ago
There are 2,700 ways to arguably lose a packet within the kernel and 6/10th of 1% are reported to the log.
One thing I’ve noticed is that introducing another function argument can alter tightly written loops and calls (also known as introducing instruction-cache busting).
I am quite sure Jen Axboe has something to say about this while he is busy pushing the Linux kernel toward multi-million IO and packet processing throughout.
- rwmj 5y agoError/packet-drop paths can be moved to a cold path outside of hot loops using if(unlikely(...)), although I agree that does require analysis & code modifications.