What do you mean by "load avg"? And when you quote specific numbers (somehow related to the number of CPU's in your server) what do you mean?
Are you expecting that your program (however number of processes it may spawn) will get distributed to different CPU's for processing without having to make specific compiler modifications to do so? If so, you are mistaken my friend.....
Last edited by druidmatrix; 03-31-2010 at 07:36 AM..
That is not the definition of "load" at all. Here are my load balances:
So am I to understand nothing is running at all? Here are my running processes:
Please note it is a 1 core machine.
No, not nothing at all. Just not very much. By my definition, and please supply a better one if you have it, the base load is 0. Only running or runnable processes add to that, but not processes that are sleeping, eg because they're waiting for a timer to run out, or for user input.
Now, in your example you're showing a pretty idle machine (httpd with a total of 17 CPU seconds, while the machine is up for more than 2 days), with most processes waiting for some kind of external input or waking up occasionally (eg cron). That means the load counter isn't getting increased very much at each data point. And if the load is then averaged, the average seems to fall below 0.005 (because at that point it'd be rounded up to 0.01).
True. To tell you the truth, I have not been able to make any sense of Sun's definition for either pre or post Solaris 10's load averages. In general, from experience, I have found that machines that get slow once the load averages start approaching digits (even 3-4 for me has shown noticeably slow performance) - now I have never had the experience of a 48 core machine, but have plenty of experience with Netra series quad core servers.
I am not sure what you are asking me. But here are some pointers:
All your data is stored in the memory bank of the CPU that is running your program. Your program and all its spawned processes will be executed on a single CPU unless you compile it very specifically for multi-processor CPU's.
Generally the memory allocated for each CPU is by banks on the Sun boxes, and a particular CPU has a specific set of DIMM's dedicated to it. As long as your data structures (combined total) is not greater than the size of your memory bank (not counting the overhead space) you dont need to worry about it. In fact, when this space is exceeded, it will swap - so to the user this should be transparent. So you could potentially spwawn a thread for every single process you have.
I read that Entitlement CPU should be set to max 75% compare to Virtual CPU. May I know the reason.
I have set the Entitlement CPU = Virtual CPU on AIX . It works fine .
Can you help to understand. (1 Reply)
Hi All,
It may be a n00b question, but i really want to know , How Entitled Capacity is less and Used CPU is more when there is no Free CPU is available in the managed system.
I have 5LPARs in a MS with Dual VIO.
Managed System CPU details
Available: 0.20
Assigned to partitions: 15.80... (11 Replies)
We have a single threaded application which is restricted by CPU usage even though there are multiple CPUs on the server, hence leading to significant performance issues. Is it possible to merge / combine multiple CPUs at OS level so it appear as a single CPU for the application? (6 Replies)
I want to investigate why CPU utilization was high yesterday on my solaris 10 machine.
I have been reported this problem but how can I investigate why CPU utilization went high at that time? :confused: (4 Replies)
Hi,
I am a weblogic Admin
I our env there are 5 servers running in one Solaris 10 Sparc machine.
But when i tried for process status using <top> command
I got the following output
load averages: 1.75, 2.18, 2.12; up 134+08:28:49
22:24:21
79 processes: 77 sleeping, 1 running,... (1 Reply)
Hello Friends,
On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization.
=========================================================================
$ prstat -a
... (4 Replies)
hi,
i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Hi..,
my dout is a solaris server is having 16 cpu's.
in tht one cpu running some error process, accupaying more space.
I wanna down tht particular CPU only with out interrupting the other 15
CPU's. how can i do this. is there any command for this ?? (5 Replies)