On 2021-10-26 10:24 AM, Shawn Heisey wrote:
...
I don't think swap is the problem.  Disabling swap entirely would be a good test to confirm.  For general server use cases, I would not recommend that action, but for dedicated systems with plenty of memory like what is described in this thread, running without swap space seems like a very good idea.

But check your /etc/fstab first and make sure nothing is mounted as tmpfs.

You really should stick in an SSD and have a 64G swap partition on it: it won't hurt and it costs nothing. You should also check `iostat -dmx` when your system's "slow", e.g. seeing > 100% utilization on disk writes usually means a non-TLER disk going bad and not telling the OS about it (and slowing everything down to a crawl).

Dima

Reply via email to