I'm trying to make sense of this free -m
output:
total used free shared buffers cached
Mem: 7971 7608 363 1 17 4703
-/+ buffers/cache: 2887 5084
Swap: 975 967 8
So swap is used even though only 3GB out of 8GB RAM is actually used by processes? Why does this happen, shouldn't the OS use less memory for fs cache instead of using swap?
OS is Ubuntu 14.04.3 LTS
with default settings.
SwapCached: 52536 kB
so I guess the remaining 920 mb of swap usage are still a mystery – Fluffy Jan 22 '16 at 15:24