Irq-balancer opensuse 11.1 kernel 2.6.29.6.3

On my quad core system irq-balancers is started during boot

It runs only once.

result most work is done by cpu - 0

the other cpu-s have 1/10 the load that cpu-0 has or less

restarting irq-balancer every 5 minutes changes this behavior so
that the load on cpu-0 goto cpu 2 or 3
or 0 and 2
restart is done by crontab

Question is there a “irq-balancer” that monitors the system and does the same as starting it by crontab but not in intervals but constantly ???

The question i asked was

is there something else as irq-balancer wich spreads the running programs over the 4 cpu’s intel quad Q6600

More info:

Not by irq/device but by PID ???

Kwin is running all the time on the same cpu why not swap with a cpu with 10% load

Hi All

SCHEDTOOL someone use this ???

comes from linux/schedtool ::

Any users here ???

to me, it just sounds like you need to ADD work to the total
system…load it up and THEN run the balancer…and let it run until
the next update that requires a boot…

that is, if you have one core running at 85% and three running at 8%
then you bought a lot more system capability than you need…trying to
get all running at 25% is a waste of time, and could/will probably
slow the system down…


Andy Sipowicz

i need to add a postscript: i’ve never used an “irq-balancer” and
don’t have any idea if it is “the thing” to use to attempt to force a
quad-core (or any other) chip to parse out the available work to all
processors in a somewhat equal fashion…

still, if the total load is under 30% (say with a nominal load on the
chips of 80 08 08 08 = ~26%) of the capacity i can’t see any utility
in even trying to externally FORCE load leveling…


Andy Sipowicz

Hello Andy

I would say download schedtool-1.3.0
read the documentation and you will see just as i did
that it is possible to manipulate whichs pid is on what core

Not yet figured out the sequence of schedtool commands
to do that

so far i did schedtool -p STATIC_PRIORITY schedtool -r
in boot.local

result all the cpu’s have a load now
SuSEConfig runs in half the time
Total system is more responcife

I also deleted ck804xrom.ko from lib/modules
because now HT is activated
Also all the drivers in kernel/arch/x86/perfmon are deleted
and the oprofile.ko

These are useless monitor files suse put in the kernels

> STATIC_PRIORITY

you have found a new hobby…congrats…

but i ask, since you can only manipulate which running PID goes to
which core: how often do you plan to manually decide what is processed
where?

for example, you have several things going on and decide to launch
(say) a VM of Vista to run Photoshop in, will you then open top, see
which core is underutilized, grep for the VM and then run schedtool to
move Vista/Photoshop to the least loaded CPU?

nice hobby…


Andy Sipowicz

An example :

A COMPLEX EXAMPLE:

#> schedtool -R -p 50 -a 0x2 -e mplayer file.avi

Execute mplayer file.avi with
-SCHED_RR,
-static priority 50,
-affinity 0x2 (run only on CPU1).

So it should be possible to run your VM/vista/photoshop
as stated above.
Put all the commands in the menu once
This way you can have a dedicated cpu for VM with …

2 VM’s on 2 cpu’s don’t know
will simulate it with mplayer lucvview and vlc
on a dedicated cpu en the rest of opensuse on cpu 0
if it runs this case is proven i think

The test

mplayer with avi file on cpu 1
luvcview on cpu 2
vlc playing dvd on cpu 3

all running together 3 windows open and 3 corresponding xterms

opensuse on cpu 0 the total load on all the cpus is then 69%

they are all started with sudo

So it is possible to run a special task on a predefined cpu