News for hackers. Stuff that matters.
Re:Nanos: A kernel designed to run only one application in v... by nix23 on Friday December 03, 2021 @12:04PM (#29432269)
Whats the difference to OSv?

https://github.com/cloudius-systems/osv

Re:Nanos: A kernel designed to run only one application in v... by dkjaudyeqooe on Sunday December 05, 2021 @12:52PM (#29451124)
See https://nanos.org/faq where there is a comparison table but it's not complete or out of date, because OSv website says:

"OSv supports many managed language runtimes including unmodified JVM, Python 2 and 3, Node.JS, Ruby, Erlang as well as languages compiling directly to native machine code like Golang and Rust"

This seems like a big deal on the Nanos side:

"Another big difference is that Nanos keeps the kernel/user boundary. In our testing removing the large process to process context switching that general purpose operating systems still removes quite a lot of the perceived cost in other systems. We keep the internal kernel <> user switch for security purposes. Without it page protections are basically useless as an attacker can adjust the permissions themselves with privileged instructions."

This would seem to me that they are slower than OSv.

Re:Nanos: A kernel designed to run only one application in v... by convolvatron on Friday December 03, 2021 @02:09PM (#29433887)
they look pretty similar from the outside

nanos is recently written for this particular use case and uses lwip for networking

osv looks like FreeBSD with some machinery around it to package single applications and run them on boot

Re:Nanos: A kernel designed to run only one application in v... by nix23 on Friday December 03, 2021 @03:03PM (#29434599)
>osv looks like FreeBSD with some machinery around it to package single applications and run them on boot

Just because ZFS? Because everything else is not from BSD's, it's a unikernel made to run on a hypervisor made to run linux-bin's, i really don't see a difference....or any plus to use nanos.

Re:Nanos: A kernel designed to run only one application in v... by convolvatron on Friday December 03, 2021 @07:13PM (#29437285)
I was just looking at the source, there are big hunks of freebsd kernel in there, but I don't know the real functional decomposition.

didn't suggest that nanos was better - if it does indeed use big hunks of freebsd code, that's had considerably more cooking time than nanos.

Re:Nanos: A kernel designed to run only one application in v... by dkjaudyeqooe on Sunday December 05, 2021 @12:42PM (#29451030)
OSv describes the project as BSD code with a Linux compatibility layer.

ZFS is optional.

Re:Nanos: A kernel designed to run only one application in v... by nix23 on Monday December 06, 2021 @05:12PM (#29466374)
> OSv describes the project as BSD code with a Linux compatibility layer.

Show me that.

There is one little bsd folder that's it:

https://github.com/cloudius-systems/osv/tree/master/bsd

Absolutely nothing written about BSD:

https://github.com/cloudius-systems/osv