Wednesday Night Load Averages

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

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.

Govern yourself accordingly!

TwitterFacebook
LGF Pages
Recent Pages

Gus
GOP Groups Plan $1 Billion Blitz
28 minutes ago
Views: 35 • Comments: 0
Tweets: 0 • Rating: 0

Kragar
Romney wants Constitutional Amendment requiring the President to have business experience
36 minutes ago
Views: 48 • Comments: 1
Tweets: 0 • Rating: 2

Daniel Ballard
Egyptian Student Invents New Propulsion Method - Science - Health & Science - OnIslam.net
50 minutes ago
Views: 35 • Comments: 0
Tweets: 0 • Rating: 1

Bob Dillon
Diseases Grow at Psychiatry Meeting-Thanks to Big Pharma
58 minutes ago
Views: 33 • Comments: 0
Tweets: 0 • Rating: 1

Learned Mother of Zion
Native Americans Have Jewish DNA!
1 hour, 21 minutes ago
Views: 104 • Comments: 2
Tweets: 1 • Rating: 2

Eclectic Infidel
Mitt Romney for a better Amercia!
1 hour, 26 minutes ago
Views: 69 • Comments: 0
Tweets: 0 • Rating: 0

Channeling Confucius
The 7 Most Terrifying Archaeological Discoveries
3 hours, 45 minutes ago
Views: 164 • Comments: 0
Tweets: 0 • Rating: 1

Aigle
Ha'aretz, Lost in Translation
4 hours, 41 minutes ago
Views: 121 • Comments: 3
Tweets: 0 • Rating: 0

Randall Gross
Government Employment Drops Under Obama, but Media Run With Romney Myth Anyway
6 hours, 31 minutes ago
Views: 173 • Comments: 0
Tweets: 6 • Rating: 2

researchok
French Philosopher Alain Badiou on the Real Expression of Love: 'If You Limit Yourself to Sexual Pleasure It's Narcissistic'
10 hours, 35 minutes ago
Views: 107 • Comments: 0
Tweets: 0 • Rating: 1

 Frank says:

To me, cigarettes are food -- Response to an assertion that his nicotine habit conflicted with his anti-drug stance