Netflix (Netflix) to optimize the FreeBSD network stack, increased by more than twice the performance on AMD EPYC

2019 European BSD General Assembly (EuroBSDcon 2019) Drew Gallatin employees in Norway held from Netflix introduced the company to optimize the network stack on FreeBSD. In order to make video stream before Netflix reached on Intel Xeno and AMD EPYC server 200Gb / s and continuous force, and now they finally transfer rate of 190Gb / s, it has also found in AMD EPYC Naples / Rome twice as many servers potential growth, and far more than Intel.

Netflix has always been known for using FreeBSD as a data center server systems, especially in high-performance networks where more so. But because you want to achieve network performance 200Gb / s on a single server, so it is optimized so that they started in the network stack unit NUMA FreeBSD. Key cache space allocated on the local NUMA memory kernel TLS, and transfer files using sendfile, also belong to their optimum range. Nginx also easily improved network connection processing and handling of inbound connections.

Just want to see if the results look here, NUMA on FreeBSD Netflix optimization, so that the transmission rate on the Intel Xeno server growth from 105Gb / s to 191Gb / s, and NUMA bus occupation rate from 40% to 13%.

AMD EPYC performance is even more impressive, the growth from 68Gb / s to 194Gb / s. In other words, EPYC Xeno than initially slow, but now the AMD EPYC Netflix servers closer to the target than Intel and 200Gb / s of.

Not only because EPYC faster, but also grateful that, because each has 128 slot PCIe transmission channel, so they can gain the ability to use two Intel Xeon CPU in a slot. On the other hand, Netflix also criticized AMD's tool for this purpose is too scarce (even on Linux, too).

最终,Netflix现在可以在每台FreeBSD服务器上达到200Gb/s的加密视频流传输率了。详情可见这篇幻灯展示

Guess you like

Origin www.oschina.net/news/111598/netflix-numa-freebsd-optimized