[KLUG Members] keeping a process on one CPU with SMP kernel

John Pesce pescej at sprl.db.erau.edu
Thu Nov 4 11:10:41 EST 2004


Hi all,

I'm running RH9.X with the SMP kernel. I have a memory and CPU intensive
program that runs for a long time. What I'm seeing with top is that one
CPU, with my process, is like 05% IDLE and the second CPU is like 90%
IDLE. My problem is that for some reason the kernel will switch my
process back and forth between processors slowing everything down in the
process. This makes no sense to me because when it does the first CPU
will be like 90% IDLE and the second is now 05% IDLE. Is there a way to
start a process and keep it on one CPU?

Thanks,
John


More information about the Members mailing list