4 ms·
Is there a GNU/Linux project equivalent of the netflix/freebsd sendfile? Besides this use case, what is your assessment of the linux (netfilter) vs bsd netstack
by arca_vorago 9y ago
Is there a GNU/Linux project equivalent of the netflix/freebsd sendfile? Besides this use case, what is your assessment of the linux (netfilter) vs bsd netstacks? What kernel is going to be at the center of faster and faster switch fabrics?
- Thaxll 9y agoSenfile is a syscall in the Linux kernel since 2003~~
- luckydude 9y agoI wrote up a hand wavy way of doing a generalized sendfile here: http://mcvoy.com/lm/papers/splice.pdf http://mcvoy.com/lm/papers/splice.pdf and linux took some of that. As I recall, they don't use it much because the user land apps (like web servers) end up touching the data for TLS (https). Netflix/FreeBSD are working with the NIC folks to get the byte by byte TLS pushed down in the card along with the TCP offload. I think they'll get there first because BSD is so heavily used by CDN people (not just Netflix, Limelight is very active in BSD as well).