A reworked TCP zero-copy receive API
A reworked TCP zero-copy receive API
Posted May 18, 2018 16:01 UTC (Fri) by zuzzurro (subscriber, #61118)Parent article: A reworked TCP zero-copy receive API
In particular what seems strange is the fact that (and I may be wrong on this) mmap has been knows to be quite slow (isn't this the reason why using mmap for cp never worked better than read/write?), and therefore the initial mechanism should have been spotted as suboptimal immediately....
Posted May 18, 2018 22:21 UTC (Fri)
by jhoblitt (subscriber, #77733)
[Link] (5 responses)
```
Posted May 19, 2018 11:48 UTC (Sat)
by grawity (subscriber, #80596)
[Link] (2 responses)
Posted May 19, 2018 13:50 UTC (Sat)
by jhoblitt (subscriber, #77733)
[Link] (1 responses)
Posted May 19, 2018 21:43 UTC (Sat)
by eternaleye (guest, #67051)
[Link]
Posted May 20, 2018 15:00 UTC (Sun)
by willy (subscriber, #9762)
[Link] (1 responses)
Posted May 20, 2018 18:03 UTC (Sun)
by zuzzurro (subscriber, #61118)
[Link]
http://lkml.iu.edu/hypermail/linux/kernel/0004.0/0728.html
But my question is really about the process, not about this particular instance.
A reworked TCP zero-copy receive API
strace cp foo bar |& grep mmap | wc -l
23
```
I'd say the performance requirements for mmapping a few dozen libraries once per exec don't come anywhere close to mmapping a million packets per second...
A reworked TCP zero-copy receive API
A reworked TCP zero-copy receive API
A reworked TCP zero-copy receive API
A reworked TCP zero-copy receive API
A reworked TCP zero-copy receive API