RZ-G/RZG2 kernel

From eLinux.org
< RZ-G
Revision as of 13:08, 22 October 2020 by Cbrandt (talk | contribs) (added CPU Hotplug)
Jump to: navigation, search

RZ/G2 Kernel and Linux FAQ


CPU Hotplug

You can enable and disable CPU cores by wrriting to a sysfs value.
This is helpful for when you want to experiment with the performance of your application if you were to use a processor with less CPU cores.
For example, this command will disable the 2nd core.
$ echo 0 > /sys/devices/system/cpu/cpu1/online
More detailed information can be found here: https://www.cyberciti.biz/faq/debian-rhel-centos-redhat-suse-hotplug-cpu