mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Abhijit Bhopatkar" <bainonline@gmail.com>
To: "Rik van Riel" <riel@redhat.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 10:52:44 +0530	[thread overview]
Message-ID: <2ff216280704182222w32d46b34u4168cf859032520a@mail.gmail.com> (raw)
In-Reply-To: <4626F038.8020606@redhat.com>

> > 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.

In my mind i find it fundamentally wrong to separate anon pages from
page cache. It should rather be lot more dependent on which task
accessed them last. Although it seems due to some twisted relationships
bet anon pages and interactive tasks separating them improves it.
Am i missing something here?

> 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.
<snip>
> Unfortunately my main desktop system at home depends on
> Xen, so it's not as easy to use that patch there :(
>

Can you send me those patches please or point me to where i can find those?

Abhijit

  reply	other threads:[~2007-04-19  5:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-18 12:10 अभिजित भोपटकर (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
2007-04-19  5:22       ` Abhijit Bhopatkar [this message]
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=2ff216280704182222w32d46b34u4168cf859032520a@mail.gmail.com \
    --to=bainonline@gmail.com \
    --cc=akpm@osdl.org \
    --cc=csnook@redhat.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@redhat.com \
    --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

all inboxes | Powered by JetHome®