Operating System - Linux
1828667 Members
1544 Online
109984 Solutions
New Discussion

Re: cpu-switching on multi-cpu host

 
Timo J
Frequent Advisor

cpu-switching on multi-cpu host

We have four service processes running on four-cpu host. 3 of these 4 are running on same cpu all the time. Even if the processor load increases near 100% the processes stay on that same cpu while all the other cpus are in practice idling. How can we balance this load to all processors?
N/A
3 REPLIES 3
Jerome Henry
Honored Contributor

Re: cpu-switching on multi-cpu host

It may have several reasons, most common is that
you run a too old version of kernel,
kernel is not set for smp
your CPU is not SMPable.
Have a read at this :
http://ouray.cudenver.edu/~etumenba/smp-howto/SMP-HOWTO.html#toc4
compare this to your kernel and CPU, you'll get the answer.
Post your config here, we'll help you tune.
RGDS
J
You can lean only on what resists you...
Ralf Puchner
Honored Contributor

Re: cpu-switching on multi-cpu host

Try the "runon" command so run the applications among different CPU's.
Help() { FirstReadManual(urgently); Go_to_it;; }
Timo J
Frequent Advisor

Re: cpu-switching on multi-cpu host

Sorry for confusion, but this problem was hp-ux related. I posted it to this group by accident.
N/A