Time to add another processor?

From: Brian Fox (bfoxfox_at_rohan.sdsu.edu)
Date: 09/29/03


Date: Mon, 29 Sep 2003 13:16:45 -0700

I'm administering a Redhat 7.3 box housed in a Compaq Proliant server with
an empty CPU socket. The system's only use is to run WebCT, which is online
educational software written in Perl and running on top of Apache.

Apache is maxing out at about 800,000 hits per day. The server's
"primetime" is from about 6:00 PM until 10:00 PM and it's getting hammered
by students. Problem calls have been coming in about slow response times,
seven minute delays, etc. Now a lot of this is start-of-term kind of
traffic, kind of like the college parking lot fiascos on opening day. So
it's tolerable to a point as it will settle down after a couple of weeks.
But if an additional processor would help, my department can probably muster
one up.

I wrote a short program to record system load at 20 second intervals (is
there a better way to do this?) that looks like this:
while ( getloadavg(loadavg,nelem) )
{
    cout << ....
    sleep(20);
}

1 min average peaked at 8.0
5 min average peaked at 3.5
15 min average peaked at 3.0.

Load average seems to be pretty mystical. I'm not sure what it means. Are
these blocked processes waiting for a CPU slice? Or could they be blocked
on IO?

If it's blocked processes waiting for CPU time, then it seems pretty obvious
that the additional processor would help. Correct?

By the way, there's zero chance of upgrading from Redhat 7.3. There's also
zero chance of scaling across multiple servers. There's a slim possibility
of moving it to a better box, though.

Thanks for your time and help,
Brian



Relevant Pages

  • Re: resource utilization / hardware selection
    ... Due to a known bug with this version of redhat linux, ... This is a simple sql,. ... Parallel query is only useful when you are striped your data across ... It takes 4 min. cpu utilization is %30 ...
    (comp.databases.oracle.server)
  • resource utilization / hardware selection
    ... Due to a known bug with this version of redhat linux, ... in size, has 20,000,000 rows both in redhat and sun ... This is a simple sql,. ... It takes 4 min. cpu utilization is %30 ...
    (comp.databases.oracle.server)
  • Re: dl145 opteron 250
    ... you'll need to reconfigure the OS for multiprocessor support. ... core chips - like 2 physical or 4 logical processors. ... A CPU chip containing multiple hyper-threaded or multi-core ... allowed to run Redhat ES with 2 dual-core chips. ...
    (comp.sys.ibm.pc.hardware.chips)
  • Re: New Motherboard Install
    ... I have brought up redhat after a moterboard and CPU change just fine. ... New MB with the same CPU, memory and disk. ... FC5 sorted everything out on the first boot. ...
    (Fedora)