News for hackers. Stuff that matters.
Re:FreeBSD 13.0 Beta1 Now Available by forty on Sunday February 07, 2021 @07:26AM (#26054562)
Hello,

I'm genuinely curious: why did you implement it in FreeBSD rather than Linux? Isn't that kind of offload something that already exists in Linux? Or does something in the way Linux is implemented/designed that makes it impractical / impossible to implement as efficiently? Or is somehow Linux not secure enough for your use case? Or not something else enough?

I'm asking because I'm always interested to know what are the practical limitations of Linux and also because, while I think it's nice that Linux had some serious competitors, I cannot help being a bit sad that contribution like this will only benefit the few people that use FreeBSD (even if to be fair, it seems that it will benefit all netflix customers at least, which is quite a few people ;) )

Re:FreeBSD 13.0 Beta1 Now Available by nix23 on Sunday February 07, 2021 @09:24AM (#26055202)
>I cannot help being a bit sad that contribution like this will only benefit the few people that use FreeBSD

Same could be said the other way around, the thing is Linux can implement it and even take the code, the other way is rather difficult....so much for freedom.

And not sure what you mean with "few" people, the few Playstation 3/4/5 users? Juniper? OpnSense/Pfsense installations? Or the few Truenas/Freenas users?

>Or not something else enough?

https://www.youtube.com/watch?v=KP_bKvXkoC4

Re:FreeBSD 13.0 Beta1 Now Available by forty on Sunday February 07, 2021 @09:43AM (#26055343)
I still expect the number to be pretty small compared to the number of Linux users, no matter how you define user (if playstation users counts as freebsd users, then I guess nearly everyone is a Linux user :) )

The point of the licence is a good point. Is the kind of code drewg123 is referring to regularly copied from BSD to Linux? (i understand it should be possible in this direction?).

Thanks for the video, looks like exactly what I was looking for, I will watch it later.

Re:FreeBSD 13.0 Beta1 Now Available by toast0 on Sunday February 07, 2021 @03:36PM (#26057980)
Most of the changes Netflix is making aren't really directly copyable. A lot of it is related to or tied to the virtual memory model, and Linux's model is different.

However, publicizing the ideas and the results is valuable to other operating systems even without the code. If you're building something on Linux (or Windows? or ?) that could benefit from kTLS (including NIC accelerated kTLS), knowing it can work and having a roadmap is great. You would still need to do the plumbing, but you could skip a lot of the design. Being able to look at the code is nice too.

And, if you're willing to try FreeBSD + nginx, you could jump directly to that. If you're deploying something with similar performance characteristics to a CDN box, it's probably a very narrow application, and doesn't need to run on the same stack as the rest of your fleet.

Re:FreeBSD 13.0 Beta1 Now Available by nix23 on Monday February 08, 2021 @02:41PM (#26069122)
>small compared to the number of Linux users

Not to mention all the Minix and NucleusRTOS Users ;)

Re:FreeBSD 13.0 Beta1 Now Available by forty on Monday February 08, 2021 @05:33PM (#26071187)
Haha exactly :) my own definition of a user of an operating system is someone who know what operating system they are using. So a playstation and a Netflix user would not count as freebsd users (they are not using FreeBSD, they are using a playstation). Netflix engineers are the FreeBSD users. Pfsense and freenas users certainly counts ;)