On 2020/03/04 07:46, James Knott wrote:
I'm running 15.1 & KDE. One thing I've noticed is swap use increases through time, even though I'm not even using all the real memory. Eventually, it gets to the point where my system bogs down and can become unusable. At the moment, I'm running 13.6 GiB of 15.6 memory and 4.1 of 24 swap. Why should swap be used at all, when there's still a significant amount of free memory?
On 2020/03/04 07:46, James Knott wrote:
I'm running 15.1 & KDE. One thing I've noticed is swap use increases through time, even though I'm not even using all the real memory. Eventually, it gets to the point where my system bogs down and can become unusable. At the moment, I'm running 13.6 GiB of 15.6 memory and 4.1 of 24 swap. Why should swap be used at all, when there's still a significant amount of free memory?
How are you calculating free memory? I.e. on my server right now shows 96M free out of 165G, but almost 160 of that memory is file system cache. (using free command). If you are actively swapping, you are trying to put more in memory that wants to fit. I keep swap around at linus's suggestion because there are something that are used at boot time, but not really used again, so they can be moved to swap freeing up real memory. Right now with uptime:
uptime 16:27pm up 47 days 1:16, 3 users, load average: 0.19, 0.20, 0.18 free shows: free total used free shared buff/cache available Mem: 165050452 4300396 960160 2588 159789896 159551156 Swap: 8393924 13836 8380088
And that's stable for my usage, I don't really use more swap than that. But it's 13.8MB memory that is freed up for file cache usually. Load:0.69 Threads: 526 Cpu: 5.8% -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org