2 ms·
Is there no way to avoid kernel copying all network data? I understand the frustration of having the network driver crash but could it not be run in a way that
by bullen 4y ago
Is there no way to avoid kernel copying all network data?
I understand the frustration of having the network driver crash but could it not be run in a way that it doesn't bring down the OS?
It seems to me Java would have a no-brainer advantage of a user-space networking option since you're already in a VM!?
When I saturate my HTTP server the kernel takes 30% of the CPU just copying data for no good reason?!
- wmf 4y agoIt's happening. https://lwn.net/Articles/879724/ https://lwn.net/Articles/879724/
- dundarious 4y agoYes, and also just to note, zero-copy and kernel-bypass are independent. Traditional Berkeley socket syscalls are copy+kernel, io_uring has/will have zerocopy+kernel, openonload provides both APIs for copy+kernelbypass and zerocopy+kernelbypass.