Load average: How high is 'high'?
6 Replies
That's mine, while it was backing up too (aka heavy gzipping and gpging) backups are between half and 1 gig linode 512
A load average of 4 on a quad CPU system isn't necessarily high; it's not inherently much worse than a load average of 1 on a single CPU machine.
The part about disk I/O, however, is important. If your machine is swapping a lot (excessive I/O) or if the VPS host is overloaded on I/O then your load average may go up simply because it takes longer for each job to complete. I've occasionally seen this in the past on linode (but not recently).
But at the end of the day the load average is merely a number; what actually counts is site responsiveness and user experience. You could have a load average of 0.4 but if the site takes 20 seconds to return the home page then it's possible not performing to your needs. And that can depend on many more factors than load average.
@sirpengi:
If you have 4 cores, 4.00 means CPU 100% utilization
Careful, not quite. In Linux, it means 4.00 processes were on average running, waiting to be run, or in uninterruptible sleep (waiting on disk I/O for the most part). In other Unix systems, it means 4.00 processes were on average running, or waiting to be run.
Although it seems semantic, especially on Linux a 4.00 load might not be an indication of full CPU saturation. A lot of people fall into that trap of thinking, and it bites 'em. When a process is waiting on I/O, the CPU can go do other things, so on Linux (and in that Wikipedia) the number is a bit deceiving.
NFS lagging is a good example of how this number might get disconnected from CPU status.
> In short it is the average sum of the number of processes waiting in the run-queue plus the number currently executing over 1, 5, and 15 minute time periods.