Wednesday Night Load Averages

Charles Johnsonfollow me on twitter
Science • Wed Dec 3, 2008 at 6:33 pm PST • Views: 218

With the new web server installed and configured, at peak traffic time today with more 3,000 visitors online, the load average never got above 0.87. Typical load average for that kind of activity with our previous, somewhat underpowered web server was in the neighborhood of 4 to 6.

Big win. That’s the kind of worth-the-work-and-expense percentage we like.

In case you’re not already confused enough, here’s a link explaining the Linux ‘top’ command’s load average statistics: Examining Load Average.

The three load-average values in the first line of top output are the 1-minute, 5-minute and 15-minute average. (These values also are displayed by other commands, such as uptime, not only top.) That means, reading from left to right, one can examine the aging trend and/or duration of the particular system state. The state in question is CPU load—not to be confused with CPU percentage. In fact, it is precisely the CPU load that is measured, because load averages do not include any processes or threads waiting on I/O, networking, databases or anything else not demanding the CPU. It narrowly focuses on what is actively demanding CPU time. This differs greatly from the CPU percentage. The CPU percentage is the amount of a time interval (that is, the sampling interval) that the system’s processes were found to be active on the CPU. If top reports that your program is taking 45% CPU, 45% of the samples taken by top found your process active on the CPU. The rest of the time your application was in a wait. (It is important to remember that a CPU is a discrete state machine. It really can be at only 100%, executing an instruction, or at 0%, waiting for something to do. There is no such thing as using 45% of a CPU. The CPU percentage is a function of time.) However, it is likely that your application’s rest periods include waiting to be dispatched on a CPU and not on external devices. That part of the wait percentage is then very relevant to understanding your overall CPU usage pattern.

The load averages differ from CPU percentage in two significant ways: 1) load averages measure the trend in CPU utilization not only an instantaneous snapshot, as does percentage, and 2) load averages include all demand for the CPU not only how much was active at the time of measurement.

Advertisement

624 comments

^ back to top ^

Name:

Pass:

Register Forgot Your Password? Re-send Confirmation (To log in, cookies must be enabled in your browser!)

Turn off ads by subscribing!
For about 33 cents a day, our subscription option turns off all advertisements at LGF!
Read more...


► LGF Headlines

  • Loading...

► Tweeted Articles

  • Loading...

► Tweeted Pages

  • Loading...

► Top 10 Comments

  • Loading...

► Bottom Comments

  • Loading...

► Recent Comments

  • Loading...

► Tools/Info

► Tag Cloud

► Contact

You must have Javascript enabled to use the contact form.
Your email:

Subject:

Message:


Messages may be published in our weblog, unless you request otherwise.
Tech Note:
Using the Contact Form

More Partners

Compare Electricity Prices in your area. Texas Electricity is deregulated; you have the right to choose Texas Electric Rates from among many Texas Electric Companies.

Especially put black and thick packet on the head.

TwitterFacebook
LGF Pages
Recent Pages

MikeySDCA
China Is Culturally Superior to America - the Atlantic Wire
17 minutes ago
Views: 11 • Comments: 0
Tweets: 0 • Rating: 0

researchok
'I Was Looking Forward to a Quiet Old Age': Instead, Etta Shiber, Helped Smuggle Stranded Allied Soldiers To Freedom
5 hours, 48 minutes ago
Views: 73 • Comments: 0
Tweets: 1 • Rating: 0

Daniel Ballard
Late Afternoon Light-Kalanchoe
13 hours, 29 minutes ago
Views: 108 • Comments: 0
Tweets: 0 • Rating: 5

Eclectic Infidel
City College of San Francisco Budget Update
14 hours, 21 minutes ago
Views: 125 • Comments: 0
Tweets: 0 • Rating: 0

Michael McBacon
Kansas governor signs 'Shariah bill' to ban Islamic law
18 hours, 52 minutes ago
Views: 237 • Comments: 6
Tweets: 0 • Rating: 5

Aigle
National Geographic Traveler Veers Off Track
1 day, 18 hours ago
Views: 459 • Comments: 7
Tweets: 0 • Rating: -5

MichaelJ
Apple TV Slated to Debut in December?
1 day, 20 hours ago
Views: 230 • Comments: 0
Tweets: 0 • Rating: 1

Ascher
Israeli Who Saved Turk on Everest: You Never Abandon a Friend - Israel News, Ynetnews
1 day, 21 hours ago
Views: 301 • Comments: 1
Tweets: 0 • Rating: 3

Haywood Jabloeme
The Harrassment of Patterico & Its Roots in Left-Wing Activism
1 day, 21 hours ago
Views: 524 • Comments: 2
Tweets: 0 • Rating: 4

Curt
Brian Banks: (Video) Falsely accused of rape speaks out
1 day, 23 hours ago
Views: 276 • Comments: 2
Tweets: 0 • Rating: 5

 Frank says:

Well, you know I've been here many times, and only certain hours of the day when I'm here am I asleep; the rest of the time I'm actually awake. -- I have a filler on a dat with zappa being interrogated by a couple of swedish fans/state officers(who knows)...in which they are arguing over the pornographic contents of his work. he tells them he has been spying on them, and claims that their porno industry is bigger than that of the US. it's pretty funny. btw-this is from thew '88 tour.