Re: disk throughput

From: Andrew Morton (akpm@zip.com.au)
Date: Mon Nov 05 2001 - 17:39:37 EST


Matthias Andree wrote:
>
> On Sun, 04 Nov 2001, Andrew Morton wrote:
>
> > Numbers. The machine has 768 megs; the disk is IDE with a two meg cache.
> > The workload consists of untarring, tarring, diffing and removing kernel
> > trees. This filesystem is 21 gigs, and has 176 block groups.
>
> Does that IDE disk run with its write cache enabled or disabled?

write-behind is enabled. I'm not religious about write-behind.
Yes, there's a small chance that the disk will decide to write a
commit block in front of the data (which is at lower LBAs). But

a) It's improbable
b) if it does happen, the time window where you need to crash
   is small.
c) if your kernel crashes, the data will still be written. It
   has to be a power-down.

But good point - I'll test without writebehind, and with SCSI.

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:27 EST