Welcome to WebmasterWorld Guest from 54.225.6.131

Forum Moderators: open

Message Too Old, No Replies

Server Load and CPU Usage

     
11:36 pm on Aug 16, 2010 (gmt 0)

New User

5+ Year Member

joined:Oct 1, 2007
posts: 19
votes: 0


Hi all,

I have a web server with a single CPU processor.
Two questions:

1. Does the Load average seem ok, or should I upgrade to dual CPU's

2. How can the CPU usage remain so low when the load average is clearly spiking ?

[i34.photobucket.com ]

[i34.photobucket.com ]

Thanks
6:11 am on Aug 17, 2010 (gmt 0)

Senior Member from KZ 

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 10, 2005
posts: 2895
votes: 5


Hi BassTeQ2,

CPU usage and load average are two different items. The load average is the average number of processes which are in a state that they could run, but they don't necessarily use the CPU at that moment. Processes which are waiting for disk I/O are counted in the load average for example but they don't use the CPU.

On systems with a lot of I/O you can therefore have a high load average with an almost idle CPU. If the CPU usage stays far below 100% continuously there is no reason to upgrade the CPU. But if the load average stays often above about three times the number of CPU cores, you may want to optimize your system. In many circumstances optimizing the I/O hardware (adding a RAID controller with battery backed up write cache for example) will have more effect on the load average than adding more CPU power.
3:38 pm on Aug 18, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member wheel is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 11, 2003
posts:5069
votes: 12


And the short answer is, those numbers look fine, I wouldn't upgrade.

If you need to upgrade, it's normally obvious by slow loading web pages. I expect your web pages are loading fine.

Many years ago my numbers were basically idle all the time - anything over 1 or 2% load was rare. Today my server (which does have multiple CPU's) floats at roughly what yours does, and I have no intentions of upgrading - even though the server is probably 5+ years old.
11:38 pm on Aug 18, 2010 (gmt 0)

New User

5+ Year Member

joined:Oct 1, 2007
posts:19
votes: 0


Thanks for the replies, greatly appreciated!
10:19 pm on Aug 19, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member wheel is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 11, 2003
posts:5069
votes: 12


Actually this thread prompted me to check. Looks like the server is actually about 6 to 6.5 years old. And it wasn't top of the line then, though it wasn't bad. Still chugging along no problems. Looks like I can get them used now for $250. That's a drop of 10 fold from when I bought them!
9:19 am on Aug 20, 2010 (gmt 0)

Senior Member from KZ 

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 10, 2005
posts:2895
votes: 5


After 6 years you may slowly run into component life time problems. Mechanical components like the disks and fans are probably the first to fail. But besides that, older single core systems like the one the OP mentions are performance wise good enough for most web serving tasks.