linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@conectiva.com.br>
To: Jamie Lokier <lk@tantalophile.demon.co.uk>
Cc: Martin Josefsson <gandalf@wlug.westbo.se>,
	"David S. Miller" <davem@redhat.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	torvalds@transmeta.com
Subject: Re: [PATCH *] VM patch for 2.4.0-test8
Date: Fri, 15 Sep 2000 19:04:36 -0300 (BRST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0009151902530.1075-100000@duckman.distro.conectiva> (raw)
In-Reply-To: <20000915213726.A9965@pcep-jamie.cern.ch>

On Fri, 15 Sep 2000, Jamie Lokier wrote:
> Martin Josefsson wrote:
> > I've been trying to get my machine to swap but that seems hard with this
> > new patch :) I have 0kB of swap used after 8h uptime, and I have been
> > compiling, moving files between partitions and running md5sum on files
> > (that was a big problem before, everything ended up on the active list and
> > the swapping started and brought my machine down to a crawl)
> 
> No preemptive page-outs?

Yes. The system tries to keep about 1 second worth of
allocations on the inactive list (+ freepages.high).

If you're allocating lots of memory very fast, the
system /will/ try to swap out things beforehand...

> 0kB swap means if you suddenly need a lot of memory, inactive
> application pages have to be written to disk first.  There are
> always inactive application pages.

Indeed there are, but since we don't do physical page
based scanning yet, we don't deactivate pages from the
RSS of processes in the background yet ...

(that's a 2.5 issue)

> Maybe the stats are inaccurate.

Nope. The stats are just fine ;)

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/

      parent reply	other threads:[~2000-09-15 22:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-14  4:30 Rik van Riel
2000-09-14  5:25 ` David S. Miller
2000-09-14  6:11   ` Juan J. Quintela
2000-09-14  8:18     ` David S. Miller
2000-09-14 16:53   ` Rik van Riel
2000-09-14 17:49     ` Rik van Riel
2000-09-15 17:28     ` Martin Josefsson
2000-09-15 19:37       ` Jamie Lokier
2000-09-15 21:07         ` David Ford
2000-09-15 22:04         ` 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.0009151902530.1075-100000@duckman.distro.conectiva \
    --to=riel@conectiva.com.br \
    --cc=davem@redhat.com \
    --cc=gandalf@wlug.westbo.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lk@tantalophile.demon.co.uk \
    --cc=torvalds@transmeta.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