All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Lukas Hejtmanek <xhejtman@mail.muni.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Terrible VM in 2.4.19rc3aa4 once again?
Date: Thu, 1 Aug 2002 17:39:11 +0200	[thread overview]
Message-ID: <20020801153911.GC1132@dualathlon.random> (raw)
In-Reply-To: <20020801141940.GB755@mail.muni.cz>

On Thu, Aug 01, 2002 at 04:19:40PM +0200, Lukas Hejtmanek wrote:
> On Thu, Aug 01, 2002 at 04:03:48PM +0200, Andrea Arcangeli wrote:
> > you can use elvtune, in my more recent trees I returned in sync with
> > mainline with the parameters to avoid being penalized in the benchmarks,
> > but if you need lower latency you can execute stuff like this by yourself.
> > 
> > 	elvtune -r 10 -w 20 /dev/hd[abcd] /dev/sd[abcd]
> > 
> > etc... (hda or hda[1234] will be the same, it only care about disks)
> > 
> > the smaller the lower latency you will get. In particular you care about
> > the read latency, so the -r parameters is the one that has to be small
> > for you, writes can be as well big.
> 
> Hmm however I think i/o subsystem should allow parallel reading/writing don't
> you think?

of course it does, what you're tuning is the "how many requests can
delay a read request" or "how many requests can delay a write request"?

it's not putting synchronous barriers, it only controls the ordering.

If a read requests can ba passed by 10mbytes of data you will
potentially read one block every 10mbyte written to disk. Of course
there will be less seeks and the global workload will be faster (faster
at least for most cases), but your read latency will be very very bad.

You can see the default values by not passing arguments to elvtune IIRC.

Andrea

  parent reply	other threads:[~2002-08-01 15:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-08 22:11 Terrible VM in 2.4.11+? Lukas Hejtmanek
2002-07-08 22:37 ` Austin Gonyou
2002-07-08 22:50   ` Lukas Hejtmanek
2002-07-08 22:58     ` J.A. Magallon
2002-07-08 23:58       ` Lukas Hejtmanek
2002-07-09 10:48       ` Terrible VM in 2.4.11+ again? Lukas Hejtmanek
2002-07-10 16:34         ` Andrea Arcangeli
     [not found]           ` <20020801113124.GA755@mail.muni.cz>
     [not found]             ` <20020801140348.GM1132@dualathlon.random>
     [not found]               ` <20020801141940.GB755@mail.muni.cz>
2002-08-01 15:39                 ` Andrea Arcangeli [this message]
     [not found]                   ` <20020801220143.GC755@mail.muni.cz>
2002-08-01 22:14                     ` Terrible VM in 2.4.19rc3aa4 once again? Andrea Arcangeli
2002-07-10  8:43       ` Terrible VM in 2.4.11+? Thomas Tonino
2002-07-10  8:49         ` Jens Axboe
2002-07-10 13:52           ` Thomas Tonino
2002-07-10 16:41             ` Andrea Arcangeli
2002-07-10 12:34         ` Adrian Bunk
2002-07-08 23:04     ` Austin Gonyou
2002-07-08 23:27 ` khromy

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=20020801153911.GC1132@dualathlon.random \
    --to=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xhejtman@mail.muni.cz \
    /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.