Re: [Fwd: [linux-audio-dev] info point on linux hdr]

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [Fwd: [linux-audio-dev] info point on linux hdr]
From: Stephen C. Tweedie (sct_AT_redhat.com)
Date: Tue Apr 18 2000 - 19:27:07 EEST


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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Apr 18 2000 - 20:01:17 EEST