-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This works and can be useful for debugging/benchmarking/low power use $ nproc 4 $ echo 0 | sudo tee /sys/devices/system/cpu/cpu3/online 0 $ echo 0 | sudo tee /sys/devices/system/cpu/cpu2/online 0 $ echo 0 | sudo tee /sys/devices/system/cpu/cpu1/online 0 $ nproc 1 Signed-off-by: Dom Cobley <[email protected]>
- Loading branch information
1 parent
4eb5854
commit eac6399
Showing
2 changed files
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters