Running code on an isolated core

Vaibhav Jain vjoss197 at gmail.com
Mon Aug 22 18:15:48 EDT 2011


Hi,
Thanks for replying but I want to do this in a SMP machine.
Please help!

Thanks
Vaibhav Jain

On Wed, Aug 17, 2011 at 10:53 PM, Vladimir Murzin <murzin.v at gmail.com>wrote:

>  On Wed, Aug 17, 2011 at 11:01 PM, Vaibhav Jain <vjoss197 at gmail.com>
> wrote:
> > Hi,
> >
> > I am looking into running a program on one of the cores which is isolated
> > (logically offline )
> > from the rest of the cores. I have come to that the command
> > echo 0 > /sys/device/system/cpu/<core num>/online
> >
> > will make a core logically offline,
> > What I need to do now is to run a program on this offline core. Please
> > suggest on how to proceed.
> >
> > Thanks!
> > Vaibhav Jain
> > _______________________________________________
> > Kernelnewbies mailing list
> > Kernelnewbies at kernelnewbies.org
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >
> >
> Hi Vaibhav,
>
> I think it's impossible to run out a process on unplugged CPU. May be
> AMP[1] is what you need, but it's a bit different approach.
>
> [1]http://en.wikipedia.org/wiki/Asymmetric_multiprocessing
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110822/59083fda/attachment.html 


More information about the Kernelnewbies mailing list