All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@keyaccess.nl>
To: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.6.6 "IDE cache-flush at shutdown fixes"
Date: Wed, 12 May 2004 16:44:21 +0200	[thread overview]
Message-ID: <40A23845.2030508@keyaccess.nl> (raw)
In-Reply-To: <200405120236.00085.bzolnier@elka.pw.edu.pl>

[-- Attachment #1: Type: text/plain, Size: 1203 bytes --]

Bartlomiej Zolnierkiewicz wrote:

>>Vanilla 2.6.6:
>>
>>rene@7ixe4:~/cache$ grep wcache settings-2.6.6
>>wcache                  1               0               1               rw
>>
>>2.6.6 with the de{flush,spin}ification patches:
>>
>>rene@7ixe4:~/cache$ grep wcache settings-2.6.6-hackedup
>>wcache                  0               0               1               rw
>>
>>Hrmpf. 0?
> 
> Very interesting, can you try vanilla 2.6.5 (or some other 2.6.x)?

2.4.26		: wcache = 0, 0, 1
2.6.6-rc3-mm2	: wcache = 0, 0, 1
2.6.6		: wcache = 1, 0, 1
2.6.6-hackedup	: wcache = 0, 0, 1

(on none of these hdparm -W0/1 has any effect, by the way)

> We are getting close to the real problem.

Indeed. I have attached two "tiobench" seq. write results, one for 
vanilla 2.6.6, and one for 2.6.6-hackedup (your changes). I remember the 
result for the latter are the normal ones I got with previous kernels as 
well. The differences are very interesting.

2.6.6-vanilla (ie, the one showing wcache=1): +/- 10MB/s
2.6.6-hackedup (ie, shows wcache=0)	    : +/- 46MB/s

As said, that 46 is the expected value. Is this a logic inversion bug in 
either driver (but then both 2.4.26 and 2.6) or drive firmware?

Rene.


[-- Attachment #2: tiobench-2.6.6 --]
[-- Type: text/plain, Size: 772 bytes --]

Sequential Writes
                              File  Blk   Num                   Avg      Maximum      Lat%     Lat%    CPU
Identifier                    Size  Size  Thr   Rate  (CPU%)  Latency    Latency      >2s      >10s    Eff
---------------------------- ------ ----- ---  ------ ------ --------- -----------  -------- -------- -----
2.6.6                         1534  4096    1   10.74 9.440%     0.298     2641.08   0.00102  0.00000   114
2.6.6                         1534  4096    2   10.64 9.999%     0.586     7005.74   0.00331  0.00000   106
2.6.6                         1534  4096    4   10.64 9.730%     1.129    17964.34   0.02550  0.00025   109
2.6.6                         1534  4096    8   10.12 9.423%     2.099    28425.08   0.04065  0.00256   107

[-- Attachment #3: tiobench-2.6.6-hackedup --]
[-- Type: text/plain, Size: 772 bytes --]

Sequential Writes
                              File  Blk   Num                   Avg      Maximum      Lat%     Lat%    CPU
Identifier                    Size  Size  Thr   Rate  (CPU%)  Latency    Latency      >2s      >10s    Eff
---------------------------- ------ ----- ---  ------ ------ --------- -----------  -------- -------- -----
2.6.6                         1534  4096    1   46.59 57.01%     0.069      598.21   0.00000  0.00000    82
2.6.6                         1534  4096    2   42.44 50.34%     0.155     1951.60   0.00000  0.00000    84
2.6.6                         1534  4096    4   44.65 52.23%     0.267     1336.76   0.00000  0.00000    85
2.6.6                         1534  4096    8   37.78 41.34%     0.604     6720.81   0.00307  0.00000    91

  parent reply	other threads:[~2004-05-12 14:46 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-10  9:20 Linux 2.6.6 "IDE cache-flush at shutdown fixes" Rene Herman
2004-05-10 11:32 ` Gene Heskett
2004-05-10 12:04   ` Rene Herman
2004-05-10 20:28   ` Arjan van de Ven
2004-05-10 19:25 ` Bartlomiej Zolnierkiewicz
2004-05-10 21:13   ` Rene Herman
2004-05-10 21:52     ` Bartlomiej Zolnierkiewicz
2004-05-11  4:56       ` Andrew Morton
2004-05-11  5:17         ` Andrew Morton
2004-05-11 11:24           ` Rene Herman
     [not found]             ` <200405111537.23535.bzolnier@elka.pw.edu.pl>
     [not found]               ` <40A1073E.3030605@keyaccess.nl>
2004-05-11 19:06                 ` Rene Herman
     [not found]                 ` <200405120236.00085.bzolnier@elka.pw.edu.pl>
2004-05-12 14:44                   ` Rene Herman [this message]
2004-05-11 21:22             ` Mike Houston
2004-05-11 22:05             ` Bill Davidsen
2004-05-14  3:26           ` Pavel Machek
2004-05-15  0:53             ` Andrew Morton
2004-05-15  0:59             ` Andrew Morton
2004-05-15  1:05               ` Bartlomiej Zolnierkiewicz
2004-05-15  5:53               ` Herbert Xu
2004-05-15  6:16                 ` Andrew Morton
2004-05-17 22:13                   ` Greg KH
2004-05-17 22:55                     ` Andrew Morton
2004-05-14  3:25         ` Pavel Machek
2004-05-11 11:24       ` Rene Herman
2004-05-11 12:56         ` Craig Bradney
2004-05-11 15:51           ` Athanasius
2004-05-11 16:10           ` dobrev
2004-05-12 18:07             ` Bartlomiej Zolnierkiewicz
2004-05-12 18:45               ` dobrev
2004-05-13  0:24                 ` Patrick Wildi
2004-05-13  9:55                   ` dobrev
2004-05-10 21:59     ` Rene Herman
2004-05-10 23:36       ` Mike Houston
2004-05-14 21:49 ` scsi shutdown flush, journaled fses Tom Vier
     [not found] <fa.jr282gn.1ni2t37@ifi.uio.no>
     [not found] ` <fa.cmd38j8.1tgg9ro@ifi.uio.no>
2004-05-12  6:09   ` Linux 2.6.6 "IDE cache-flush at shutdown fixes" Robert Hancock
2004-05-12 18:52     ` Eric D. Mudama
2004-05-12 19:55       ` Rene Herman
2004-05-12 21:05       ` Bartlomiej Zolnierkiewicz
2004-05-12 22:27         ` Rene Herman
2004-05-12 21:28       ` Gene Heskett
2004-05-13 17:41         ` Eric D. Mudama

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=40A23845.2030508@keyaccess.nl \
    --to=rene.herman@keyaccess.nl \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=linux-kernel@vger.kernel.org \
    /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.