This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Tue Mar 21 18:00:55 2023 Received: from spaans.ds9a.nl (adsl-xs4all.ds9a.nl [213.84.159.51]) by kylie.puddingonline.com (8.11.6/8.11.6) with SMTP id g8HKKVi17996 for ; Tue, 17 Sep 2002 22:20:32 +0200 Received: (qmail 20550 invoked from network); 17 Sep 2002 20:04:15 -0000 Received: from unknown (HELO spaans.ds9a.nl) (3ffe:8280:10:360:202:44ff:fe2a:a1dd) by 3ffe:8280:10:360:2e0:4cff:fe39:26ca with SMTP; 17 Sep 2002 20:04:15 -0000 Received: (qmail 17181 invoked by uid 1000); 17 Sep 2002 19:43:52 -0000 MBOX-Line: From linux-kernel-owner@vger.kernel.org Tue Sep 26 16:16:05 2000 Received: (maildatabase); juh Received: (qmail 1665 invoked by alias); 26 Sep 2000 16:15:50 -0000 Received: (qmail 1461 invoked from network); 26 Sep 2000 15:51:26 -0000 Received: from vger.kernel.org (199.183.24.194) by spaans.ds9a.nl with SMTP; 26 Sep 2000 15:51:26 -0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 26 Sep 2000 12:05:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 26 Sep 2000 12:05:31 -0400 Received: from penguin.e-mind.com ([195.223.140.120]:29792 "EHLO penguin.e-mind.com") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Tue, 26 Sep 2000 12:05:23 -0400 Received: from black.random ([195.223.140.107]) by penguin.e-mind.com (8.9.1a/8.9.1/Debian/GNU) with ESMTP id RAA32419; Tue, 26 Sep 2000 17:57:57 +0200 Received: from athlon.random ([192.168.1.7]) by black.random (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id e8QGH9Z17858; Tue, 26 Sep 2000 18:17:09 +0200 Received: (from andrea@localhost) by athlon.random (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) id e8QG2Ys16053; Tue, 26 Sep 2000 18:02:34 +0200 Date: Tue, 26 Sep 2000 18:02:34 +0200 From: Andrea Arcangeli To: Peter Osterlund Cc: linux-kernel@vger.kernel.org Subject: Re: [patch] vmfixes-2.4.0-test9-B2 Message-Id: <20000926180234.A15915@athlon.random> References: <20000925192321.H27677@athlon.random> <20000926001418.A5010@athlon.random> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20000926001418.A5010@athlon.random>; from andrea@suse.de on Tue, Sep 26, 2000 at 12:14:18AM +0200 X-GnuPG-Key-URL: http://e-mind.com/~andrea/aa.gnupg.asc X-PGP-Key-URL: http://e-mind.com/~andrea/aa.asc Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 26, 2000 at 12:14:18AM +0200, Andrea Arcangeli wrote: > On Mon, Sep 25, 2000 at 10:52:08PM +0200, Peter Osterlund wrote: > > Do you know why? Is it because the average seek distance becomes > > Good question. No I don't know why right now. I'll try again just to be 200% > sure and I'll let you know the results. These are the numbers produced by my current blkdev tree based on test8-pre5 with only the spinlock-1 patch on it: ----------------------------------------------------------------------------- 2.4.0-test8-pre5 + blkdev-1 - IA32 2-way SMP LVM-stripe IDE File Block Num Seq Read Rand Read Seq Write Rand Write Dir Size Size Thr Rate (CPU%) Rate (CPU%) Rate (CPU%) Rate (CPU%) ------- ------ ------- --- ----------- ----------- ----------- ----------- . 254 4096 1 16.38 7.99% 0.647 1.16% 15.60 14.8% 1.330 5.53% . 254 4096 2 16.34 10.9% 0.676 1.12% 15.70 17.2% 1.330 5.95% . 254 4096 4 16.30 10.9% 0.690 1.07% 15.55 17.9% 1.324 6.24% . 254 4096 8 15.71 12.1% 0.713 1.06% 15.11 17.8% 1.327 6.01% File Block Num Seq Read Rand Read Seq Write Rand Write Dir Size Size Thr Rate (CPU%) Rate (CPU%) Rate (CPU%) Rate (CPU%) ------- ------ ------- --- ----------- ----------- ----------- ----------- . 254 4096 1 16.41 7.82% 0.716 0.82% 15.91 14.6% 1.334 4.86% . 254 4096 2 16.44 11.1% 0.715 0.91% 15.82 17.1% 1.316 4.67% . 254 4096 4 16.39 10.9% 0.722 0.95% 15.52 17.9% 1.322 5.07% . 254 4096 8 16.02 11.8% 0.742 0.99% 15.13 17.8% 1.329 5.06% andrea@laser:/mnt/p > ~/dbench/dbench 40 40 clients started .......................................................................................................................................................................................................................................................................................+.............................................................................................................................................................................................................................................................................+...................................+...+..+.........+............................................................................................................................................................+....................+..............................................................++...................................................................................+................+..........................................................+.................++...........................................................++....................................................................................+++...............................+................................................+....+....++..............+...........+...............................................................................+.........................+..........+.......................+........................+...............+.....+.+...+.+.....++.........................+**************************************** Throughput 10.7262 MB/sec (NB.4077 MB/sec 107.262 MBit/sec) andrea@laser:/mnt/p > ~/dbench/dbench 40 40 clients started ...................................................................................................................................................................................................................................................................................................................................................................................................................+...............................+.+.+..........................................................+..........................................................................................+...........................................+.+...................................................................................................+.....................++...................++.............................................................................................................................................................++.......................................................................+......................................................................................................................................................................+.............................................................+...............+...........................+..+....+.........+.+............+....+............+............+.......+.......................+............+.............++...........................+.......+...........+...................................................+...+.+.....+**************************************** Throughput 11.7624 MB/sec (NB.703 MB/sec 117.624 MBit/sec) -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 200 7406 100.0 18626 16.0 8324 12.0 6897 88.0 18180 17.3 239.7 2.0 200 7405 99.9 18724 16.2 8153 11.9 6919 88.2 17827 18.3 231.2 2.1 ----------------------------------------------------------------------------- These are instead the numbers that I get by only applying your patch on top of my tree: ----------------------------------------------------------------------------- blkdev-1 (same as above) + elevator change proposed by Peter - IA32 2-way SMP LVM-stripe IDE File Block Num Seq Read Rand Read Seq Write Rand Write Dir Size Size Thr Rate (CPU%) Rate (CPU%) Rate (CPU%) Rate (CPU%) ------- ------ ------- --- ----------- ----------- ----------- ----------- . 254 4096 1 16.22 9.13% 0.707 1.13% 16.05 15.3% 1.384 5.05% . 254 4096 2 11.04 7.99% 0.730 1.26% 16.16 17.2% 1.374 5.76% . 254 4096 4 10.28 7.33% 0.749 1.11% 15.89 17.8% 1.358 5.67% . 254 4096 8 9.726 7.36% 0.769 1.02% 15.64 18.2% 1.369 5.67% andrea@laser:/mnt > tiobench.pl No size specified, using 254 MB Size is MB, BlkSz is Bytes, Read, Write, and Seeks are MB/sec . -T File Block Num Seq Read Rand Read Seq Write Rand Write Dir Size Size Thr Rate (CPU%) Rate (CPU%) Rate (CPU%) Rate (CPU%) ------- ------ ------- --- ----------- ----------- ----------- ----------- . 254 4096 1 16.50 9.22% 0.679 1.47% 16.23 15.0% 1.376 4.67% . 254 4096 2 11.50 7.92% 0.682 1.26% 16.10 17.0% 1.395 5.67% . 254 4096 4 10.23 6.92% 0.723 1.18% 15.91 17.8% 1.392 6.29% . 254 4096 8 9.796 7.28% 0.751 1.28% 15.64 18.3% 1.368 5.49% andrea@laser:/mnt/p > ~/dbench/dbench 40 40 clients started ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................+.................+..+.+....+..........+++...++++++++++++++++++++++++++++++++**************************************** Throughput 5.78095 MB/sec (NB.22619 MB/sec 57.8095 MBit/sec) andrea@laser:/mnt/p > ~/dbench/dbench 40 40 clients started ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................+++++.++++++++++++.+++++++++++++++++++++++**************************************** Throughput 6.14307 MB/sec (NB.67883 MB/sec 61.4307 MBit/sec) -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 200 7403 100.0 19425 16.7 8514 12.4 6693 85.1 17925 16.8 239.2 2.5 200 7409 99.9 19282 17.2 8487 11.2 6735 85.7 17930 17.1 238.4 2.5 ----------------------------------------------------------------------------- So the patch won't be included for now. The unfairness of the current ordering algorithm is probably why it makes the numbers so better than a perfect CSCAN that your patch implements. I also want to make an update, the current elevator seems to perform very well. My current tree on scsi delivers 8mbyte/sec more for reads and a 30% improvement in the seeks but that's because of further improvements not because of final fixes or final reworks. The EXCLUSIVE wakeup thing seems not to make difference in numbers. Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/