Date: Thu, 24 Jun 1999 12:18:16 -0400 From: Dan Moschuk <dan@trinsec.com> To: hackers@freebsd.org Subject: Beating system usage down Message-ID: <19990624121816.A17448@trinsec.com>
next in thread | raw e-mail | index | archive | help
Greetings, A machine that I hold very close under my wing has been very contently chugging along for the last few months with practically no idle processor. However, I noticed that the CPUs are spinning a lot of cycles in the system area. CPU states: 5.5% user, 0.0% nice, 88.9% system, 4.0% interrupt, 1.6% idle First, some background. The machine is a Dual P2-450 with 1GB of RAM. It runs apache, and currently handles 90 hits a second, with each of those hits spawning various CGIs (one per hit) that completes in under a second. My first theory was that the kernel was uselessly spinning in various record locks via fcntl(). However, as a test I removed all file locking from the various CGIs and noticed no change in the system usage. My second theory was the overhead with the SMP code. So, I removed it from the kernel and ran a single CPU box for a few minutes. The system usage went down to around 60%, but the system was noticeably slower. Any ideas? Regards, Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990624121816.A17448>