News for hackers. Stuff that matters.
Re:Android removes much of Fuchsia-related code as Starnix p... by staticassertion on Saturday July 16, 2022 @04:12AM (#32116135)
https://gvisor.dev/docs/architecture_guide/performance/

https://gvisor.dev/docs/architecture_guide/performance/#netw...

Network performance in gvisor is awful and, by gvisor's own documentation, this is a matter of "implementation costs" ie: it is how gvisor is written, not gvisor's fundamental constructs, that makes it slow.

The rest of the benchmarks are notable as well, there are a few other places where the implementation is called out as being a problem.

Re:Android removes much of Fuchsia-related code as Starnix p... by saurik on Saturday July 16, 2022 @05:22AM (#32116408)
So maybe they should team up and work on replacing gVisor with something that shares as much code as possible with this new thing, which one would hope would be architected in a way to be able to help replace gVisor?
Re:Android removes much of Fuchsia-related code as Starnix p... by surajrmal on Saturday July 16, 2022 @02:04PM (#32120405)
Not everything needs to be molded into a common base that serves the needs of all. Fuchsia has different constraints than the ones gvisor is written for and choosing to not try to morph gvisor into something it doesn't want to be is okay. Optimizing to solve problems should be the goal. Sharing code is nice to have where it makes sense.
Re:Android removes much of Fuchsia-related code as Starnix p... by saurik on Saturday July 16, 2022 @05:48PM (#32122286)
The context here was that gVisor was a suboptimal way to solve the problem and they know that... so I am not sure in what point you are trying to make by saying people can optimize to solve problems unless you actually mean people can optimize to not solve problems.
Re:Android removes much of Fuchsia-related code as Starnix p... by staticassertion on Saturday July 16, 2022 @06:45AM (#32116795)
Or maybe not?
Re:Android removes much of Fuchsia-related code as Starnix p... by saurik on Saturday July 16, 2022 @05:50PM (#32122296)
Yeah, of course: if you are the kind of company that like a having tens of thousands of engineers working on five different versions of the same thing, with one team explicitly working on solving a problem another team has but without helping them as that's some combination of not-fun and not-promotion-worthy, you can of course do whatever you want.
Re:Android removes much of Fuchsia-related code as Starnix p... by staticassertion on Saturday July 16, 2022 @05:54PM (#32122322)
Or they have context that helped them decide to do something this way?
Re:Android removes much of Fuchsia-related code as Starnix p... by saurik on Saturday July 16, 2022 @06:03PM (#32122369)
lol, sure.
Re:Android removes much of Fuchsia-related code as Starnix p... by staticassertion on Saturday July 16, 2022 @07:12PM (#32122810)
Some obvious context from an outsider:

1. It's designed to run on Fuschia, not Linux

2. Go FFI is very inefficient, you can't just "extend" a Go project with native bindings and get the same performance wins

3. Hopefully the gvisor team learned the obvious lesson that Go is not suitable for this kind of work

Re:Android removes much of Fuchsia-related code as Starnix p... by orf on Saturday July 16, 2022 @04:34PM (#32121709)
Why?