3 ms·
I've only poked at the FreeBSD TCP stack and not the Linux stack, but it seems like if the problem is locking, you should be able to get good results from worki
by toast0 10y ago
I've only poked at the FreeBSD TCP stack and not the Linux stack, but it seems like if the problem is locking, you should be able to get good results from working on the locking (finer grained locks / tweaking parameters) in less time than building a full tcp stack.
What kind of limitations are people seeing with the Linux kernel? If I'm interpreting Netflix's paper[1] correctly, they could push at least 20 Gbps of unencrypted content with a single socket E5-2650L (document isn't super clear though, it says they were designed for 40Gbps). My servers usually run out of application CPU before they run out of network -- but I've run some of them up to 10Gbps without a lot of tuning.
[1] https://people.freebsd.org/~rrs/asiabsd_2015_tls.pdf https://people.freebsd.org/~rrs/asiabsd_2015_tls.pdf Context is accelerating https downloads, but some decent numbers anyway.
- mioelnir 10y agoUnencrypted Netflix pushes 80~90+ GBit/s from their most recent OpenConnect revisions. [1] https://twitter.com/ed_maste/status/655120086248763396 https://twitter.com/ed_maste/status/655120086248763396 [2] https://twitter.com/scott4long/status/656219076629368832 https://twitter.com/scott4long/status/656219076629368832 [3] https://twitter.com/facepalm_tar_gz/status/710668912673751040 https://twitter.com/facepalm_tar_gz/status/71066891267375104... [4] https://media.netflix.com/en/company-blog/how-netflix-works-with-isps-around-the-globe-to-deliver-a-great-viewing-experience https://media.netflix.com/en/company-blog/how-netflix-works-...
- yxhuvud 10y agoGbps is not created equal. Traffic with many small packets takes a lot more resources compared to traffic with fewer but bigger. Netflix packages would be as big as they come.
- toast0 10y agoAh, I'm also dealing with large packets, generally.
- bogomipz 10y agoYes, in fact for things like Juniper/Cisco firewalls they will always quote PPS in full MTU packets. If you want to bring that shiny new firewall to its knees try sending it traffic with the minimum MTU of 68 bytes at line rate for the NIC.