public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: "Hron, Randall" <x2hron@southernco.com>
Cc: "'john.weber@linuxhq.com'" <john.weber@linuxhq.com>,
	"'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] 2.5.21 IDE 91
Date: Fri, 14 Jun 2002 16:32:31 -0700	[thread overview]
Message-ID: <3D0A7D0F.7E085437@zip.com.au> (raw)
In-Reply-To: <8835B0E4CF43E9498F143219AFEF9F6108F310@GAXGPEX15.southernco.com>

"Hron, Randall" wrote:
> 
> > (lord knows i'm trying to get up to speed), but, in the meantime, I can
> > test the crap out of a kernel :).
> 
> tiobench is having trouble completing in kernels >= 2.5.19 on my K6-2
> 384 mb ram, IDE test system.  The parameters I'm using are:
> 
> tiobench.pl --size 2048 --numruns 3 --threads 1 --threads 32 --threads 64
> --threads 128
> 
> --size depends on ram and disk space.
> 
> Early in 2.5, dbench 192 would exercise a bug or two.
> (requires about 5GB of disk space)
> 
> Linux Test Project's runalltests.sh has occasionally triggered a bug.

Is this still happening?  What was the bug?
 
> 2.5 took a drop in dbench throughput recently.
> 
> dbench ext2 128 processes       Average         High            Low(MB/sec)

Is this still with 384 megs of memory?

> 2.5.19                           18.60           21.69           14.58
> 2.5.20                           12.89           13.15           12.79
> 2.5.21                           12.67           12.94           12.51
> 

One possibile culprit here is the doubling of the request queue size
in 2.5.20.  A long time ago it was 1024 slots.  Then it went to
128.  That's where it is in Marcelo kernels.  Then -ac kernels
went up to 1024 because they have read-latency2.  Somehow 2.5 found
itself at 256 slots.  In 2.5.20 it slealthily snuck up to 512
slots.  I didn't squeak about this because I was interested to see what
effect it would have.

Does this patch get the throughput back?


Index: drivers/block/ll_rw_blk.c
===================================================================
RCS file: /opt/cvs/lk/drivers/block/ll_rw_blk.c,v
retrieving revision 1.66
diff -u -r1.66 ll_rw_blk.c
--- drivers/block/ll_rw_blk.c	9 Jun 2002 07:13:15 -0000	1.66
+++ drivers/block/ll_rw_blk.c	14 Jun 2002 23:35:54 -0000
@@ -1974,6 +1974,8 @@
 	if (queue_nr_requests > 512)
 		queue_nr_requests = 512;
 
+	queue_nr_requests = 256;
+
 	/*
 	 * Batch frees according to queue length
 	 */


-

  reply	other threads:[~2002-06-14 23:34 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-14 16:29 [PATCH] 2.5.21 IDE 91 Hron, Randall
2002-06-14 23:32 ` Andrew Morton [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-18 13:24 rwhron
2002-06-17 13:16 rwhron
2002-06-16 16:36 rwhron
2002-06-16 13:03 rwhron
2002-06-16 11:05 rwhron
2002-06-16 10:52 rwhron
2002-06-15 21:00 rwhron
2002-06-15 21:00 ` William Lee Irwin III
2002-06-15 21:23 ` Andrew Morton
2002-06-15 12:05 rwhron
2002-06-17  8:40 ` Andrew Morton
2002-06-15 11:41 rwhron
2002-06-15 11:50 ` Dave Jones
2002-06-15 10:42 rwhron
2002-06-15 17:17 ` Jens Axboe
2002-06-14 18:36 Andries.Brouwer
2002-06-14 17:09 Andries.Brouwer
2002-06-14 17:15 ` Martin Dalecki
2002-06-09  5:42 Linux 2.5.21 Linus Torvalds
2002-06-14 14:02 ` [PATCH] 2.5.21 IDE 91 Martin Dalecki
2002-06-14 15:17   ` Jens Axboe
2002-06-14 15:42     ` John Weber
2002-06-14 15:43     ` Dave Jones
2002-06-14 16:06       ` Bartlomiej Zolnierkiewicz
2002-06-14 16:33         ` Martin Dalecki
2002-06-14 17:56       ` Linus Torvalds
2002-06-14 15:56     ` Benjamin LaHaise
2002-06-14 16:04       ` Dave Jones
2002-06-14 17:23         ` Martin Dalecki
2002-06-14 16:09       ` Bartlomiej Zolnierkiewicz
2002-06-14 16:15     ` Martin Dalecki
2002-06-15  8:15       ` Jens Axboe
2002-06-14 16:43     ` Linus Torvalds
2002-06-14 16:47       ` Martin Dalecki
2002-06-15  8:19       ` 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=3D0A7D0F.7E085437@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=john.weber@linuxhq.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=x2hron@southernco.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