Serving Netflix Video at 400Gbps on FreeBSD by Drew Gallatin
EuroBSDConCited 4× on HN, 2021–2024
talk · advanced · 2021–2024 on HN
Netflix engineer Drew Gallatin explains how Netflix serves TLS-encrypted video at 400Gb/s from a single FreeBSD server. He covers NUMA, kernel TLS, hardware TLS offload and the memory bandwidth and PCIe bottlenecks they hit.
HN cites it as a prime example of FreeBSD tuned for extreme network performance at massive scale.
Up next
9 mo on HNHarder Drive: Hard drives we didn't want or need
suckerpinch
12 HN recommender · 2022–2025
9 mo on HNThis Video Is Sponsored By ███ VPN
Tom Scott
9 HN recommender · 2019–2026
6 mo on HNA New Way to look at Networking
Google
6 HN recommender · 2011–2018
6 mo on HNNet Neutrality: Last Week Tonight with John Oliver (HBO)
LastWeekTonight
7 HN recommender · 2014–2017
4 mo on HNCharacters, Symbols and the Unicode Miracle - Computerphile
Computerphile
4 HN recommender · 2014–2025
5 mo on HN8 Frames in 16ms: Rollback Networking in Mortal Kombat and Injustice 2
GDC Festival of Gaming
4 HN recommender · 2020–2025
4 mo on HNA New Way to look at Networking
GoogleTalksArchive
4 HN recommender · 2012–2025
4 mo on HNWhy SpaceX is Making Starlink
Real Engineering
4 HN recommender · 2019–2020
3 mo on HNAWS re:Invent 2015 | (NET403) Another Day, Another Billion Packets
Amazon Web Services
3 HN recommender · 2017–2020
3 mo on HNEmail Hates the Living
m
3 HN recommender · 2015–2022
3 mo on HNRicardo Signes - 闇のEメール伝説
yapcasia
3 HN recommender · 2011–2021
3 mo on HNDefeating Ssl Using Sslstrip (Marlinspike Blackhat)
TheSecurityTube
3 HN recommender · 2014–2018
4 comments from Hacker News
Your comment suggests that FreeBSD is a thing of a past and no longer capable of "quality networking", due to poor WiFi support. I can only agree with the poor WiFi support part. But WiFi is by no means something you can judge networking stack dedicated for servers. FreeBSD was never designed for consumer hardware networking. There were a few "desktop distros" but all have more or less died, and the few FreeBSD-based "storage distros" moved to Linux after FreeBSD changed its upstream for ZFS. And I'm saying this as someone who made a lot of effort to use FreeBSD on laptop over the years, and a current user of 15.0-CURRENT on ThinkPad. But FreeBSD was and is THE choice for high-bandwidth wired networking. Netflix is both an early adopter and an active contributor to FreeBSD's networking codebase. They hack FreeBSD[0] to achieve cool numbers over and over[1][2]. Intel's device mentioned by you - AX200 - works "fine" on my ThinkPad, for a few months now. The device was on supported hardware list for more than a year prior, but the actual driver wasn't covering all vendor/device id pairs (different flavors of hardware or behavior all known as "the same" chip; this is a major problem with consumer devies since chip outages started). That said, by "fine" I mean that I can use the card and finally can connect to 5GHz networks and avoid disruptions related to 2.4GHz congestion. But FreeBSD is still incapable of utilizing speeds offered by modern WiFi specifications. Even with 5GHz co
Discussion of the same presentation 11 months ago, when the title was 400GB/s. link This was the video which was posted back then alongside the slides: ▶ this video
I'd say being actively used to run the largest streaming service on the planet makes you pretty relevant. ▶ this video
This is my EuroBSDcon talk from 2 years ago. The more recent one (about getting to 400G) is up now at ▶ this video