If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
15Gbps between container and host is still a little low, considering NICs are touching 200Gbps now. Now I understand why performance people hate the kernel networking stack so much.
15Gbps between container and host is still a little low, considering NICs are touching 200Gbps now. Now I understand why performance people hate the kernel networking stack so much.
Don't confuse wire speeds with actual transfer speeds. They are worlds apart.
Look here. Lets abuse stuff in a mindgame just for the fun of it.
At minimal UDP packet size a 100Mbit Ethernet can create 148k8 packets per second.
A 1GBit link 1,488Mpps. * 100 ~ 150Mpps.
A packet needs to traverse the entire firewall stack, packet identification and placement,
the entire routing stack, traffic control and queueing before leaving on the NIC driver.
Now assume only 1 Mpps on say a quad core with 3GHz CPUs
(12G cycles available. Very simplistic, reduction for all complexities).
That would mean that you have 12000 cycles per packet,
excluding all context switches, load/branch misses, pagefaults,
interrupt handling, a zillion other tasks etc.
Also. TCP is more complex than UDP.
Usually, the packet rate is more of a problem than the packet size.
The sheer administration that happens for each and every packet in a modern stack is pretty mind-boggling.
Now up that rate to 100 Mpps and that poor box now has 120 cycles per packet to play with.
Yeah. You realize the issue at hand here? The problem blows up. Right in your face.
A protocol stack in an OS, that literally has more features than you can shake a stick at,
is not going to shuffle data events (packets) at ludicrous speeds.
Harsh reality.
Last edited by milkylainen; 16 October 2020, 03:28 PM.
Comment