From: Ram Gupta <ram.gupta5@gmail.com>
To: Jim MacBaine <jmacbaine@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: /proc/sys/vm/swappiness == 0 makes OOM killer go beserk
Date: Fri, 13 Jan 2006 12:04:04 -0600 [thread overview]
Message-ID: <728201270601131004l6a3ed526q3846d4c485e3fc07@mail.gmail.com> (raw)
In-Reply-To: <3afbacad0601130843k6cf548e5y638b9ae3434096fa@mail.gmail.com>
On 1/13/06, Jim MacBaine <jmacbaine@gmail.com> wrote:
> On 1/13/06, Ram Gupta <ram.gupta5@gmail.com> 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
next prev parent reply other threads:[~2006-01-13 18:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-13 15:55 Jim MacBaine
2006-01-13 16:32 ` Ram Gupta
2006-01-13 16:43 ` Jim MacBaine
2006-01-13 18:04 ` Ram Gupta [this message]
[not found] <5uzvD-8tr-19@gated-at.bofh.it>
2006-01-14 11:02 ` Nick Craig-Wood
2006-01-14 13:53 ` Jim MacBaine
2006-01-14 15:45 ` Denis Vlasenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=728201270601131004l6a3ed526q3846d4c485e3fc07@mail.gmail.com \
--to=ram.gupta5@gmail.com \
--cc=jmacbaine@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®