xfs
[Top] [All Lists]

Re: XFS setting custom extent size: real-time section only?

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: XFS setting custom extent size: real-time section only?
From: Heilige Gheist <hgheist@xxxxxxxxx>
Date: Tue, 25 Jul 2006 11:08:07 -0700 (PDT)
Cc: xfs@xxxxxxxxxxx
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2v0P8Y8f1QBCsUsvLaEoK9C013mAcC7Vv+VwbtlL1J2jIJ2rRbHdjwu7urlnkQT6Sr9qSRTboy8uJy60BvXWdAsWLtf2TcL3dVMJfKtvJ3fk4holkfyZEG71c42CooeSOYRZgMnJbAHAGuq5Qukjpjo03+o8FumMPVBFbi5AM1o= ;
In-reply-to: <20060725084356.B2090627@wobbly.melbourne.sgi.com>
Sender: xfs-bounce@xxxxxxxxxxx
[..]
> 
> OK.  Are you certain you need this feature?  (can you describe your
> usage a bit?)  You can get large contiguous chunks of disk space via
> large direct writes for example, or preallocation, so maybe you could
> attack the issue from a different angle to solve it?

The application is reading and writing sparse file of 0.5-1GB, with
heavy skew toward read. The data is written in clusters of various
size, depending on data stream type. The filesystem is constantly being
updated with new data, older files are removed, the filesystem gets
fragmented and we're down to the allocation extent size in terms of
available contiguous disk space.

When you speak of pre-allocation, do you suggest using XFS_IOC_RESVSP
ioctl interface to explicitly reserve blocks in advance?
Can it guarantee contiguous chunk allocation?
Provided it can, pre-allocation is pretty much the same as extent
management, isn't it? Basically you pay for unfragmented contiguous
block layout with extra disk space reserved for unwritten data.
If so, why offer custom extent size in the first place?

[..]
> > Do I have to have non-realtime regular section?
> Yes.  All metadata is stored there.
Is there any way I can do sizing of the meta-data? 

--alan


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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