linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@redhat.com>
To: Nikita Danilov <nikita@clusterfs.com>
Cc: Marcelo Tosatti <marcelo.tosatti@cyclades.com>,
	akpm@osdl.org, linux-mm@kvack.org
Subject: Re: [PATCH] ignore referenced pages on reclaim when OOM
Date: Mon, 8 Nov 2004 16:56:25 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0411081655410.8589-100000@chimarrao.boston.redhat.com> (raw)
In-Reply-To: <16783.59834.7179.464876@thebsh.namesys.com>

On Tue, 9 Nov 2004, Nikita Danilov wrote:

>  > Speeds up extreme load performance on Rik's tests.
> 
> I recently tested quite similar thing, the only dfference being that in
> my case references bit started being ignored when scanning priority
> reached 2 rather than 0.
> 
> I found that it _degrades_ performance in the loads when there is a lot
> of file system write-back going from tail of the inactive list (like
> dirtying huge file through mmap in a loop).

Well yeah, when you reach priority 2, you've only scanned
1/4 of memory.  On the other hand, when you reach priority
0, you've already scanned all pages once - beyond that point
the referenced bit really doesn't buy you much any more.

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

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

  reply	other threads:[~2004-11-08 21:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-08 18:18 Marcelo Tosatti
2004-11-08 21:48 ` Nikita Danilov
2004-11-08 21:56   ` Rik van Riel [this message]
2004-11-08 18:48     ` Marcelo Tosatti
2004-11-08 22:28     ` Andrew Morton
2004-11-10 18:41       ` Marcelo Tosatti
2004-11-10 22:29         ` Andrew Morton
2004-11-10 20:09           ` Marcelo Tosatti
2004-11-12 16:10           ` 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=Pine.LNX.4.44.0411081655410.8589-100000@chimarrao.boston.redhat.com \
    --to=riel@redhat.com \
    --cc=akpm@osdl.org \
    --cc=linux-mm@kvack.org \
    --cc=marcelo.tosatti@cyclades.com \
    --cc=nikita@clusterfs.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