Can I disable one of the cores?

shrey sinha shreysinha1 at gmail.com
Sat Nov 20 02:28:55 UTC 2010


On Fri, Nov 19, 2010 at 4:00 AM, Alan Pope <popey at ubuntu.com> wrote:

> On 18 November 2010 22:19, Kevin O'Gorman <kogorman at gmail.com> wrote:
> > Can I get Ubuntu to run correctly with only one processor?  Is it good
> > enough to recompile a non-SMP kernel?  Is there
> > something I can do in the kernel parameters (simpler than a recompile)?
> >
>
> You can do it on the fly.
>
> alan at wopr:~$ grep -ic "Model Name" /proc/cpuinfo
> 2
>
> root at wopr:~# echo 0 > /sys/devices/system/cpu/cpu1/online
> root at wopr:~#
>
> alan at wopr:~$ grep -ic "Model Name" /proc/cpuinfo
> 1
>
> root at wopr:~# echo 1 > /sys/devices/system/cpu/cpu1/online
> root at wopr:~#
>
> alan at wopr:~$ grep -ic "Model Name" /proc/cpuinfo
> 2
>
> :)
>
> Cheers,
> Al.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

Awesome :)

-- 
Regards,
Shrey Sinha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101120/eb6b6b5b/attachment.html>


More information about the ubuntu-users mailing list