Date: Sat, 12 Mar 2005 15:41:40 +0000 (GMT) From: Robert Watson <rwatson@FreeBSD.org> To: ray@redshift.com Cc: freebsd-performance@freebsd.org Subject: Re: performance modifications Message-ID: <Pine.NEB.3.96L.1050312153959.79601D-100000@fledge.watson.org> In-Reply-To: <3.0.1.32.20050310180051.00a7e908@pop.redshift.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Mar 2005 ray@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 > net.inet.tcp.recvspace=65535 > net.inet.tcp.sendspace=65535 > kern.ipc.somaxconn=1024 > > 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? > > Thanks! > > Ray > > > > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1050312153959.79601D-100000>
