* Question on SMP
@ 2002-07-11 9:36 Subrahmanya Sastry K V
2002-07-11 15:44 ` Randy.Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Subrahmanya Sastry K V @ 2002-07-11 9:36 UTC (permalink / raw)
To: linux-scsi, ilugc
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question on SMP
2002-07-11 9:36 Question on SMP Subrahmanya Sastry K V
@ 2002-07-11 15:44 ` Randy.Dunlap
0 siblings, 0 replies; 3+ messages in thread
From: Randy.Dunlap @ 2002-07-11 15:44 UTC (permalink / raw)
To: Subrahmanya Sastry K V; +Cc: linux-scsi, ilugc
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question on SMP
@ 2002-07-11 16:01 Bryan Henderson
0 siblings, 0 replies; 3+ messages in thread
From: Bryan Henderson @ 2002-07-11 16:01 UTC (permalink / raw)
To: Subrahmanya Sastry K V; +Cc: ilugc, linux-scsi
>( 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?)
A slightly more dynamic way is the kernel boot parameter maxcpus=1 .
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-11 16:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-11 9:36 Question on SMP Subrahmanya Sastry K V
2002-07-11 15:44 ` Randy.Dunlap
-- strict thread matches above, loose matches on Subject: below --
2002-07-11 16:01 Bryan Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox