mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
refactor(kb): give linux-specific articles their own section
This commit is contained in:
29
knowledge base/linux/lower the power consumption.md
Normal file
29
knowledge base/linux/lower the power consumption.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user