Smart way to handle CPU.
bash > cat /etc/systemd/system/setcpuspeed@.service
[Unit]
Description=cpu speed is set for %I
Wants=network.target
Before=network.target
#BindsTo=sys-subsystem-net-devices-%i.device
#After=sys-subsystem-net-devices-%i.device
[Service]
Type=oneshot
ExecStart=/bin/inst_cpupower
ExecStart=/sbin/modprobe acpi-cpufreq
ExecStart=/usr/bin/cpupower frequency-set --max %I
#ExecStart=/usr/bin/cpufreq-set --max %I
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
bash > cat /bin/inst_cpupower
bash > systemctl enable setcpuspeed@3.4GHz
bash > systemctl start setcpuspeed@3.4GHz
CPU's downclock makes possible to avoid local overheats which cannot be prevented w/ even the best cooling systems + too high frequency provides eddy currents to activate parasitic circuitries.
Comments
Post a Comment