Re: [RFD] Combined fork-exec syscall.

From: Davide Libenzi (davidel@xmailserver.org)
Date: Sun Apr 27 2003 - 21:38:59 EST


On Sun, 27 Apr 2003, dean gaudet wrote:

> On Sun, 27 Apr 2003, Mark Grosberg wrote:
>
> > I would think on large, multi-user systems that are spawning processes all
> > day, this might improve performance if the shells on such a system were
> > patched.
>
> more relevant is a large multithreaded (or async model with many
> connections per thread/process) webserver spawning cgi. otherwise you pay
> the costs of duplicating the mm and even if you use F_CLOEXEC (which has a
> cost-per-connection) you have to pay for scanning the open fds.

This might be the only edge of such new syscall IMO. Processes with
hugh file tables. Not the MM stuff, that is fine with vfork().

- Davide

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:28 EST