Re: 2.2.5 optimizations for web benchmarks?

Philip Blundell (philb@gnu.org)
Mon, 26 Apr 1999 22:07:43 +0100


>How would a pthread-based web server be any faster than apache's
>multi-process model? Linux pthreads are all kernel processes, so
>don't you have the same context switching penalty?

No. Switching between threads is a less heavyweight operation; on some
machines very much so. Since they all have the same memory mapping there is
no need to invalidate TLBs or virtually-indexed caches.

p.

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