Linux CPU load average
location: linuxquestions.com - date: March 2, 2011
I have a small query regarding the load averages on a multi-core machines.
If a single core machine has load avg of 1,does it mean that CPU utilization is 100 %?
For a dual core,does a load of 2.0 mean ,the cpu utilization is 100 % or 50 %?
my machine specs are:
top load average normal?
location: linuxquestions.com - date: December 7, 2009
My samba server never seems to be under heavy load as far as cpu utilization, but top consistently reports the load average at 2.0:
top - 16:44:33 up 16 days, 21:18, 1 user, load average: 2.00, 2.00, 2.00
Tasks: 120 total, 1 running, 107 sleeping, 12 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3371544k total, 2702224k used, 669320k free, 643700k buffers
Swap: 2000052k total, 0k used, 2000052k free, 1767348k cached
Can't figure out what's going on.
The dual core cpu appears to have many points in time when there is no demand for any instructions from the cpu -- 100% idle.
Quoting from the much-linked linux journal article on the matter, "the load averages tell us by increasing duration whether our physical CPUs are over- or under-utilized. The point of perfect utilization, meaning that the CPUs are always busy and, yet, no process ever waits for one, is the average matching the number of CPUs. If
Linux acceptable load average
location: linuxexchange.com - date: May 20, 2014
I have a linux dedicated server machine(8cores 8gbRAM) where i run some crawler php scripts. The load on the system ends up being arround 200, which sounds a lot. Since i am not using the machine to host content, what could be the sideeffects of such high level of load for the purposes stated above.
Linux(Ubuntu) load average higher than totaltrueutilization?
location: linuxexchange.com - date: May 9, 2014
I have a dell pd2950(2x4core) server running Ubuntu server 12.04LTS. And there's a VLC encoder instance running. Recently I updated the script(VLM) for VLC to increase quality and this means I'm increasing the CPU utilization too. So I started to tune the script to avoid exceeding maximum utilization. I use top to monitor the CPU utilization. I found that the load average is higher than 100%(I have 8-cores totally so 8.00 is 100%) but there's still 20-35% is idle, like:
top - 21:41:19 up 2 days, 17:15, 1 user, load average: 9.20, 9.65, 8.80
Tasks: 148 total, 1 running, 147 sleeping, 0 stopped, 0 zombie
Cpu(s): 32.8%us, 0.7%sy, 29.7%ni, 36.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1982680k total, 1735672k used, 247008k free, 126284k buffers
Swap: 0k total, 0k used, 0k free, 774228k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9715 wilson RT 0 2572m 649m 13m S 499 33.5 13914:44 vlc
11663 wilson 20
how to reduce load average linux
location: linuxquestions.com - date: February 23, 2012
I am using CentOS 5.3 As a Mail Server. But System Load Average is too much High. For that reason System is responding very slow.
top - 16:21:30 up 4:39, 1 user, load average: 77.91, 87.64, 84.56
Tasks: 641 total, 2 running, 628 sleeping, 0 stopped, 11 zombie
Cpu(s): 4.6%us, 0.9%sy, 0.0%ni, 33.6%id, 60.9%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 8309316k total, 2556448k used, 5752868k free, 13320k buffers
Swap: 8385888k total, 0k used, 8385888k free, 395804k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18570 apache 23 0 36804 12m 2560 S 2.3 0.2 0:00.07 httpd
16005 apache 16 0 49964 25m 3088 S 2.0 0.3 0:01.02 httpd
17127 apache 15 0 46368 22m 3100 S 1.7 0.3 0:00.69 httpd
17164 apache 15 0 38640 14m 2948 S 1.7 0.2 0:00.26 httpd
18234 apache 16 0 34160 9m 2756 S 1.7 0.1 0:00.09 httpd
13033 apache 15 0 41348 17m 3040 S 1.3 0.2 0:00.48 httpd
Load average of 100% in my router when connected to my Linux box
location: linuxquestions.com - date: December 10, 2014
This last 2 weeks I've been having troubles with my router (Buffalo WHR-HP-GN, running DD-WRT v24-sp2 (12/03/14) std - build 25544) stopping to work after a while of having my Linux PC on. I have two PCs connected by wire to it, my PC which is usually running Slackware 14.1, and my roommate's which is usually running Windows 7. We bought another router thinking that the old Buffalo had malfunctioned, only to find out that the problem still persisted whenever my PC was connected to it. Today looking at the status tab of the DD-WRT control panel I noticed that when running Windows, the load average stayed down at around 10%, and when I switched back to Linux, for a while it stayed that way, but after about an hour or two I noticed it had risen to 100%, and the network became useless. I switched back to Windows, and after a few minutes, the load average starting lowering (now at 15%). It actually took quite a while for it to go down from 100%.
I was wondering how I could troubleshoot thi
How to understand the memory usage and load average in linux server
location: linuxexchange.com - date: May 27, 2010
I am using a linux server which has 128GB of memory and 24 cores. I use top to see how much it is used. Its output is pasted at the end of the post. Here are two questions:
(1) I see that each of the running processes occupies a very small percentage of memory (%MEM no more than 0.2%, and most just 0.0%), but how the total memory is almost used as in the fourth line of output ("Mem: 130766620k total, 130161072k used, 605548k free, 919300k buffers")? The sum of used percentage of memory over all processes seems unlikely to achieve almost 100%, doesn't it?
(2) how to understand the load average on the first line ("load average: 14.04, 14.02, 14.00")?
Thanks and regards!
I also really like to hear some rough numbers based on used percentage of memory to determine if a server is heavily loaded, since I once became the one who cramed the server without understanding the current load.
Is swap regarded as almost the same as memory? For example, when memory and swap
Optimum Load Average for an i3 linux system
- date: May 20, 2014
I am having an i3 linux Server and i got the below mentioned info about the system
:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
stepping : 7
microcode : 0x25
cpu MHz : 1600.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
The current Load Average is and uptime is: load average: 3.70, 3.03, 2.77
I want to monitor the load average of the server through Nagios. For that i want to know about the optimal load average for the system to set the warning and critical threshold.
i got some information : i7 = 4 cores with 2 threads per core
if its like that, then what will be the maximum load average threshold? 8 or 4?
Unexplainable Load Average CentOS Linux phpfpm
location: linuxexchange.com - date: March 1, 2012
we have a strange problem with "Load average" on server, we tried to solve the problem but no luck and now we trying to find help.
We have a VPS CentOS Linux 2.6.18-274.18.1.el5 x86_64 GNU/Linux with 2 physical cores, 2GB RAM, this server is just running php-fpm 5.3.10 no other services running on it.
php using Redis via TCP (~1000 request per second), Redis server can easily make 60000 request per second and have a LA of 0.01.
Random spikes of LA from 16 to 40 with no obvious reason. In spite of this fact CPU usage is ~40%, ~10% of system and memory usage is less then half.
Cpu0 : 36.7%us, 11.9%sy, 0.0%ni, 44.2%id, 0.0%wa, 0.0%hi, 7.2%si, 0.0%st
Cpu1 : 39.8%us, 10.0%sy, 0.0%ni, 26.2%id, 0.0%wa, 10.0%hi, 14.0%si, 0.0%st
Mem: 2058776k total, 1241500k used, 817276k free, 160172k buffers
Swap: 1048568k total, 0k used, 1048568k free, 876888k cached
Spikes are not related to network activity or cron jobs.
Amount of requests to php per seconds is
Measure CPU load average on Linux (excluding disk load)
location: linuxexchange.com - date: January 1, 1970
The load average on Linux (/proc/loadavg, also reported by uptime and top, etc) is a measure of both CPU and disk load:
From man 5 proc:
The first three fields in this file are load average figures
giving the number of jobs in the run queue (state R) or waiting
for disk I/O (state D) averaged over 1, 5, and 15 minutes. They
are the same as the load average numbers given by uptime(1) and
other programs. The fourth field consists of two numbers sepa-
rated by a slash (/). The first of these is the number of cur-
rently executing kernel scheduling entities (processes,
threads); this will be less than or equal to the number of CPUs.
The value after the slash is the number of kernel scheduling
entities that currently exist on the system. The fifth field is
the PID of the process that was most recently created on the
Page: 1 2 3 4 5 6 7 8 9 10