Ok, I understand that the kernal manages both the process distribution.  But
let's say I am running 10 game servers (for instance) which do not support smp.
Does Linux-smp distribute the load over both processors?  Or does it assign 1
proc here 1 proc there, etc?  Is there a way for me to help Linux :0] ?

As far as top is concerned, I am just wondering if there is a program that splits
the processor % up.....the version I have reports 3 processes that are utilizing
the cpu the most (the rest are negligable or less than 2% of the processor).
Process1 = 49.4% Process2=33.4%  Process3=27.8%

Now, I am no math whiz, but if you add that up, you get 110.6%!  So, whats up
with that?  I take it for granted that top just sees both processors as having a
top of 100%, giving the smp system a 200% total.  But, I would like to see
utilization broken up amongst both processors, so process1=24.7%proc1 24.7%proc2
(guestimation) process2=16.7%proc1 16.7%proc2 (guestimation) process3=13.9%proc1
13.9%proc2 (guestimation)
so that I can get a general idea of how the non-smp software is being allocated
by the kernel.  Is there any utility out that can break down processes on both
processors, or will have to script my own......

Thanks again!!!
-Andy


Johan Kullstam wrote:

> Andrew Pavlis <[EMAIL PROTECTED]> writes:
>
> > Are there any smp managers out there that can assign different processes
> > to different cpu's (for running multiple servers)....If anyone knows of
> > anything like this, please let me know!!!
>
> yes.  it's called the linux kernel.  linux is multitasking and will
> use whatever processor it has lying around.  the kernel manages the
> processes and doles them out to the cpus.  what if you have more
> things to run that processors?  you do not get a processor per
> process.
>
> > Also, if you know of a
> > program similar to top that can monitor multiple processors for Linux, I
> > would like to find that as well.
>
> top monitors all my processes.  xosview does too.
>
> --
> J o h a n  K u l l s t a m
> [[EMAIL PROTECTED]]
> Don't Fear the Penguin!
> -
> Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
> To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to