> Zach, have you ever noticed such a performance bottleneck in your phhttpd?
yup, this is definitely something you don't want to be doing in the fast
path :)
> Any thoughts?
Sorry I don't remember the start of this thread, but I'll ask anyway;
have you looked at Ingo Molnar's Tux server? Its s
Dave, Zach,
thanks for your help, I've implemented a file descriptor passing mechanism
very similar to that of Zach's and it worked.
The problem now is performance, fd passing is utterly slow!
On my system (a 1GHz Pentium III + 2G RAM) I can do 1300 SpecWeb99 with a
khttp-like socket passing me
> Fantastic!
>
> I was not aware of it, sorry... where can I find some doc?
There are some patches in the apache source rpms in
http://www.zabbo.net/phhttpd/ that shows how apache can connect to
another daemon and get its incoming connections sockets from it.
phhttpd itself is pretty hairy code
Fabio Riccardi writes:
> How can Apache "grab" the file descriptor?
>
> My understanding is that file descriptors are data structures private to
> a process...
>
> Am I missing something?
Unix sockets allow one processes to "give" a file descriptor to
another process via a facility calle
Fantastic!
I was not aware of it, sorry... where can I find some doc?
- Fabio
"David S. Miller" wrote:
> Fabio Riccardi writes:
> > How can Apache "grab" the file descriptor?
> >
> > My understanding is that file descriptors are data structures private to
> > a process...
> >
> > Am I m
Fabio Riccardi writes:
> How could this be fixed?
Why not pass the filedescriptors to apache over a UNIX domain
socket? I see no need for a new facility.
Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message
How can Apache "grab" the file descriptor?
My understanding is that file descriptors are data structures private to
a process...
Am I missing something?
- Fabio
"David S. Miller" wrote:
> Fabio Riccardi writes:
> > How could this be fixed?
>
> Why not pass the filedescriptors to apache over
Hi,
I've been working for a while on a user-space web server accelerator (as
opposed to a kernel space accelerator, like TUX). So far I've had very
promising results and I can achieve performance (spec) figures
comparable to those of TUX.
Although my implementation is entirely sitting in user sp
8 matches
Mail list logo