* Linux mkfs.xfs parameters for large files
@ 2008-02-05 11:42 Jamie Tufnell
2008-02-05 14:56 ` Eric Sandeen
0 siblings, 1 reply; 2+ messages in thread
From: Jamie Tufnell @ 2008-02-05 11:42 UTC (permalink / raw)
To: xfs
Hi,
I've done some research into how to best-prepare our Linux (2.6.18)
XFS filesystem for a read-heavy workload of mostly large files (files
between 50MB and 500MB) and I have some questions on block-sizes /
extents.
My experience with other filesystems leads me to believe I should
experiment with large block-sizes for this application. In trying to
do so, I found that the Linux XFS implementation forces the block size
to not exceed the page size -- 4kB -- which seems a bit small in this
case. At first, I thought this was *really* bad news for me but I've
since read some posts and the impression I'm getting is it's not that
big of a deal?
Can someone please explain why (if that's true)? I've read that an
extent is one or more "continguous" blocks, so should I simply tune
the extent size in the same way I was expecting to tune the
block-size? Are there any other mkfs.xfs parameters I should
experiment with.. so far I plan to use stripe width/unit as the
filesystem will be on a striped RAID.
Lastly, would you recommend XFS for this application? Is there a
better filesystem for what I'm trying to do?
Any help greatly appreciated!
Thanks,
J.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Linux mkfs.xfs parameters for large files
2008-02-05 11:42 Linux mkfs.xfs parameters for large files Jamie Tufnell
@ 2008-02-05 14:56 ` Eric Sandeen
0 siblings, 0 replies; 2+ messages in thread
From: Eric Sandeen @ 2008-02-05 14:56 UTC (permalink / raw)
To: Jamie Tufnell; +Cc: xfs
Jamie Tufnell wrote:
> Hi,
>
> I've done some research into how to best-prepare our Linux (2.6.18)
> XFS filesystem for a read-heavy workload of mostly large files (files
> between 50MB and 500MB) and I have some questions on block-sizes /
> extents.
>
> My experience with other filesystems leads me to believe I should
> experiment with large block-sizes for this application. In trying to
> do so, I found that the Linux XFS implementation forces the block size
> to not exceed the page size -- 4kB -- which seems a bit small in this
> case. At first, I thought this was *really* bad news for me but I've
> since read some posts and the impression I'm getting is it's not that
> big of a deal?
In your careful benchmarking & testing, which aspects of the performance
you've found does not meet your needs or expectations? That's always a
good place to start.
-Eric
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-05 14:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-05 11:42 Linux mkfs.xfs parameters for large files Jamie Tufnell
2008-02-05 14:56 ` Eric Sandeen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox