re: Linux and Apache performance, Update

Dan Kegel (dank@alumni.caltech.edu)
Thu, 03 Jun 1999 09:55:33 -0700


Juergen,
thanks for keeping us informed!

First:
I saw one possible problem straight off:
you compiled Apache with
-D USE_FCNTL_SERIALIZED_ACCEPT
To get the benefit of the wake-one kernel patches,
you have to compile instead with
-DSINGLE_LISTEN_UNSERIALIZED_ACCEPT

As far as I know, the way you compiled Apache,
the kernel is still waking up all processes
("the thundering herd") when it should only
be waking up one. This hurts SMP performance.

Please have a look at the section "Suggestions
for future benchmarks" in
http://www.kegel.com/mindcraft_redux.html

Second: I see your load generating program uses
multiple processes, and you mention that it can't
generate enough load to really hit an SMP server hard.
Perhaps you should try a different load client, e.g.
http://www.acme.com/software/http_load/ It
might be able to load your server down more effectively.

Thanks,
Dan

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