4 ms·
Interesting that using vETH and NAT causes around 20% extra latency and around 20% less throughput. Is this expected from these technologies? I was expecting t
by tinco 12y ago
Interesting that using vETH and NAT causes around 20% extra latency and around 20% less throughput. Is this expected from these technologies?
I was expecting them to have no significant impact at all, since surely the hardware NIC would be the bottleneck? perhaps the kernel is doing some memcpy'ing to achieve these features?
Then again, 10gbps NIC is quite fast, perhaps this performance losses are less significant with more reasonable 100mbit/1gbit interfaces?
- zdw 12y agoNAT requires each and every packet to be rewritten with different source (or destination, or both, depending on the flavor) IP addressing information, so it isn't just a simple copy. Drivers and sanity checking what's going in/out of the VM probably account for the rest. Hardware may be fast but adding layers of complexity will have a performance impact.