3 ms·
sendfile() has done zero-copy networking for a while (the data still goes through main memory and it gets DMAed twice, but the cores don't touch it). More recen
by wmf 7y ago
sendfile() has done zero-copy networking for a while (the data still goes through main memory and it gets DMAed twice, but the cores don't touch it). More recently, NVMe controller memory buffers should allow data to be DMAed from the SSD to the NIC without hitting RAM and it looks like Linux is adding support for it using the p2pdma subsystem.