All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roger Larsson <roger.larsson@norran.net>
To: "linux-kernel@vger.rutgers.edu" <linux-kernel@vger.rutgers.edu>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: [PATCH] test5-1 vmfix-3.0
Date: Fri, 21 Jul 2000 22:47:23 +0200	[thread overview]
Message-ID: <3978B6DB.A0CCC681@norran.net> (raw)
In-Reply-To: 3976205E.4C604102@norran.net

Hi again,

Reread what I had written.
One documentation error.

Roger Larsson wrote:
> 
> Hi,
> 
> Another attempt.
> 
> With this patch I get noticeable improvements in streaming write +16%!
> (streaming write throughput is close to streaming read :-)
> 
> dbench results are mixed - slightly worse than plain test5-1...
> It now survives mmap002, as opposed to vmfix-2.x :-)  there were
> bugs of cause.
> 
> * Basic idea in this patch is to keep free pages of zones in the
>   range [pages_high ... pages_low].

This part:
>                                     Kswapd will only run until
>   one zone gets pages_high. In this situation pages from all zones
>   are free able.

Should read:

Kswapd will start when all zones have zone_wake_kswapd
(free_pages < pages_low). In this situation pages from all zones are
freeable. Kswapd will run until one zone drops zone_wake_kswapd
(free_pages > pages_high).


> * In addition kswapd will run if any zone has less than pages_low.
> 
> * Actually implemented by using three values in zone_wake_kswapd
>   0 = zone initially above pages_high, allocs allowed until zone
>       gets < pages_low
>   1 = zone < pages_low
>  -1 = additional alloc done after zone become < pages_low
>  Most of the time there will only be one zone to with
>  zone_wake_kswapd zero. This zone will get the allocs until it
>  also gets < pages_low, then kswapd starts and runs until any
>  zone gets > pages_high - it will probably be another zone. Now
>  that one gets the allocs, ...
> 
> * There are some additional stuff that needs cleaning / further
>   investigations.
> 
> /RogerL
> 
> --
> Home page:
>   http://www.norran.net/nra02596/
> 
>   ------------------------------------------------------------------------
>                                    Name: patch-2.4.0-test5-1-vmfix.30
>    patch-2.4.0-test5-1-vmfix.30    Type: Plain Text (text/plain)
>                                Encoding: 7bit

--
Home page:
  http://www.norran.net/nra02596/
--
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-07-21 20:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-19 21:40 [PATCH] test5-1 vmfix-3.0 Roger Larsson
2000-07-20  6:48 ` Mike Galbraith
2000-07-21 20:47 ` Roger Larsson [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=3978B6DB.A0CCC681@norran.net \
    --to=roger.larsson@norran.net \
    --cc=linux-kernel@vger.rutgers.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.