Messages in this thread | | | From | (Linus Torvalds) | Subject | Re: 2.2.5 optimizations for web benchmarks? | Date | 16 Apr 1999 16:14:43 GMT |
| |
In article <m10Y5aH-0007TvC@the-village.bc.nu>, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote: > >> inode-max >> bdflush >> buffermem >> freepages >> kswapd >> pagecache >> Any other I'm missing ? > >You shouldnt need to touch those either.
Depending on what the benchmark is, some of these _can_ have a quite noticeable difference.
For example, if the benchmark consists of web-serving 50.000 different small files, you want to make sure that you can have all of them cached at the same time. So you probably want to increase inode-max quite noticeably.
I agree that you should not need to touch any of the values for any REAL WORLD benchmark. But some of them can certainly be an issue for the above kind of loads that aren't very realistic.
>Apache does fine with the default CPU affinity. You probably need to tune >the apache configuration more than anything else. You want the logging and >swap on a different disk to the pages and to the system preferably. For the >raid you want striping (obviously) and the raid howto/tools tell you how >to find the optimal stripe size.
And make sure you log as little as humanly possible. In particular, older versions of apache did reverse name lookups etc, which just killed performance.
>If you want to answer the question "how fast is linux as a web server" >consider benchmarking using Zeus (www.zeus.co.uk) too.
Yup,
Linus
- 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/
| |