public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>,
	Matthias Schniedermeyer <ms@citd.de>
Cc: Bernd Eckenfels <ecki-news2004-05@lina.inka.de>,
	linux-kernel@vger.kernel.org
Subject: MM patches (was Re: why swap at all?)
Date: Sat, 29 May 2004 18:40:37 +1000	[thread overview]
Message-ID: <40B84C85.8010207@yahoo.com.au> (raw)
In-Reply-To: <200405291031.02564.vda@port.imtp.ilyichevsk.odessa.ua>

Denis Vlasenko wrote:

> (pages with program/library code, data of e.g. your Mozilla, etc),
> please submit a report to lkml. VM gurus said more than once
> that they _want_ to fix things, but need to know how to reproduce.

Yep.

Thanks to everyone's input I was able to test and adapt my mm work.
It is hopefully at a stage where it can have wider testing now. It
is stable on my SMP system under very heavy swapping, but the usual
caution applies.

Test is 4 x cat 8GB > /dev/null (aggregate 100-200MB/s!) while in X,
with xterms and mozilla open browsing and grepping kernel tree, etc.

Plain 2.6.7-rc1-mm1 swapped 200MB then completely froze up the system
within 9 seconds of starting the read load. Things remained fairly
responsive with my patch applied. A bit of swap out, but very little
swap in, which is good. The entire 32GB went through the pagecache no
problem.

A couple of concurrent mkisofs's writing 4 GB isos don't seem to be
any problem either with the patched kernel. Haven't tried plain -mm
yet.

http://www.kerneltrap.org/~npiggin/nickvm-267r1m1.gz

It is a cocktail of cleanups, simplification, and enhancements. The
main ones that applie here is my split active lists patch (search
archives for details), and explicit use-once logic.

Known issue: page reclaim can get a little bit lumpy (ie lots of
memory freed up at once), but that is just a matter of teaching
things not to bite off massive chunks at a time when it starts
hitting memory pressure.

  reply	other threads:[~2004-05-29  8:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.fegqf9v.kmidof@ifi.uio.no>
     [not found] ` <fa.bqpvcrs.u648jq@ifi.uio.no>
2004-05-27 11:39   ` why swap at all? Andy Lutomirski
2004-05-28 21:37     ` Denis Vlasenko
2004-05-28 22:28       ` Bernd Eckenfels
2004-05-29  7:31         ` Denis Vlasenko
2004-05-29  8:40           ` Nick Piggin [this message]
2004-05-29  8:46             ` MM patches (was Re: why swap at all?) Nick Piggin
     [not found]             ` <200405292014.23559.matt@lpbproductions.com>
2004-05-30  3:31               ` Nick Piggin
2004-05-31 13:13             ` Tvrtko A. Uršulin
2004-05-31 13:33               ` Con Kolivas
2004-05-31 17:34             ` Andy Lutomirski
2004-05-31 10:49         ` why swap at all? jlnance
2004-06-01 11:57           ` Lenar Lõhmus
2004-06-01 12:27             ` Robin Rosenberg
2004-06-01 16:49             ` jlnance
2004-06-01 17:38               ` why swap at all? (what the user feels) Martin Olsson
2004-06-01 17:57                 ` Valdis.Kletnieks
2004-06-01 18:01                 ` David Schwartz
2004-06-01 19:01                   ` Robin Rosenberg
2004-06-01 19:04                     ` David Schwartz
2004-06-02 18:38               ` why swap at all? John Hendrikx
2004-06-01 12:21           ` David B. Stevens
2004-05-31 15:48 MM patches (was Re: why swap at all?) Zoltan Boszormenyi

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=40B84C85.8010207@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=ecki-news2004-05@lina.inka.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ms@citd.de \
    --cc=vda@port.imtp.ilyichevsk.odessa.ua \
    /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