xfs
[Top] [All Lists]

Re: Here is the results of my last question...

To: yoros@xxxxxxxxxx
Subject: Re: Here is the results of my last question...
From: Andi Kleen <ak@xxxxxxx>
Date: Fri, 25 Oct 2002 20:27:27 +0200
Cc: linux-xfs <linux-xfs@xxxxxxxxxxx>
In-reply-to: <20021025181514.GA21940@xxxxxxxxxxxxxxxxxxx>
References: <20021025181514.GA21940@xxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.22.1i
On Fri, Oct 25, 2002 at 08:15:14PM +0200, yoros@xxxxxxxxxx wrote:
> 
> As said in the subject, related to my other mails about removing files.
> 
> I have experienced that using one downloader assistant (that creates a
> big sparse file an then fill it to complete download), I get a file with
> lots of extents sized from 24 to 80 blocks... Yes, I must run xfs_fsr
> after download, but it is interesant to include this performance to the
> core code...

The right thing would be to change the downloader assistant to use
XFS' file preallocation ioctls so that it allocates the full space in
advance. Unfortuately they are not fully implemented on linux/xfs and are 
only available for root currently. I would be possible to create the
file first and fill it with zeroes. This way you should get few extents.

-Andi


<Prev in Thread] Current Thread [Next in Thread>