Re: /proc/sys/vm/swappiness == 0 makes OOM killer go beserk
- From: Ram Gupta <ram.gupta5@xxxxxxxxx>
- Date: Fri, 13 Jan 2006 12:04:04 -0600
On 1/13/06, Jim MacBaine <jmacbaine@xxxxxxxxx> wrote:
> On 1/13/06, Ram Gupta <ram.gupta5@xxxxxxxxx> wrote:
> It _would_ be ok if swappiness == 0 would mean that the kernel will
> not swap at all. That's not the case. Even without an excessive use of
> tmpfs the kernel found ~250 MB of unused memory which it swapped out
> during the last days with swappiness == 0.
>
> Regards,
> Jim
>
I correct myself. swappiness == 0 does not mean that kernel will not try to
swap at all but this value decreases the swapping.
swap_tendency = mapped_ratio / 2 + distress + vm_swappiness;
swap_tendency depends on swappiness and affects the memory reclaimation.
Regards
Ram Gupta
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- /proc/sys/vm/swappiness == 0 makes OOM killer go beserk
- From: Jim MacBaine
- Re: /proc/sys/vm/swappiness == 0 makes OOM killer go beserk
- From: Ram Gupta
- Re: /proc/sys/vm/swappiness == 0 makes OOM killer go beserk
- From: Jim MacBaine
- /proc/sys/vm/swappiness == 0 makes OOM killer go beserk
- Prev by Date: Re: [PATCH] scsi/aha1740.c Handle scsi_add_host failure
- Next by Date: Re: PATCH [1/2] scsi/BusLogic.c:Handle scsi_add_host failure
- Previous by thread: Re: /proc/sys/vm/swappiness == 0 makes OOM killer go beserk
- Next by thread: Re: /proc/sys/vm/swappiness == 0 makes OOM killer go beserk
- Index(es):
Relevant Pages
|