<[EMAIL PROTECTED]> writes:

>    - Fork is a hard cost operation.
>
> To get an idea how hard fork() is for us, Gianluca did a simple test,
> on GNU/Hurd he got 312 forks/second, and on the same machine but in
> GNU/Linux, he got 8170 forks/second.

Roland and I many years ago came to the conclusion that the primary
cost of fork is the cost of scanning and duplicating the port space of
the task correctly.  We put on the task list the addition of a new
kernel RPC that would do the main job of that duplication in a single
context switch.

Thomas


_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to