public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Marc-Christian Petersen <m.c.p@wolk-project.de>
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>,
	linux-kernel@vger.kernel.org,
	Carl-Daniel Hailfinger <c-d.hailfinger.kernel.2003@gmx.net>,
	manish <manish@storadinc.com>,
	Christian Klose <christian.klose@freenet.de>,
	William Lee Irwin III <wli@holomorphy.com>
Subject: Re: 2.4.20: Proccess stuck in __lock_page ...
Date: Tue, 27 May 2003 22:10:28 +0200	[thread overview]
Message-ID: <20030527201028.GJ3767@dualathlon.random> (raw)
In-Reply-To: <200305272032.03645.m.c.p@wolk-project.de>

Hi,

On Tue, May 27, 2003 at 08:35:33PM +0200, Marc-Christian Petersen wrote:
> On Tuesday 27 May 2003 20:25, Andrea Arcangeli wrote:
> 
> Hi Andrea,
> 
> > not exactly decreases I/O throughput, the latest I/O benchmarks I seen
> it decreases performance. I've seen this, Con also saw this (well it's better 
> than the 'nr_requests = 4' change ;) but mouse stops are still there.
> 
> > from Randy (dbench/tiotest/bonnie/etc..) were still the fastest and it
> > included the lowlatency elevator patch. So it may not help latency but
> > it doesn't hurt in the numbers, at least not in the high end (that in
> > theory is the one that needs the overkill length in the I/O queue most).
> I agree with the last sentence, in theory, but practice showed something 
> different (about 10% to 15% performance decrease)
> 
> But I am quite sure that this depends on your machine/hardware. Using IDE 
> instead of SCSI for example.

10/15 performance drop doesn't sound good, no matter what hardware ;).

However in contest I recall there was quite an improvement in latency at
least (I mean, it had some positive effect too)

Getting the best throughput and latency at the same time is normally not
possible, however evaluating if it's losing excessive throughput given a
certain latency improvement is difficult.


> 
> > However it definitely helps latency for me and I had a number of
> > positive reports.
> It helps but it's not as good as 2.4.18 stock.

I'll try to find what's the precise reason of the interactivity drop
with the 2.4.18->2.4.19 blkdev changes on Thu. I think I shortly looked
into it once but there was no definitive answer, or anyways going back
to the 2.4.18 code didn't appeal or make much sense.

However I suspect this responsiveness issue could be storage hardware
dependent.

The sentence by Linus in the last few days while talking with Jens,
about storage that reorders stuff and starve requests at the two ends of
the platter was very scary, maybe you're really bitten by something like
that. Linux does the right thing but your hardware keeps posting stuff
under the os and mine doesn't.


> 
> > Also make sure that you elvtune -r 0 -w 0 /dev/hda, also the journaling
> I also tried that.
> 
> > may affect the latency so you can try with plain ext2 to be sure it's
> > not a fs issue.
> Sure, I did this too. FS independent, where ReiserFS is still the best for 
> this scenario with the most few pauses than any other FS (ext2, ext3, ...)
> 
> But for desktop usage: not acceptable! No way, No go!
> 
> > the lowlatency elevator patch may not be perfect but it definitely seems
> > to work better here. especially since there's no apparent throughput
> > loss, it makes lots of sense to keep it applied, or it would waste lots
> > of ram for apparently no gain.
> hehe, well wasting RAM for no gain is my next part on my todo ;) (cache 
> everything even if there is no RAM for example, well but this is not the 
> point in this thread)
> 
> ciao, Marc
> 


Andrea

  reply	other threads:[~2003-05-27 19:59 UTC|newest]

