Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • It is unclear where you put the maxcpus=1 commmand? Did you put that string in grub.cfg as a boot option? (Please update your question instead of answering in comments). Commented Jul 21, 2014 at 7:24
  • I am using freescale IMx6 sabreauto board on linux OS.I executed the command on a terminal emulator "gtkterm" Commented Jul 21, 2014 at 7:41
  • With this command echo 0 > /sys/devices/system/cpu3/online I am able to see cpu3 shutdown. Now what I want know is, should I reboot the system for the changes to effect or I can continue without rebooting Commented Jul 21, 2014 at 7:45
  • AFAIK you should specify maxcpus=1 as a parameter to the kernel (i.e. when you are in grub). Edit '/etc/defaults/grub' to add it to the kernel parameters, run 'update-grub' and reboot. That will make things persistent, i.e. with only one CPU on Linux startup. Commented Jul 21, 2014 at 8:55
  • 2
    @user3818847 what distro are you using? Modifying the boot parameters (to pass maxcpus=1) varies by distro. Also the /sys path you have is simply the wrong one, the correct path is /sys/devices/system/cpu/cpu3/online. Commented Jul 21, 2014 at 13:00