linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@conectiva.com.br>
To: Benjamin Redelings I <bredelin@ucla.edu>
Cc: linux-mm@kvack.org
Subject: Re: Happiness with t8-vmpatch4 (was Re:  Does page-aging really work?)
Date: Sat, 16 Sep 2000 15:22:36 -0300 (BRST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0009161521020.1519-100000@duckman.distro.conectiva> (raw)
In-Reply-To: <39C3BA07.9525723F@ucla.edu>

On Sat, 16 Sep 2000, Benjamin Redelings I wrote:

> > This is indeed something to look at. Maybe we could give
> > idle processes (sleeping for more than 20 seconds?) a
> > "full" swap_cnt instead of swap_cnt = rss >> SWAP_SHIFT ?
>
>  This doesn't seem like it should be necessary.  Right now,
> unused processes ARE swapped preferentially (and completely) -
> its just that swapping happens all of a sudden.

We may be able to fix that by swapping long-idle processes
before we have eaten all of the cache. 

> 	Evicting unused pages, either from the cache or from
> process can have significant benefits on my machine (64Mb).  
> Once swapping triggered, 20Mb were paged out, and stayed out.  
> If these 20 Mb had been paged out before, then I would have had
> 20Mb more cache to work with, which is 31% of my memory.  Go
> figure :)

*nod*

> BTW, with test8-vmpatch4, I am gettings zillions of "VM:
> page_launder, found pre-cleaned page ?!" messages.

No you're not. That's test8-vmpatch3.
This is fixed in -vmpatch4...

(and the comments in the code have been
updated to explain how and what)

regards,

Rik
--
"What you're running that piece of shit Gnome?!?!"
       -- Miguel de Icaza, UKUUG 2000

http://www.conectiva.com/		http://www.surriel.com/

--
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.eu.org/Linux-MM/

      reply	other threads:[~2000-09-16 18:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-08 21:34 Multiqueue VM Patch OK? Does page-aging really work? Benjamin Redelings I
2000-09-08 22:58 ` Rik van Riel
2000-09-16  7:09   ` Happiness with t8-vmpatch4 (was Re: Does page-aging really work?) Benjamin Redelings I
2000-09-16  7:57     ` Rik van Riel
2000-09-16 18:20       ` Benjamin Redelings I
2000-09-16 18:22         ` Rik van Riel [this message]

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.21.0009161521020.1519-100000@duckman.distro.conectiva \
    --to=riel@conectiva.com.br \
    --cc=bredelin@ucla.edu \
    --cc=linux-mm@kvack.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