Comments - Swap usage won't decrease
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
when systemload don't increase there is nothing wrong with swap out rarely used memory pages
if you are annoyed by swap then just buy RAM for your machines which is cheap these days and on most workloads you can even disable swap entirely
It isn't rarely swapping but constantly since then, even though the system load has decreased.
It seems like adding a few parameters can improve this behaviour (I will have to test it first):
- innodb_buffer_pool_populate (under [mysqld] section) - flush_caches (under [mysqld_safe] section) - numa_interleave (under [mysqld_safe] section)
(taken from https://www.percona.com/doc/percona-server/5.5/performance/innodb_numa_support.html)
I don't think adding more RAM represents a workaround if the memory utilisation isn't balanced within a NUMA architecture.