Re: [9fans] Why is the tcp/ip stack of plan9 implemented in kernel?

2018-01-27 Thread Nick Owens
it used to be in userspace, but i believe it was moved to the kernel for performance reasons. the remaining evidence of the ip stack in the kernel lives on in (at least) 9front's sysproc.c, where sysexec raises the process priority if the program is "/ip", which i assume would be the tcp/ip stack

Re: [9fans] Why is the tcp/ip stack of plan9 implemented in kernel?

2018-01-27 Thread Steve Simon
in early versions of plan9 the tcp/ip stack in Streams, inherited (I assume) from V10. This turned out not to be as clean nor as efficent as hoped and this was dropped for a more traditional implementation in later releases. Maybe the bad experiences of poor performance informed the decision for

Re: [9fans] Why is the tcp/ip stack of plan9 implemented in kernel?

2018-01-27 Thread FJ Ballesteros
VSTa had a design heavily inspired by 9 and had the net stack at user level. It was fun to play with it, long ago. > El 27 ene 2018, a las 8:04, lchg escribió: > > In plan9, many os components are moved to user space, even disk file system. > But the tcp/ip stack is an exception, what's the c