Questions tagged [load-average]

56 questions
21
votes
3 answers

How is the "load average" interpreted in "top" output? Is it the same for all distributions?

I would like to know if the output of a Red-Hat based linux could be differently interpreted by a Debian based linux. To make the question even more specific, what I am after, is understanding how the "load average" from the first line of the top…
Angelos Asonitis
  • 433
  • 1
  • 3
  • 14
19
votes
4 answers

Why/how does "uptime" show CPU load >1?

I have a 1 core CPU installed on my PC. Sometimes, uptime shows load >1. How is this possible and what does this mean? EDIT: The values go up to 2.4
Frantisek
  • 415
  • 2
  • 5
  • 12
18
votes
1 answer

How does a CPU know there is IO pending?

I have been looking into the iowait property shown in top utility output as shown below. top - 07:30:58 up 3:37, 1 user, load average: 0.00, 0.01, 0.05 Tasks: 86 total, 1 running, 85 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 0.3…
Alchemist
  • 551
  • 3
  • 10
  • 21
9
votes
2 answers

High load average: Which processes are waiting in the queue?

I have an Ubuntu server running Redis, which suffers from a high load problem. Forensics Uptime # uptime 05:43:53 up 19 min, 1 user, load average: 2.96, 2.07, 1.52 sar # sar -q 05:24:00 AM LINUX RESTART 05:25:01 AM runq-sz plist-sz …
Adam Matan
  • 2,543
  • 6
  • 29
  • 31
4
votes
3 answers

Check what process is spiking the average load with atop

In trying to find the culprit of a high load average on a system during night (which does not seem to be related to logrotate) I installed atop to write a raw file with a specific interval. While reading the file, it seems the processlist stands…
user135361
  • 193
  • 2
  • 7
4
votes
1 answer

Understand load average on multicore system

For only one microprocessor unit, the load average output by top could be understood that if it's above 1.0 then there are jobs waiting. But if we have n number of cores on a multicore system with l*n logical cores (on my Intel CPU n=6 and l*n = 12…
Niklas Rosencrantz
  • 4,112
  • 6
  • 36
  • 58
4
votes
2 answers

CPU and Load Average Conflict on EC2 server

I am having touble understanding what server resource is causing lag in my Java game server. In the last patch of my game server, I updated my EC2 lamp server from apache2.2, php5.3, mysql5.5 to apache2.4, php7.0, mysql5.6. I also updated my game…
4
votes
1 answer

Does high Load average cgroups give "wrong" overall load average

Assume you have a system with 2 processors. Now create a cgroup and configure this group to use only 1 processor. Populate it with enough processes to give it a load average of 5 (to prove a point); it is now hopelessly slow. I am assuming that…
trevore
  • 149
  • 1
  • 3
4
votes
2 answers

Why is the range of load average not 0-1+ for all cpu's together?

I know that load average is 0-1(or 0-1024) per cpu. E.g a busy quad-core can have a load average of 4.0 or higher. (e.g if there are many tasks). I understand it can be huge like 100+ etc. I also understand it's not cpu utilization (i.e it can go…
Leo Ufimtsev
  • 871
  • 1
  • 8
  • 17
3
votes
0 answers

What is the relation between IO wait utilisation and load average

Load average uses processes that are running or runnable or in uninterrupted sleep state. So do the processes in uninterrupted sleep state correspond with the %wa as per the top command? Both are referring to threads waiting for IO so it seems…
tushar
  • 131
  • 2
3
votes
1 answer

Unusual high load average (due to peak I/O wait? irqs?)

I have a problem with high load average (~2) on my (personal laptop) computer for a long time now. I am running Arch Linux. If I remember correctly, the problem started with a certain kernel update, initially I thought it was related to this bug.…
nox
  • 161
  • 6
3
votes
1 answer

How is load average calculated on FreeBSD?

On Linux, the load average is the average number of processes that are either runnable or waiting averaged over the past 1, 5 and 15 minutes. On OpenBSD (and possibly other BSDs, but neither the quote nor the context really says), load average is…
user
  • 28,161
  • 13
  • 75
  • 138
3
votes
5 answers

Get per-core CPU load in shell script

I need to report the CPU load per core as a percentage from a shell script, but I cannot run e.g. mpstat for one second. Basically I think that the infos top is showing after pressing 1 is what I want, but I cannot configure top to show this in…
Jens
  • 151
  • 1
  • 1
  • 6
2
votes
0 answers

Understanding load average on Digital Ocean droplets

I apologize for this being a stupid question. I spend most of my time on stackoverflow and feel like a fish out of water over here. I have a standard Digital Ocean droplet, paying $5 a month, and getting 1vCPU, 1 GB Memory, 1TB transfer. I got an…
2
votes
1 answer

Reproduce load average calculation

I am digging into calculation of LA. So, what have I found: LA calculates as exponential moving average every five seconds: LA(t) = LA(t-1) + EXP_R * (n(t) - LA(t-1)) where LA(t-1) - is the LA recorded on the previous iteration EXP_R - are three…
danielleontiev
  • 439
  • 1
  • 4
  • 13
1
2 3 4