Wednesday Night Load Averages

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

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? Account Settings 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

► LGF Hits

► Resources

► Never Forget

► Statistics

► 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.

Brevity rocks.

TwitterFacebook
LGF Pages
Recent Pages

Randall Gross
Trial opens 2 years after feds break up Christian militia
1 hour, 37 minutes ago
Views: 59 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
Obama's budget headed to Congress
1 hour, 52 minutes ago
Views: 81 • Comments: 0
Tweets: 0 • Rating: 0

researchok
Dreyfus and the Birth of Intellectual Protest
4 hours, 41 minutes ago
Views: 64 • Comments: 0
Tweets: 0 • Rating: 1

researchok
The Man Who Wouldn't Die: New York's Most Fantastic Murder
4 hours, 44 minutes ago
Views: 90 • Comments: 0
Tweets: 0 • Rating: 3

researchok
Mitt's Spin
4 hours, 46 minutes ago
Views: 61 • Comments: 0
Tweets: 0 • Rating: 0

researchok
Strategy
4 hours, 46 minutes ago
Views: 55 • Comments: 0
Tweets: 0 • Rating: 0

researchok
Gender Wage Gap Skewed by Survey Flaws - Miller-McCune
4 hours, 47 minutes ago
Views: 62 • Comments: 0
Tweets: 0 • Rating: 1

researchok
Why Obama Would Be Glad if the Culture War Is a Major Election Issue
4 hours, 48 minutes ago
Views: 82 • Comments: 0
Tweets: 0 • Rating: 1

researchok
Is This the End of Wall Street as They Knew It?
4 hours, 48 minutes ago
Views: 67 • Comments: 0
Tweets: 0 • Rating: 1

researchok
Prop 8 May Be Same-Sex Couples' Least Worry - Miller-McCune
4 hours, 48 minutes ago
Views: 62 • Comments: 0
Tweets: 0 • Rating: 1

 Frank says:

You drank beer, you played golf, you watched football - WE EVOLVED!