mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-14 15:54:25 +00:00
30 lines
732 B
Markdown
30 lines
732 B
Markdown
# Lower the power consumption
|
|
|
|
1. [TL;DR](#tldr)
|
|
1. [Sources](#sources)
|
|
|
|
## TL;DR
|
|
|
|
```sh
|
|
echo '0' > '/proc/sys/kernel/nmi_watchdog'
|
|
echo 'med_power_with_dipm' > '/sys/class/scsi_host/host0/link_power_management_policy'
|
|
|
|
# Increase the virtual memory dirty writeback time to help aggregating disk I/O
|
|
# together. This reduces spanned disk writes.
|
|
# Value is in 1/100s of seconds. Default is 500 (5 seconds).
|
|
echo 6000 > '/proc/sys/vm/dirty_writeback_centisecs'
|
|
sudo sysctl vm.dirty_writeback_centisecs=6000
|
|
```
|
|
|
|
## Sources
|
|
|
|
- Arch Wiki's [power management][arch wiki power management] page
|
|
|
|
<!--
|
|
Reference
|
|
═╬═Time══
|
|
-->
|
|
|
|
<!-- Others -->
|
|
[arch wiki power management]: https://wiki.archlinux.org/title/Power_management
|