AquaNet IT Business
One stop shopping for the business
SECOND DECADE

from 2010 when it's begining Smartphone age.

Quad Core CPUの数を減らす

2月
6
2020
Back
HOME


あまり複雑なタスクでないとき、省電力などの目的で CPU の活動数を減らすことができる

Raspberry Pi


/boot/cmdline.txt を次のように編集する。

$ sudo nano /boot/cmdline.txt
  GNU nano 3.2                    /boot/cmdline.txt
maxcpus=2 console=serial0,115200 console=tty1 root=PARTUUID=d9b3f436-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
“maxcpus= ” の値を1~4の間で指定する。

Back
HOME