lkml.org 
[lkml]   [2003]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFD] Combined fork-exec syscall.
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.

if you look at such webservers they tend to have a separate process just
for the purpose of spawning cgi/etc. and use some IPC to pass the data to
the cgi spawner.

-dean
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [from the cache]
©2003-2011 Jasper Spaans