meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
raspberry [2016/04/25 05:56] – niziak | home_automation:raspberry:card_wear [2018/09/10 12:36] (current) – niziak | ||
---|---|---|---|
Line 2: | Line 2: | ||
[[https:// | [[https:// | ||
[[https:// | [[https:// | ||
+ | |||
+ | ===== Check who is writing ===== | ||
+ | Start logging disc access and kernel log: | ||
+ | <code bash> | ||
+ | sysctl vm.block_dump=1 | ||
+ | dmesg -e -T -w | ||
+ | </ | ||
+ | |||
+ | Stop logging: | ||
+ | <code bash> | ||
+ | sysctl vm.block_dump=0 | ||
+ | </ | ||
+ | |||
===== Set noop elevator ===== | ===== Set noop elevator ===== | ||
Line 12: | Line 25: | ||
===== Use tmpfs ===== | ===== Use tmpfs ===== | ||
<file | / | <file | / | ||
- | tmpfs | + | tmpfs |
- | tmpfs | + | tmpfs |
+ | tmpfs / | ||
</ | </ | ||
Line 30: | Line 44: | ||
- | ===== Remove disc logging ===== | + | ===== Disable |
+ | |||
+ | <code bash> | ||
+ | systemctl stop mosquitto | ||
+ | systemctl disable mosquitto | ||
+ | </ | ||
< | < | ||
Line 41: | Line 60: | ||
apt-get install busybox-syslogd | apt-get install busybox-syslogd | ||
</ | </ | ||
+ | |||
+ | <file / | ||
+ | SYSLOG_OPTS=" | ||
+ | KLOG_OPTS="" | ||
+ | </ | ||
Use journald and configure it to use RAM: | Use journald and configure it to use RAM: |