On 27.05.2014 08:10, Brett Lymn wrote:
On Tue, May 27, 2014 at 08:04:54AM +0200, bodie wrote:

Setting swappiness to 0 helps more, but then why is that parameter here
at all?
Why Linux is swapping most used pages even as there's plenty of free
RAM and cache is
total mystery.


because it is doing exactly what you asked it to do. This isn't a linux
list so I won't bother explaining why but it just goes to show if you
play with things you don't understand you can end up shooting yourself
in the foot and then amplify the effect by telling everyone.

I did not ask Linux to swap something if there's plenty of RAM and cache. Especially not stuff which is actively used. That's called failed design. Was not happening couple of years back and is not happening inside my OpenBSD
systems.

I know that there's number of other knobs to "tune it", but I don't want to waste my time with them. And I know what's vm.swappiness doing just that's it's not worth of it especially in distro like Ubuntu which is supposed to work for most of the typical home users. System on HW where all devices are working in that system and which swap and lags even during simplest usage can't be considered proper design at all no matter if fiddling with knobs can improve/fix situation. It's more fine example of bad design decisions
like oom-killer, systemd and such.


--
Brett Lymn
This email has been sent on behalf of one of the following companies
within the BAE Systems Australia group of companies:

BAE Systems Australia Limited - Australian Company Number 008 423 005
    BAE Systems Australia Defence Pty Limited - Australian Company
Number 006 870 846
    BAE Systems Australia Logistics Pty Limited - Australian Company
Number 086 228 864

Our registered office is Evans Building, Taranaki Road, Edinburgh Parks, Edinburgh, South Australia, 5111. If the identity of the sending company is
not clear from the content of this email please contact the sender.

This email and any attachments may contain confidential and legally
privileged information.  If you are not the intended recipient, do
not copy or
disclose its content, but please reply to this email immediately and
highlight
the error to the sender and then immediately delete the message.

Reply via email to