linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Ed Tomlinson <tomlins@cam.org>
To: Rik Van Riel <riel@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	Song Jiang <sjiang@lanl.gov>
Subject: Re: [PATCH] 0/2 swap token tuning
Date: Mon, 27 Jun 2005 19:46:32 -0400	[thread overview]
Message-ID: <200506271946.33083.tomlins@cam.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0506261827500.18834@chimarrao.boston.redhat.com>

On Sunday 26 June 2005 18:34, Rik Van Riel wrote:
> A while ago the swap token (aka token based thrashing control)
> mechanism was introduced into Linux.  This code improves performance
> under heavy VM loads, but can reduce performance under very light
> VM loads.
> 
> The cause turns out to be me overlooking something in the original
> token based thrashing control paper: the swap token is only supposed
> to be enforced while the task holding the swap token is paging data
> in, not while the task is running (and referencing its working set).
> 
> The temporary solution in Linux was to disable the swap token code
> and have users turn it on again via /proc.  The following patch
> instead approximates the "only enforce the swap token if the task
> holding it is swapping something in" idea.  This should make sure
> the swap token is effectively disabled when the VM load is low.
> 
> I have not benchmarked these patches yet; instead, I'm posting
> them before the weekend is over, hoping to catch a bit of test
> time from others while my own tests are being run ;)

Rik,

What are the suggested  values to put into /proc/sys/vm/swap_token_timeout ?
The docs are not at all clear about this (proc/filesystems.txt).

TIA,
Ed Tomlinson
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

  parent reply	other threads:[~2005-06-27 23:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-26 22:34 Rik Van Riel
2005-06-26 22:34 ` [PATCH] 1/2 " Rik Van Riel
2005-06-26 22:35 ` [PATCH] 2/2 " Rik Van Riel
2005-06-27 13:04   ` Martin Schlemmer
2005-06-27 13:08     ` Rik Van Riel
2005-06-27 13:47       ` Martin Schlemmer
2005-06-27 23:46 ` Ed Tomlinson [this message]
2005-06-27 23:59   ` [PATCH] 0/2 " Rik Van Riel
2005-06-28  0:04     ` Rik Van Riel
2005-06-28  0:06       ` 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=200506271946.33083.tomlins@cam.org \
    --to=tomlins@cam.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=riel@redhat.com \
    --cc=sjiang@lanl.gov \
    /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