[Ilugc] Re: Question on SMP

  • From: rddunlap@xxxxxxxx (Randy.Dunlap)
  • Date: Thu, 11 Jul 2002 08:44:59 -0700 (PDT)

On Thu, 11 Jul 2002, Subrahmanya Sastry K V wrote:

| I would like to run my iSCSI pseudo-HBA driver program on a
| SMP machine. But my driver doesn't support SMP. Is there any
| way by which I can disable all the processors but one in the
| SMP machine dynamically and run my program, as if it is running
| on a UP machine?
|
| ( Statically disabling the SMP support in the kernel config file
|    and recompiling the kernel is one way. Any clues on
|     how to achieve it dynamically?)

For what kernel version?

There are some patches to enable CPU hotswap on/off,
but they aren't integrated into any released kernel yet.
They are being changed very much, but should end up in Linux 2.5
fairly soon, but I don't really recommend using this just yet.
  http://sourceforge.net/projects/lhcs/

I don't know of any other dynamic CPU on/off tools.
For now, I think that you are better off with static
CPU control.

-- 
~Randy


Other related posts: