On 09/01/2020 08:55, Carlos E. R. wrote:
This is not correct, but it is a common misconception. Your system will have less free memory and less memory used for buffers/cache. A machine with a certain amount of ram and the same workload performs faster with swap used than without.
???? Yes, it will have less free memory, but so what? What do you need the free memory FOR? I can see settings where you need it for very dynamic new process creation, but let's face it, Linux takes the old UNIX model of shared binaries to a fantastic degree. The reality is that for many of us there is very little new process creation going on. Yes, I can see that buffer space is needed. I'm not talking about absolute memory starvation/allocation. I still have around 2G available to be used for IO/network buffers/caching. I'm sure, even so, that there is already significant consumption for inode and dns caching. The reality is that if, like me, you never swap AT ALL though the day, then what's the point of even creating, enabling swap? No, the point I'm trying to make is to do PROFILING to we what is going on with your system. I'm saying that if you let swappiness=60 then you'll start swapping when only 40% of you memory is used. I think that is too low a threshold. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org