Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Jul 13, 2010 8:22 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
Can some of you with busy(ish) Linodes please let me know what your load averages are? My Linodes are all pretty lightly loaded and I need some figures to compare with another (non-Linode) VPS that's giving me trouble.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Tue Jul 13, 2010 8:32 pm 
Offline
Junior Member

Joined: Tue Jul 13, 2010 8:28 pm
Posts: 28
You probably shouldn't compare load averages with other systems, as those numbers depend on the system (number of cores specifically). If you have 4 cores, 4.00 means CPU 100% utilization, lower means underutilized. Higher would mean some jobs are waiting to be queued. So find out how many cores you have and you can tell what a good load average is.

http://en.wikipedia.org/wiki/Load_%28computing%29


Top
   
 Post subject:
PostPosted: Tue Jul 13, 2010 8:49 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
It will be a like-for-like comparison -- four cores out of eight available on a dual Xeon box.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Tue Jul 13, 2010 9:00 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
00:57:12 up 27 days, 3:29, 2 users, load average: 0.02, 0.05, 0.11

That's mine, while it was backing up too (aka heavy gzipping and gpging) backups are between half and 1 gig linode 512


Top
   
 Post subject:
PostPosted: Tue Jul 13, 2010 9:04 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
Load average is merely a measurement of number of jobs in the run queue. On Linux machines these are running, runnable... and processes blocked on I/O.

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.

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Wed Jul 14, 2010 10:19 am 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
sirpengi wrote:
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.

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
 Post subject:
PostPosted: Wed Jul 14, 2010 2:39 pm 
Offline
Junior Member

Joined: Thu Jun 03, 2010 4:44 pm
Posts: 35
jed is dead-on. Here is a good article that explains load average: http://www.lifeaftercoffee.com/2006/03/13/unix-load-averages-explained/
Quote:
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group