Hi,

On Tue, Apr 18, 2000 at 10:57:25AM -0400, Paul Barton-Davis wrote:
> >> 1) pre-allocation takes a *long* time. Allocating 24 203MB files on a
> >>    clean ext2 partition of 18GB takes many, many minutes, for example.
> >>    Presumably, the same overhead is being incurred when block
> >>    allocation happens "on the fly".
> >
> >It is not the allocation which is taking ages, it's the actual
> >writing of the data.  
> 
> Except that for preallocation, I only write one byte in every block,
> so for a 203MB file, I only write 52K approximately (ext2 4K blocks).

Umm, how is that going to make _any_ difference at all?  The filesystem
works in blocks, not bytes.  You still end up with 203MB of disk IO.

--Stephen

Reply via email to