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
- Re: [Fwd: [linux-audio-dev] info ... Mika Kuoppala
- Re: [Fwd: [linux-audio-dev] info point on linux hd... Juhana Sadeharju
- Re: [Fwd: [linux-audio-dev] info point on linux hd... Paul Barton-Davis
- Re: [Fwd: [linux-audio-dev] info point on linu... Stephen C. Tweedie
- Re: [Fwd: [linux-audio-dev] info point on ... Paul Barton-Davis
- Re: [Fwd: [linux-audio-dev] info point... Stephen C. Tweedie
- Re: [Fwd: [linux-audio-dev] info point on linu... Benno Senoner
- Re: [Fwd: [linux-audio-dev] info point on ... Paul Barton-Davis
- Re: [Fwd: [linux-audio-dev] info point on linu... Stephen C. Tweedie
- Re: [Fwd: [linux-audio-dev] info point on ... Paul Barton-Davis
- Re: [Fwd: [linux-audio-dev] info point... Stephen C. Tweedie
- Re: [Fwd: [linux-audio-dev] info point on linux hd... Martin Schenk
- Re: [Fwd: [linux-audio-dev] info point on linu... Stephen C. Tweedie
- Re: [Fwd: [linux-audio-dev] info point on linux hdr] Steve Lord
- O_DIRECT architecture (was Re: info point on linux... Stephen C. Tweedie
- Re: O_DIRECT architecture (was Re: info point ... Steve Lord
- Re: O_DIRECT architecture (was Re: info po... Stephen C. Tweedie
- Re: O_DIRECT architecture (was Re: inf... Steve Lord
- Re: O_DIRECT architecture (was Re... Stephen C. Tweedie