LWN.net article: creating 1 billion files -> XFS looses

Michael Monnerie michael.monnerie at is.it-management.at
Mon Sep 6 17:58:40 CDT 2010


On Dienstag, 7. September 2010 Dave Chinner wrote:
> # mkfs.xfs -d size=64k
> 
> Will speed up large directory operations by at least an order of
> magnitude.
 
I've read the man page for mkfs.xfs, but I couldn't find out if using 
mkfs -d su=64k,sw=2
would be a redundant (and superior) option for that? I'd guess so, 
reading the description of sunit:

sunit=value
This  is  used  to specify the stripe unit for a RAID device or a 
logical volume. The value has to be specified in 512-byte block units. 
Use the su suboption to specify the stripe unit size in bytes. This
suboption ensures that data allocations will be stripe unit aligned when 
the current end of file is being extended and the file size is larger 
than 512KiB. Also inode allocations and the internal log will
be stripe unit aligned.

Or would I still need to use size=64k?

-- 
mit freundlichen Grüssen,
Michael Monnerie, Ing. BSc

it-management Internet Services
http://proteger.at [gesprochen: Prot-e-schee]
Tel: 0660 / 415 65 31

****** Aktuelles Radiointerview! ******
http://www.it-podcast.at/aktuelle-sendung.html

// Wir haben im Moment zwei Häuser zu verkaufen:
// http://zmi.at/langegg/
// http://zmi.at/haus2009/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20100907/a3f34656/attachment.sig>


More information about the xfs mailing list