Re: disk throughput

Andrew Morton
2001-11-05T22:45:12Z

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.

-