Comment on Why is my home server using so much RAM for cache + buffer?
brucethemoose@lemmy.world 5 days agoI mean… it’s clearly an issue for some. OP’s system is swapping the SSD when it clearly should not be doing it. My system had horrible usability issues in some scenarios without tons of configuration, and thrashed my SSD for no benefit.
The default heuristic is not good for our systems.
And support for TRIM and whatever else was added for SSD support is not really the issue, here.
non_burglar@lemmy.world 5 days ago
No, sorry. We don’t know enough to say this. What were the options when configuring ext4? What record size is grafana using? Mariadb or postgres? Is there contention with another db? Is there a mounted NFS path in the same ext4 partition with weird block settings? There are lots of legitimate config reasons for op’s problem, but there are so many parts of op’s setup we don’t know, we similarly can’t possibly know what the issue is.
Swappiness works as intended in most default scheduler configurations and seeing high swap is a symptom, not an issue. It is almost always more productive to find out why the swapping is happening.