linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcelo Tosatti <marcelo@conectiva.com.br>
To: Mike Galbraith <mikeg@wen-online.de>
Cc: Rik van Riel <riel@conectiva.com.br>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [patch][rfc][rft] vm throughput 2.4.2-ac4
Date: Wed, 28 Feb 2001 03:58:39 -0300 (BRT)	[thread overview]
Message-ID: <Pine.LNX.4.21.0102280209160.7315-100000@freak.distro.conectiva> (raw)
In-Reply-To: <Pine.LNX.4.33.0102280556040.972-100000@mikeg.weiden.de>



On Wed, 28 Feb 2001, Mike Galbraith wrote:

> On Tue, 27 Feb 2001, Marcelo Tosatti wrote:
> 
> > On Tue, 27 Feb 2001, Mike Galbraith wrote:
> >
> > > What the patch does is simply to push I/O as fast as we can.. we're
> > > by definition I/O bound and _can't_ defer it under any circumstance,
> > > for in this direction lies constipation.  The only thing in the world
> > > which will make it better is pushing I/O.
> >
> > In your I/O bound case, yes. But not in all cases.
> 
> That's one reason I tossed it out.  I don't _think_ it should have any
> negative effect on other loads, but a test run might find otherwise.

Writes are more expensive than reads. Apart from the aggressive read
caching on the disk, writes have limited caching or no caching at all if
you need security (journalling, for example). (I'm not sure about write
caching details, any harddisk expert?)

On read intensive loads, doing IO to free memory (writing pages out) will
be horribly harmful for these reads (which you can free easily), so its
better to avoid the writes as much as possible.

I remember Matthew Dillon (FreeBSD VM guy) had a read intensive case were
using 20:1 clean/flush ratio to free pages in FreeBSD's launder routine
(at that time, IIRC, their launder routine was looping twice the inactive
dirty list looking for clean pages to throw away, and only on the third
loop it would do IO) was still being a problem for disk performance
because of the writes. Yes, it sounds weird.

I suppose you're running dbench. 


  reply	other threads:[~2001-02-28  8:45 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-27 10:43 [patch][rfc][rft] vm throughput 2.4.2-ac4 Mike Galbraith
2001-02-27 19:46 ` Rik van Riel
2001-02-27 21:28   ` Mike Galbraith
2001-02-27 21:15     ` Marcelo Tosatti
2001-02-28  5:04       ` Mike Galbraith
2001-02-28  6:58         ` Marcelo Tosatti [this message]
2001-02-28 15:35           ` Rik van Riel
2001-03-01  4:14             ` Mike Galbraith
2001-03-01 15:36               ` Rik van Riel
2001-03-01 20:33                 ` Mike Galbraith
2001-03-01 21:05                   ` Rik van Riel
2001-03-01 22:35                     ` Chris Evans
2001-03-01 20:51                       ` Marcelo Tosatti
2001-03-01 22:38                       ` Rik van Riel
2001-03-02  4:40                       ` Mike Galbraith
2001-03-01 22:36                     ` Alan Cox
2001-03-02  2:58                     ` Linus Torvalds
2001-03-02 16:12                       ` Rik van Riel
2001-03-02  5:18                     ` Mike Galbraith
2001-03-06 22:22                       ` Marcelo Tosatti
2001-03-07  7:57                         ` Mike Galbraith
2001-03-01 22:28                   ` Alan Cox
2001-02-28  8:11         ` Mike Galbraith
2001-02-28  7:25           ` Marcelo Tosatti
2001-02-28 11:48             ` Mike Galbraith
2002-01-16 20:31               ` Marcelo Tosatti
2002-01-16 22:15                 ` Marcelo Tosatti
     [not found] <97mdsr$7p310$1@fido.engr.sgi.com>
2001-03-01 22:02 ` Rajagopal Ananthanarayanan

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.0102280209160.7315-100000@freak.distro.conectiva \
    --to=marcelo@conectiva.com.br \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikeg@wen-online.de \
    --cc=riel@conectiva.com.br \
    /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).