Re: swapping and the value of /proc/sys/vm/swappiness

From: Marcelo Tosatti (marcelo.tosatti_at_cyclades.com)
Date: 09/14/04

  • Next message: Thomas S. Iversen: "Re: Losing too many ticks! .... on a VIA epia board"
    Date:	Tue, 14 Sep 2004 17:15:58 -0300
    To: linux-kernel@vger.kernel.org
    
    

    On Tue, Sep 14, 2004 at 11:31:53AM -0700, Florin Andrei wrote:
    > On Mon, 2004-09-06 at 16:27, Andrew Morton wrote:
    > > Con Kolivas <kernel@kolivas.org> wrote:
    >
    > > > The change was not deliberate but there have been some other people report
    > > > significant changes in the swappiness behaviour as well (see archives). It
    > > > has usually been of the increased swapping variety lately. It has been
    > > > annoying enough to the bleeding edge desktop users for a swag of out-of-tree
    > > > hacks to start appearing (like mine).
    > >
    > > All of which is largely wasted effort.
    >
    > >From a highly-theoretical, ivory-tower perspective, maybe; i am not the
    > one to pass judgement.
    > >From a realistic, "fix it 'cause it's performing worse than MSDOS
    > without a disk cache" perspective, definitely not true.
    >
    > I've found a situation where the vanilla kernel has a behaviour that
    > makes no sense:
    >
    > http://marc.theaimsgroup.com/?l=linux-kernel&m=109237941331221&w=2
    > http://marc.theaimsgroup.com/?l=linux-kernel&m=109237959719868&w=2
    > http://marc.theaimsgroup.com/?l=linux-kernel&m=109238126314192&w=2
    >
    > A patch by Con Kolivas fixed it:
    >
    > http://marc.theaimsgroup.com/?l=linux-kernel&m=109410526607990&w=2
    >
    > I cannot offer more details, i have no time for experiments, i just need
    > a system that works. The vanilla kernel does not.

    Have you tried to decrease the value of /proc/sys/vm/swappiness
    to say 30 and see what you get?

    Andrew's point is that we should identify the problem - Con's patch
    rewrites swapping policy.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Thomas S. Iversen: "Re: Losing too many ticks! .... on a VIA epia board"

    Relevant Pages

    • Re: Swapping in 2.6.10 and 2.6.11.11 on a desktop system
      ... Unfortunately this patch does not help either. ... Why does the kernel think that I need 400MB of disk cache when I start some ... plenty of ram and reducing disk cache when applications need the ram, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Real-Time Preemption Patch -RT-2.6.12-final-V0.7.51-26 failed ,to compile
      ... After appling the lastest patch to the ... vanilla kernel I get the following error when compiling the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Zio! compactflash doesnt work
      ... >> Do you mean that that driver will never get into the vanilla kernel? ... I don't really have any objection to the 2.4 patch, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [parisc-linux] Re: [PATCH 3/9] mm: parisc pte atomicity
      ... using your own tmpalias area sounds much better than getting ... I've simply not wrapped my head around the races, ... it looks like we agree that my patch is necessary and valid as is; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: keyboard - was: Re: Linux 2.6.0-test4
      ... >> I was able to get the key unstuck by switching back and forth between ... I rebuild my kernel including your patch; ... I'll get back to you once I verify that the problem doesn't occur ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)