Question on SMP
Hi,
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?)
Regards,
Sastry
--
Subrahmanya Sastry K V
HCL Tech, Vadapalani, Chennai-26
Ph: +91-44-3728366 Xtn-1146
http://san.hcltech.com
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.
Signature · 1 line
~Randy