[lkml]   [2012]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC][PATCH] avoid swapping out with swappiness==0
    On Thu, 26 Apr 2012, KOSAKI Motohiro wrote:

    > (4/26/12 10:50 AM), Christoph Lameter wrote:
    > > On Tue, 24 Apr 2012, Richard Davies wrote:
    > >
    > > > I strongly believe that Linux should have a way to turn off swapping
    > > > unless
    > > > absolutely necessary. This means that users like us can run with swap
    > > > present for emergency use, rather than having to disable it because of the
    > > > side effects.
    > >
    > > Agree. And this ooperation mode should be the default behavior given that
    > > swapping is a very slow and tedious process these days.
    > Even though current patch is not optimal, I don't disagree this opinion. Can
    > you please explain your use case? Why don't you use swapoff?

    Because I do not want to have systems go OOM. In an emergency lets use
    swap (and maybe generate some sort of alert if that happens).

    > Off topic: I hope linux is going to aim good swap clustered io in future.
    > Especially
    > when using THP, 4k size io is not really good.

    Swap to regular disks is going to be an ever greater problem since
    the access speed of rotational media has not changed much whereas the
    processing performance of the cpu has increased significantly. There is an
    ever increasing gap in speed.

     \ /
      Last update: 2012-04-26 20:25    [W:3.992 / U:0.816 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site