Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
We have a 4 core RHEL virtual machine on VMware on which our Oracle database 11g is loaded. I wanted to understand if the load average shown by
uptime
command should be divided by 4 for a 4 core machine. In other words, can it be said that the load average can go up 4 to mean that there is 100 CPU utilization i.e. 4.0,4.0,4.0 for a 4 core be equivalent to 1.0,1.0,1.0 for a single core CPU?
My understanding has always been that you can go up to 4.0 for a 4 core machine.
My opinion also is that if you exceed 50-60% of your available processing limitations on a regular basis that you are in, or heading for, trouble. That being said, I'm not a server person, so not really used to high system strain on a regular basis.
Location: The garden of England. Technically, the compost heap.
Distribution: openSUSE Tumbleweed
Posts: 60
Rep:
Not necessarily 100% utilisation as that will be a far more transient measure than the times used for load average.
It was explained to me as each core being a lane on a highway so a 4core is a 4 lane highway. In that case values less than 4 the highway is not busy, when it equals 4 exactly the highway is moving well but is at capacity and over 4 means that traffic is having to queue to get on to the highway.
If your load average is consistently at or nearly at the number of cores start looking at optimisation and maybe planning an upgrade soon. If it is consistently over then do the same but more urgently.
command should be divided by 4 for a 4 core machine. In other words, can it be said that the load average can go up 4 to mean that there is 100 CPU utilization i.e. 4.0,4.0,4.0 for a 4 core be equivalent to 1.0,1.0,1.0 for a single core CPU?
cba to find the proper documentation on /proc/loadavg (the kernel source docs ? )
short story; it's the number of running processes
more precisely number of processes running times their running time divided by total time, in the last n minutes
so 100 processes always running (does not mean they are using the cpu) would give loadavg 100
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.