linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin LaHaise <bcrl@redhat.com>
To: William Lee Irwin III <wli@holomorphy.com>,
	Andrew Morton <akpm@zip.com.au>,
	Rik van Riel <riel@conectiva.com.br>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: throttling dirtiers
Date: Wed, 31 Jul 2002 16:23:57 -0400	[thread overview]
Message-ID: <20020731162357.Q10270@redhat.com> (raw)
In-Reply-To: <20020731200612.GJ29537@holomorphy.com>; from wli@holomorphy.com on Wed, Jul 31, 2002 at 01:06:12PM -0700

On Wed, Jul 31, 2002 at 01:06:12PM -0700, William Lee Irwin III wrote:
> I'm not a fan of this kind of global decision. For example, I/O devices
> may be fast enough and memory small enough to dump all memory in < 1s,
> in which case dirtying most or all of memory is okay from a latency
> standpoint, or it may take hours to finish dumping out 40% of memory,
> in which case it should be far more eager about writeback.

Why?  Filling the entire ram with dirty pages is okay, and in fact you 
want to support that behaviour for apps that "just fit" (think big 
scientific apps).  The only interesting point is that when you hit the 
limit of available memory, the system needs to block on *any* io 
completing and resulting in clean memory (which is reasonably low 
latency), not a specific io which may have very high latency.

		-ben
-- 
"You will be reincarnated as a toad; and you will be much happier."
--
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/

  reply	other threads:[~2002-07-31 20:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-31  8:26 Andrew Morton
2002-07-31 20:06 ` William Lee Irwin III
2002-07-31 20:23   ` Benjamin LaHaise [this message]
2002-07-31 20:26     ` Rik van Riel
2002-07-31 20:59     ` William Lee Irwin III
2002-07-31 21:02     ` Andrew Morton
2002-07-31 21:14       ` Benjamin LaHaise
2002-07-31 21:25         ` Rik van Riel
2002-07-31 21:32           ` Andrew Morton
2002-07-31 21:55             ` Rik van Riel
2002-07-31 22:24               ` Andrew Morton
2002-07-31 22:32                 ` Rik van Riel
2002-07-31 21:28         ` Andrew Morton
2002-07-31 21:35           ` 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=20020731162357.Q10270@redhat.com \
    --to=bcrl@redhat.com \
    --cc=akpm@zip.com.au \
    --cc=linux-mm@kvack.org \
    --cc=riel@conectiva.com.br \
    --cc=wli@holomorphy.com \
    /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