All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: Andrea Arcangeli <andrea@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.17pre1aa1
Date: Thu, 29 Nov 2001 10:54:46 -0800	[thread overview]
Message-ID: <3C068476.480BC2AD@zip.com.au> (raw)
In-Reply-To: <20011129193007.A2997@athlon.random>

Andrea Arcangeli wrote:
> 
> Only in 2.4.15aa1: 10_vm-17
> Only in 2.4.17pre1aa1: 10_vm-18
> 
>         Minor vm tweaks in function of the feedback received.
>         Included Andrews' dirty += BUF_LOCKED.
> 

OK.  One think I notice is that you've also decreased nfract,nfract_sync
from (40%,60%) to (20%,40%).  So taken together, these changes mean
that we'll start writeout much earlier, and will block writers much
earlier.  What's the thinking here?

I received some interesting results from Mike Galbraith today.
Quoted without permission...

> 2.5.1-pre1
> 
> This was initial test of effect on throughput at generic page
> mover load.. parallel make of kernel.
> 
> real    7m54.873s
> user    6m41.070s
> sys     0m30.170s
> 
> user  :       0:06:47.35  72.6%  page in :   661891
> nice  :       0:00:00.00   0.0%  page out:   708836
> system:       0:00:47.42   8.5%  swap in :   140234
> idle  :       0:01:46.26  18.9%  swap out:   172775
> 
> 2.5.1-pre1+vm-fixes
> real    7m48.438s
> user    6m41.070s
> sys     0m29.570s
> 
> user  :       0:06:47.89  74.9%  page in :   666952
> nice  :       0:00:00.00   0.0%  page out:   621296
> system:       0:00:47.70   8.8%  swap in :   142391
> idle  :       0:01:28.94  16.3%  swap out:   150721 * (free)
> 
> (very interesting imho.. particularly idle time)
> 
> 2.5.1-pre1+vm-fixes+elevator
> real    8m13.386s
> user    6m38.330s
> sys     0m31.680s
> 
> user  :       0:06:45.24  70.3%  page in :   596724
> nice  :       0:00:00.00   0.0%  page out:   574456
> system:       0:00:47.79   8.3%  swap in :   123507
> idle  :       0:02:03.64  21.4%  swap out:   138675
> 
> (free for this load)
> 
> 2.5.1-pre1+vm-fixes+elevator+mini-ll
> real    8m12.437s
> user    6m38.860s
> sys     0m31.680s
> 
> user  :       0:06:45.90  71.0%  page in :   604385
> nice  :       0:00:00.00   0.0%  page out:   572588
> system:       0:00:47.50   8.3%  swap in :   126731
> idle  :       0:01:58.05  20.7%  swap out:   138055

So we see that the dirty += BUF_LOCKED thing appears to
increase the parallel-make-on-64meg-machine workload.

Unfortunately the vm-fixes patch also has a few tweaks
to decrease swapout and eviction, and we can see from Mike's
numbers that the page in/out rate has dropped quite a bit.
So we don't know which change caused the (rather modest)
throughput improvement.

We also see that the elevator read latency improvements
have caused a 5%-6% drop in throughput, which is to be
expected.  Tuning that back with `elvtune -b' will presumably
get the aggregate throughput back, at the expense of interactivity.

Generally, your VM patch is getting really, really large,
Andrea. This is a bit awkward, because we're twiddling so
many knobs at the same time, and there's not a lot of description
about what all the bits do.  Is it possible to break it up
into smaller units?    What are your plans for sending this
patch to Marcelo?

Thanks.

-

  reply	other threads:[~2001-11-29 18:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-29 18:30 2.4.17pre1aa1 Andrea Arcangeli
2001-11-29 18:54 ` Andrew Morton [this message]
2001-11-30 16:39   ` 2.4.17pre1aa1 Mike Galbraith

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=3C068476.480BC2AD@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.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.