Thread overview: 142+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27  3:41 2.4.20: Proccess stuck in __lock_page manish
2003-05-27  4:03 ` Marcelo Tosatti
2003-05-27  4:25   ` manish
2003-05-27  4:59     ` Marcelo Tosatti
2003-05-27 15:29       ` manish
2003-05-27 16:59         ` Marcelo Tosatti
2003-05-27  4:31   ` manish
2003-05-27 14:14   ` Carl-Daniel Hailfinger
2003-05-27 14:28     ` William Lee Irwin III
2003-05-27 17:27     ` Marcelo Tosatti
2003-05-27 17:36       ` Marc-Christian Petersen
2003-05-27 17:47         ` Marcelo Tosatti
2003-05-27 17:52           ` Marc-Christian Petersen
2003-05-27 17:57             ` Marcelo Tosatti
2003-05-27 18:08               ` Marc-Christian Petersen
2003-05-27 18:25                 ` Andrea Arcangeli
2003-05-27 18:33                   ` Marcelo Tosatti
2003-05-27 18:39                     ` Marc-Christian Petersen
2003-05-27 19:00                       ` manish
2003-05-27 19:01                         ` Marcelo Tosatti
2003-05-27 19:09                           ` manish
2003-05-27 19:12                           ` manish
2003-05-27 19:28                             ` Marcelo Tosatti
2003-05-27 19:34                               ` manish
2003-05-27 20:20                                 ` Andrea Arcangeli
2003-05-27 20:25                                   ` Marc-Christian Petersen
2003-05-27 20:42                                     ` manish
2003-05-27 20:47                                       ` Andrea Arcangeli
2003-05-27 20:50                                         ` manish
2003-05-27 21:05                                           ` Andrea Arcangeli
2003-05-27 20:03                     ` Andrea Arcangeli
2003-05-27 20:08                       ` Marcelo Tosatti
2003-05-27 20:25                         ` Andrea Arcangeli
2003-05-27 22:18                           ` Andrew Morton
2003-05-27 22:38                             ` Andrea Arcangeli
2003-05-27 22:40                               ` Andrew Morton
2003-05-27 22:58                                 ` Andrea Arcangeli
2003-05-27 20:08                     ` Chris Mason
2003-05-27 18:35                   ` Marc-Christian Petersen
2003-05-27 20:10                     ` Andrea Arcangeli [this message]
2003-05-27 20:24                       ` Marc-Christian Petersen
2003-05-27 20:45                         ` Andrea Arcangeli
2003-05-27 20:53                           ` Marc-Christian Petersen
2003-05-27 21:00                             ` Jens Axboe
2003-05-27 21:11                               ` Marc-Christian Petersen
2003-05-27 21:19                                 ` Jens Axboe
2003-05-27 20:55                         ` Jens Axboe
2003-05-27 21:05                           ` William Lee Irwin III
2003-05-27 21:18                             ` Jens Axboe
2003-05-27 21:33                             ` Andrea Arcangeli
2003-05-27 18:09               ` manish
2003-05-27 17:53           ` manish
2003-05-27 18:01             ` Marc-Christian Petersen
2003-05-27 18:16               ` Marcelo Tosatti
2003-05-27 18:25                 ` Marc-Christian Petersen
2003-05-27 18:12           ` Matthias Mueller
2003-05-27 17:36       ` William Lee Irwin III
2003-05-27 17:38       ` Carl-Daniel Hailfinger
2003-05-27 17:50         ` manish
2003-05-27 18:04           ` Marc-Christian Petersen
2003-05-27 23:06             ` Georg Nikodym
2003-05-27 23:26               ` Christopher S. Aker
2003-05-28  5:33             ` Con Kolivas
2003-05-28  6:04               ` Jens Axboe
2003-05-28  7:13                 ` Con Kolivas
2003-05-28  7:13                   ` Jens Axboe
2003-05-28  7:32                     ` Marc-Christian Petersen
2003-05-28  7:35                       ` Jens Axboe
2003-05-28  7:51                         ` Andrew Morton
2003-05-28  8:30                           ` Jens Axboe
2003-05-28  8:43                             ` Marc-Christian Petersen
2003-05-28  8:40                           ` Marc-Christian Petersen
2003-05-28 10:13                           ` Matthias Mueller
2003-05-28 10:18                             ` Jens Axboe
2003-05-28 10:23                             ` Andrew Morton
2003-05-28 10:25                               ` Jens Axboe
2003-05-28 10:48                                 ` Con Kolivas
2003-05-28 10:50                                   ` Jens Axboe
2003-05-28 10:59                                     ` Andrew Morton
2003-05-28 11:17                                       ` Marc-Christian Petersen
2003-05-28 11:27                                         ` Andrew Morton
2003-05-28 11:31                                           ` Marc-Christian Petersen
2003-05-28 12:53                                             ` Jens Axboe
2003-05-28 12:58                                               ` Matthias Mueller
2003-05-28 13:07                                               ` Carl-Daniel Hailfinger
2003-05-28 13:08                                                 ` Jens Axboe
2003-05-28 13:16                                                   ` Matthias Mueller
2003-05-28 13:21                                                   ` Con Kolivas
2003-05-28 13:30                                                     ` Carl-Daniel Hailfinger
2003-05-28 13:33                                                       ` Con Kolivas
2003-05-28 13:27                                                   ` Stefan Foerster
2003-05-28 13:37                                                     ` Stefan Foerster
2003-05-28 14:28                                                   ` Chris Mason
2003-05-28 14:33                                                     ` Jens Axboe
2003-05-28 14:58                                                       ` Chris Mason
2003-05-28 15:39                                                         ` Jens Axboe
2003-05-28 23:38                                                           ` Chris Mason
2003-05-28 13:25                                               ` Stefan Foerster
2003-05-28 18:19                                               ` Zwane Mwaikambo
2003-05-28 18:32                                                 ` Zwane Mwaikambo
2003-05-28 18:47                                               ` Elladan
2003-05-28 23:03                                                 ` Con Kolivas
2003-05-29 13:09                                                   ` Andrea Arcangeli
2003-05-29 15:04                                                     ` Con Kolivas
2003-05-29 16:23                                             ` Marc-Christian Petersen
2003-05-28 11:41                                           ` Con Kolivas
2003-05-29 12:52                                         ` Andrea Arcangeli
2003-05-28 11:03                                   ` Nick Piggin
2003-05-28 10:29                               ` Con Kolivas
2003-05-28 10:29                                 ` Marc-Christian Petersen
2003-05-28 12:10                               ` Matthias Mueller
2003-05-28 12:14                                 ` Matthias Mueller
2003-05-28 12:21                                   ` Carl-Daniel Hailfinger
2003-05-28 12:23                                     ` Matthias Mueller
2003-05-28 12:28                                       ` Carl-Daniel Hailfinger
2003-05-28 12:38                                         ` Matthias Mueller
2003-05-29 13:19                                 ` Andrea Arcangeli
2003-05-29 14:10                                   ` Matthias Mueller
2003-05-29 16:22                                     ` Andrea Arcangeli
2003-05-28 14:00                               ` Con Kolivas
2003-05-29 13:24                                 ` Andrea Arcangeli
2003-05-29 13:55                                   ` Willy Tarreau
2003-05-29 14:09                                     ` Con Kolivas
2003-05-29 14:38                                     ` Matthias Mueller
2003-05-29 16:10                                       ` Willy TARREAU
2003-05-29 14:45                                     ` Marc-Christian Petersen
2003-05-29 16:06                                       ` Willy TARREAU
2003-05-29 16:49                                         ` Andrea Arcangeli
2003-05-29 17:46                                           ` Willy Tarreau
2003-05-29 16:19                                     ` Andrea Arcangeli
2003-05-29  1:32                               ` manish
2003-05-28 10:24                             ` Marc-Christian Petersen
2003-05-28  7:16             ` Marc Wilson
2003-05-28 19:53               ` David Ford
2003-05-28  9:36             ` Ragnar Hojland Espinosa
2003-05-28  9:45               ` Jens Axboe
2003-05-28  9:53               ` Marc-Christian Petersen
2003-05-28 10:01                 ` Jens Axboe
2003-05-28 10:58               ` Alan Cox
2003-05-29  8:34                 ` Ragnar Hojland Espinosa
     [not found] <20030527035006$5339@gated-at.bofh.it>
     [not found] ` <20030527175008$3573@gated-at.bofh.it>
     [not found]   ` <20030527180016$418c@gated-at.bofh.it>
     [not found]     ` <20030527182011$4acb@gated-at.bofh.it>
     [not found]       ` <20030528094008$1500@gated-at.bofh.it>
     [not found]         ` <20030528095014$7b21@gated-at.bofh.it>
2003-05-28 18:55           ` Thomas Tonino
2003-06-02 10:43             ` Jens Axboe

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=20030527201028.GJ3767@dualathlon.random \
    --to=andrea@suse.de \
    --cc=c-d.hailfinger.kernel.2003@gmx.net \
    --cc=christian.klose@freenet.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.c.p@wolk-project.de \
    --cc=manish@storadinc.com \
    --cc=marcelo@conectiva.com.br \
    --cc=wli@holomorphy.com \
    /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