linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Andrew Morton <akpm@digeo.com>
Cc: Con Kolivas <conman@kolivas.net>,
	linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: [BENCHMARK] 2.5.40-mm2 with contest
Date: Thu, 10 Oct 2002 13:32:20 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.3.96.1021010131852.17862A-100000@gatekeeper.tmr.com> (raw)
In-Reply-To: <3DA233EC.1119CD7B@digeo.com>

On Mon, 7 Oct 2002, Andrew Morton wrote:

> Problem is, users have said they don't want that.  They say that they
> want to copy ISO images about all day and not swap.  I think.
> 
> It worries me.  It means that we'll be really slow to react to sudden
> load swings, and it increases the complexity of the analysis and
> testing.  And I really do want to give the user a single knob,
> which has understandable semantics and for which I can feasibly test
> all operating regions.
> 
> I really, really, really, really don't want to get too fancy in there.

It is really desirable to improve write intense performance in 2.5. My
response benchmark shows that 2.5.xx is seriously worse under heavy write
load than 2.4. And in 2.4 it is desirable to do tuning of bdflush for
write loads, to keep performance up in -aa kernels. Andrea was kind enough
to provide me some general hints in this area.

Here's what I think is happening.

1 - the kernel is buffering too much data in the hope that it will
possibly be reread. This is fine, but it results in swapping a lot of
programs to make room, and finally a big cleanup to disk, which
triggers...

2 - without the io scheduler having a bunch of writes has a very bad
effect on read performance, including swap-in. While it's hard to be sure,
I think I see a program getting a fault to page in a data page (while
massive write load is present) and while blocked some of the code pages
are released.

I think there's room for improving the performance, as the "swappiness"
patch shows. I played with trying to block a process after it had a
certain amount of data buffered for write, but it didn't do what I wanted.
I think the total buffered data in the system needs to be considered as
well.

I believe one of the people who actually works on this stuff regularly has
mentioned this, I don't find the post quickly.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.


  parent reply	other threads:[~2002-10-10 17:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-07  3:21 [BENCHMARK] 2.5.40-mm2 with contest Con Kolivas
2002-10-07  7:38 ` Andrew Morton
2002-10-08  1:01   ` Con Kolivas
2002-10-08  1:25     ` Andrew Morton
2002-10-08  1:41       ` Con Kolivas
2002-10-10 17:40         ` Bill Davidsen
2002-10-10 23:17           ` Con Kolivas
2002-10-10 17:32       ` Bill Davidsen [this message]
2002-10-10 18:11         ` Andrew Morton
2002-10-07 12:11 Ed Tomlinson

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.3.96.1021010131852.17862A-100000@gatekeeper.tmr.com \
    --to=davidsen@tmr.com \
    --cc=akpm@digeo.com \
    --cc=conman@kolivas.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).