httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <>
Subject Re: select vs. threads vs. fork
Date Mon, 19 Apr 1999 15:31:45 GMT
On Mon, 19 Apr 1999, Nitin Sonawane wrote:

> Hi,
>     This 'great performance' argument has always puzzled me. While
> running in a single process, everytime you make a system call, youd get
> context switched or BLOCKED at the kernel's discretion. Take a simple
> example of the open system call. Wouldnt the kernel block you while each
> directory in the path is being read, searched, the inode looked up, and
> the inode read in. Where does the high performance come from?

Caching the whole document tree and only having to deal with network IO.
That is, after all, what most current benchmarks are about.

View raw message