| To: | John Groves <John@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Question about sparse files |
| From: | Nathan Scott <nathans@xxxxxxx> |
| Date: | Thu, 15 Jun 2006 08:14:04 +1000 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <44905B9F.5000401@GrovesTech.com>; from John@GrovesTech.com on Wed, Jun 14, 2006 at 01:55:27PM -0500 |
| References: | <44905B9F.5000401@GrovesTech.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.2.5i |
Hi John, On Wed, Jun 14, 2006 at 01:55:27PM -0500, John Groves wrote: > A question for those who know more about xfs internals than me: > > If want to create sparse files that XFS can handle efficiently, is there > an optimal minimum sparse chunk size? I can look at an data stream for > null segments and make them sparse, but I presume I shouldn't make 1 > byte sparse extents. File size will range from small to multiple GB, > but large files are the norm. I'd recommend you make your minimum sparse chunk be the filesystem blocksize. You can extract this from the statfs(2) f_bsize field. cheers. -- Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Question about sparse files, John Groves |
|---|---|
| Next by Date: | Re: XFS + software raid + 4k stacks = BOOM?, Nathan Scott |
| Previous by Thread: | Question about sparse files, John Groves |
| Next by Thread: | Re: Question about sparse files, John Groves |
| Indexes: | [Date] [Thread] [Top] [All Lists] |