系统日志对 SSD 伤害也很大,我算了一下前几年的日写入量,平均每天约 26G,电脑待机啥也没干,半天也能写好几个 G。自〈 我的 SSD 快要寿终正寝了? 〉之后,我屏蔽了大量的日志(那些日志对诊断错误其实没什么帮助,量太大了,巨细靡遗,根本看不过来),现在每天监控,日写入量已经稳定在 4G 左右:
⋊> [~] tail -F ~/my-ssd-total-writes.log
│ 2020-11-30 12:30:06 │ 36(days) │ 1901468(blks) │ 171(GiB) │ 4(GiB/Day) │
│ 2020-12-01 12:30:06 │ 37(days) │ 1901559(blks) │ 174(GiB) │ 4(GiB/Day) │
│ 2020-12-02 12:30:06 │ 38(days) │ 1901673(blks) │ 178(GiB) │ 4(GiB/Day) │
│ 2020-12-03 12:30:06 │ 39(days) │ 1901774(blks) │ 181(GiB) │ 4(GiB/Day) │
│ 2020-12-04 12:30:06 │ 40(days) │ 1901913(blks) │ 185(GiB) │ 4(GiB/Day) │
│ 2020-12-05 12:30:06 │ 41(days) │ 1901986(blks) │ 188(GiB) │ 4(GiB/Day) │
│ 2020-12-06 12:30:06 │ 42(days) │ 1902122(blks) │ 192(GiB) │ 4(GiB/Day) │
│ 2020-12-07 12:30:06 │ 43(days) │ 1902257(blks) │ 196(GiB) │ 4(GiB/Day) │
│ 2020-12-08 12:30:06 │ 44(days) │ 1902365(blks) │ 199(GiB) │ 4(GiB/Day) │
│ 2020-12-09 12:30:02 │ 45(days) │ 1902518(blks) │ 204(GiB) │ 4(GiB/Day) │
│ 2020-12-10 12:30:06 │ 46(days) │ 1902701(blks) │ 210(GiB) │ 4(GiB/Day) │
│ 2020-12-11 12:30:06 │ 47(days) │ 1902881(blks) │ 216(GiB) │ 4(GiB/Day) │
│ 2020-12-12 12:30:06 │ 48(days) │ 1903086(blks) │ 222(GiB) │ 4(GiB/Day) │
│ 2020-12-13 12:30:06 │ 49(days) │ 1903260(blks) │ 227(GiB) │ 4(GiB/Day) │
│ 2020-12-14 12:30:06 │ 50(days) │ 1903393(blks) │ 232(GiB) │ 4(GiB/Day) │
│ 2020-12-15 12:30:06 │ 51(days) │ 1903531(blks) │ 236(GiB) │ 4(GiB/Day) │
│ 2020-12-16 12:30:06 │ 52(days) │ 1903687(blks) │ 241(GiB) │ 4(GiB/Day) │
│ 2020-12-17 12:30:06 │ 53(days) │ 1903859(blks) │ 246(GiB) │ 4(GiB/Day) │
│ 2020-12-18 12:30:06 │ 54(days) │ 1904130(blks) │ 255(GiB) │ 4(GiB/Day) │
│ 2020-12-19 12:30:06 │ 55(days) │ 1904266(blks) │ 259(GiB) │ 4(GiB/Day) │