mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthias Andree <matthias.andree@stud.uni-dortmund.de>
To: linux-kernel@vger.kernel.org, reiserfs-list@namesys.com
Subject: Re: [PATCH] 2.4.10 improved reiserfs a lot, but could still be better
Date: Tue, 25 Sep 2001 12:42:31 +0200	[thread overview]
Message-ID: <20010925124231.A1390@emma1.emma.line.org> (raw)
In-Reply-To: <B0005839269@gollum.logi.net.au> <20010924200537.SRVB23487.femail38.sdc1.sfba.home.com@there> <20010925021113.B22073@emma1.emma.line.org> <20010925044949.JNOU8313.femail42.sdc1.sfba.home.com@there>
In-Reply-To: <20010925044949.JNOU8313.femail42.sdc1.sfba.home.com@there>

On Mon, 24 Sep 2001, Nicholas Knight wrote:

> It's a very remote possability of failure, like most instances where 
> write-cache would cause problems. Catastrophic failure of the IDE cable 
> in mid-write will cause problems. If write cache is enabled, the write 
> stands a higher chance of having made it to the drive before the cable 
> died, with it off, it stands a higher chance of NOT having made it 
> entirely to the drive.

Cables don't suddenly die without the help of e. g. your CPU fan.

> For most drives, I don't know for sure if they'd finish the write 
> that's now sitting in their cache, but I expect higher quality drives 
> (such as our IBM drives) definitely would. Infact I may even be willing 
> to test this later (my swap partition looks like it wants to help :)

Drives would not write incomplete blocks.

> > It may be an implementation problem in our IBM drives which ship with
> > their write caches enabled, someone please do this test on current
> > Fujitsu, Maxtor or Seagate IDE drives or with different controllers.
> 
> Either Maxtor or Western Digital share very close designs to IBM 
> drives, I belive they had some sort of development partnership. I'm not 
> sure if it was Maxtor or WD. 

The Western Digital 420400D (20 GB, 5400/min) and its 7200/min brother
with 18 GBs were IBM disk drives, supposedly, but the WD ...AA/BB drives
and whatever else there was looked some different from IBM drives.

> > Why are disk drives slower with their caches disabled on LINEAR
> > writes?
> 
> Maybe the cache isn't doing what we think it is?

Maybe. A monitor software or debug mode would be good to see when writes
are scheduled and which blocks are written (I need to ask a friend of
mine who hacked ll_rw_blk.c on a different purpose for his diploma
thesis, maybe his code is valuable to figure things out.)

> Does anyone have contacts at IBM and/or Western Digital? Something's 
> up... The 256MB write with write-cache off was going at 5.8MB/sec, and 
> with it on it was going at 14.22MB/sec (averages). One interesting 
> thing, the timings are showing a pretty consistant but tiny increase in 
> sys time with write caching on.

I also saw that here, but again, it's basically the same hardware.

-- 
Matthias Andree

"Those who give up essential liberties for temporary safety deserve
neither liberty nor safety." - Benjamin Franklin

  parent reply	other threads:[~2001-09-25 10:42 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-24 14:09 Beau Kuiper
2001-09-24 14:46 ` [reiserfs-list] " Chris Mason
2001-09-24 15:32 ` Matthias Andree
2001-09-24 15:45   ` Alan Cox
2001-09-24 15:47     ` Matthias Andree
2001-09-24 16:08       ` Alan Cox
2001-09-24 16:08         ` [reiserfs-list] " Chris Dukes
2001-09-24 16:54         ` Matthias Andree
2001-09-24 16:15   ` Nicholas Knight
2001-09-24 16:40     ` [reiserfs-list] " Lehmann 
2001-09-24 16:53     ` Matthias Andree
2001-09-24 16:57       ` [reiserfs-list] " Lehmann 
2001-09-25 14:04         ` bill davidsen
2001-09-25 17:39           ` bill davidsen
2001-09-24 20:05       ` Nicholas Knight
2001-09-25  0:11         ` Matthias Andree
2001-09-25  4:49           ` Nicholas Knight
2001-09-25  6:00             ` Beau Kuiper
2001-09-25  6:17               ` Nicholas Knight
2001-09-25 10:44               ` Matthias Andree
2001-09-25 11:01                 ` ben-lists
2001-09-25 10:42             ` Matthias Andree [this message]
2001-09-25 11:07               ` Nicholas Knight
2001-09-25 14:47           ` Alex Bligh - linux-kernel
2001-09-25 15:13             ` Matthias Andree
2001-09-25 15:23             ` John Alvord
2001-09-25 22:41               ` bill davidsen
2001-09-25 12:54     ` Jorge Nerín
2001-09-25 13:17       ` Matthias Andree
2001-09-25 13:06     ` [reiserfs-list] " Chris Mason
2001-09-24 21:58 Dieter Nützel
2001-09-25  0:19 ` Matthias Andree

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=20010925124231.A1390@emma1.emma.line.org \
    --to=matthias.andree@stud.uni-dortmund.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=reiserfs-list@namesys.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

Powered by JetHome