4 ms·
Optimizing the kernel to saturate a 100Gbps link (2017)
- syoc 5y agohttps://people.freebsd.org/~gallatin/talks/euro2019.pdf https://people.freebsd.org/~gallatin/talks/euro2019.pdf https://people.freebsd.org/~gallatin/talks/euro2021.pdf https://people.freebsd.org/~gallatin/talks/euro2021.pdf More recent versions by the same author. HN article on the most recent one with comments from the author.
- ComputerGuru 5y agoI’ve come across those but - perhaps because they’re just slides - they really don’t go into the same depth the 100Gbps article does. They’re amazing resources but a little more high level and feature very little kernel hacking.
- jaytaylor 5y agoNovel concept: Include the described link so every curious soul doesn't have to dig. https://news.ycombinator.com/item?id=28584738 https://news.ycombinator.com/item?id=28584738 Just sayin', clickable links are pretty nice.
- walrus01 5y agoone of the things I worry about is that with mellanox now being owned by nvidia, they're going to be much more hostile in the future to having real open source full capability drivers for the linux and freebsd kernels. the drivers you can download from the mellanox website to build them as DKMS modules already have absurd licenses.
- lostlogin 5y agoWell, this comment made my day worse. Second-hand 10gb Mellanox cards off eBay are a minor addiction of mine, and can be as inexpensive as US$10 of a good day. Utterly pointless for me, and so good.
- kierank 5y agoThe main driver tarball is GPL. All the tarballs are too complex to follow though, we extract them one by one here: https://github.com/OpenBroadcastSystems/mlnx-driver https://github.com/OpenBroadcastSystems/mlnx-driver
- gigatexal 5y agoI love that Yahoo showed FreeBSD love and so does Netflix.
- moonbug 5y agoI'm surprised they keep the kernel in the critical path, rather than driving the NIC from usersoace.
- wmf 5y agoUserspace isn't magic. (Unfortunately the "userspace networking" people have done a poor job of explaining it.) When you're serving static files like Netflix, you want the storage drivers, filesystem, cache, network stack, and NIC drivers to be in the same address space. Whether that address space is userspace or kernel is not that important.
- chriscappuccio 5y agoKey point here!
- vlovich123 5y agoKind of important from a security/stability perspective, no?
- wmf 5y agoIf there was a userspace I/O stack that's as well-tested as FreeBSD there might be a security advantage, but there isn't.
- walrus01 5y agore: 2017 vs late 2021 in x86-64 100Gbps hardware, lots has changed. one of the biggest differences is that PCI-E 4.0 100Gbps cards (dual port) now exist. https://newsroom.intel.com/wp-content/uploads/sites/11/2021/04/Intel-Ethernet-Adapter-e810-2cqda2-Product-Brief-590434.pdf https://newsroom.intel.com/wp-content/uploads/sites/11/2021/... and systems with more than 16 or 20 PCI-E 3.0 lanes are not so ridiculous in price.
- lmeyerov 5y agoEvery time I'm on a box with 1+ GPUs and 10-100GB/s of PCIe, I keep thinking, "we'll give you more after you've used what we've got". New tech like GPU Direct is amazing, and while the tools are surprisingly easy, the real work is getting sw archs to have individual parts think in 100GB/s. Exciting times!
- ksec 5y agoIn the context of Netflix, Intel NIC doesn't seems to offers kTLS acceleration?
- ChrisArchitect 5y agoWhy post this again? Something new? Lots of previous discussion at original URL: https://news.ycombinator.com/item?id=15367421 https://news.ycombinator.com/item?id=15367421