Re:The CPU Cost of Networking on a Linux Host
by sleepydog on Friday May 15, 2020 @03:28PM
(#23196350)
It's not as bad as it sounds as a few of those transitions can be implemented via zero-copy APIs, so you're really just passing around pointers to shared memory.
[ Parent
| on HN ]
Re:The CPU Cost of Networking on a Linux Host
by dahfizz on Friday May 15, 2020 @03:40PM
(#23196485)
The transitions happen efficiently, but the packet still has to spend cpu time traversing the network stack at all 6 hops. So the packet moves all the way through the routing / natting tables of the host, and then very quickly ends up in the VM. Then has to traverse the whole routing / natting tables of the VM.....