LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 03-05-2015, 04:38 AM   #1
RHCE_ran
Member
 
Registered: Oct 2013
Posts: 90

Rep: Reputation: Disabled
Load average in a multicore machine


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?

I hope, I have been able to explain the problem.

Requesting a reply to my query.

Regards
 
Old 03-05-2015, 07:12 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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.
 
1 members found this post helpful.
Old 03-05-2015, 07:18 AM   #3
elija
Member
 
Registered: Jul 2008
Location: The garden of England. Technically, the compost heap.
Distribution: openSUSE Tumbleweed
Posts: 60

Rep: Reputation: 21
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.
 
1 members found this post helpful.
Old 03-05-2015, 11:36 AM   #4
genss
Member
 
Registered: Nov 2013
Posts: 744

Rep: Reputation: Disabled
Quote:
Originally Posted by RHCE_ran View Post
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?
fun fact: it can go way over the number of cpu's
http://stackoverflow.com/questions/2...e-vs-cpu-usage

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

Last edited by genss; 03-05-2015 at 11:41 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multicore load balancing: bestyharis Programming 3 11-07-2011 06:58 AM
multicore virtual machine on fedora14 dubizvi Linux - Virtualization and Cloud 2 03-17-2011 03:57 PM
Under moderate load in a multicore system of 13 processors one processor gets 100% us praveen24 Linux - Kernel 7 09-03-2009 04:21 AM
LXer: Linux powers unusual multicore machine LXer Syndicated Linux News 0 08-12-2006 12:54 PM
Average load Cyth Linux - General 1 01-22-2002 03:33 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration