refactor(kb): give linux-specific articles their own section

This commit is contained in:
Michele Cereda
2024-05-15 18:58:01 +02:00
parent 0ac246f571
commit 59ee94ccac
16 changed files with 137 additions and 117 deletions

View 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