public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rik van Riel <riel@redhat.com>
To: Abhijit Bhopatkar <bainonline@gmail.com>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@osdl.org>,
	akpm@osdl.org, jgarzik@pobox.com, Chris Snook <csnook@redhat.com>
Subject: Re: [PATCH] [RFC] Throttle swappiness for interactive tasks
Date: Thu, 19 Apr 2007 00:29:44 -0400	[thread overview]
Message-ID: <4626F038.8020606@redhat.com> (raw)
In-Reply-To: <2ff216280704182014h6ff2eed3g4301ee8d1bfbed14@mail.gmail.com>

Abhijit Bhopatkar wrote:

> I just wanted to know weather its worth going forward or we have
> better reasons to discount any such direction?

The reason that the wrong pages get swapped out sometimes
could be due to a side effect of the way the swappiness
policy is implemented.

While the VM only reclaims page cache pages, it will still
rotate through the anonymous pages on the LRU list, which
effectively randomizes the order of those pages on the list.

I need to get back to benchmarking my patch to split the
lists - anonymous and other swap backed pages on one set
of pageout lists, filesystem backed pages on another list.

One report I got was that the system is more interactive
under very heavy load, and my desktop system at the office
seems to behave better than it used to when I get back to
it after a few days.

Unfortunately my main desktop system at home depends on
Xen, so it's not as easy to use that patch there :(

-- 
Politics is the struggle between those who want to make their country
the best in the world, and those who believe it already is.  Each group
calls the other unpatriotic.

  parent reply	other threads:[~2007-04-19  4:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-18 12:10 [PATCH] [RFC] Throttle swappiness for interactive tasks अभिजित भोपटकर (Abhijit Bhopatkar)
2007-04-18 17:04 ` Chris Snook
2007-04-18 20:52 ` Rik van Riel
     [not found]   ` <2ff216280704182014h6ff2eed3g4301ee8d1bfbed14@mail.gmail.com>
2007-04-19  4:29     ` Rik van Riel [this message]
2007-04-19  5:22       ` Abhijit Bhopatkar
2007-04-19  7:07         ` Rik van Riel

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=4626F038.8020606@redhat.com \
    --to=riel@redhat.com \
    --cc=akpm@osdl.org \
    --cc=bainonline@gmail.com \
    --cc=csnook@redhat.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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