rwatson at FreeBSD.org
Sat Mar 12 07:44:07 PST 2005
On Thu, 10 Mar 2005 ray at redshift.com wrote:
> I'm wondering if anyone on the list has a good source for the major
> sysctl settings and/or kernel settings that can be modified in order to
> bring up the performance level on a FreeBSD 5.3 machine that is used
> with apache under heavy load.
The first thing you want to do is to try to identify what factors are
bounding the performance of your box. A good way to start is by using the
"systat -vmstat 1" command, which will show you statistics snapshots on
various kernel performance characteristics. Among other things, this will
tell you where the majority of CPU time is being spent (system, interrupt,
user process, idle, etc), as well as interrupt loads, I/O loads, whether
the system is paging/swapping, and so on. This might help point at
whether you're hitting limits on processor or memory resources, disk
resources, and so on. A few snapshots of that would be helpful.
Robert N M Watson
> I've done all the common stuff:
> recompiled the kernel and stripped out unused drivers
> strip -s kernel file
> maxusers -> 256
> But I'm wondering if there are other areas (such as hard drive r/w buffers in
> the kernel and/or memory allocation) that can be readily increased that will
> have a positive impact which I am over looking.
> Any other areas I should be looking at and/or any ideas?
> freebsd-performance at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-performance-unsubscribe at freebsd.org"
More information about the freebsd-performance