View previous topic :: View next topic |
Author |
Message |
Sujao l33t
Joined: 25 Sep 2004 Posts: 677 Location: Germany
|
Posted: Thu Dec 02, 2004 5:17 pm Post subject: Do i need to configure XFS? |
|
|
Hi everyone, especially the XFS users!
I am going to make XFS my new filesystem. I read some post which told that XFS needs to be configured to really work fast. Is that true?
I was going to just do:
Code: | # makefs.xfs /dev/hda10 |
Do I need further options or is it enough? The partition will be about 108GB.
Code: | # makefs.xfs --help |
gives me the following
Code: | Usage: mkfs.xfs
/* blocksize */ [-b log=n|size=num]
/* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
(sunit=value,swidth=value|su=num,sw=num),
sectlog=n|sectsize=num,unwritten=0|1]
/* inode size */ [-i log=n|perblock=n|size=num,maxpct=n]
/* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
sunit=value|su=num,sectlog=n|sectsize=num]
/* label */ [-L label (maximum 12 characters)]
/* naming */ [-n log=n|size=num,version=n]
/* prototype file */ [-p fname]
/* quiet */ [-q]
/* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
/* sectorsize */ [-s log=n|size=num]
/* version */ [-V]
devicename
<devicename> is required unless -d name=xxx is given.
<num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
<value> is xxx (512 byte blocks).
|
|
|
Back to top |
|
|
dkaplowitz Guru
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Thu Dec 02, 2004 8:02 pm Post subject: |
|
|
I've used XFS without configuring it with any special parameters. I guess if you're fanatical about performance there are a number of things you can do to tune it beyond the defaults. For that, your best bet is to read the XFS docs. Also, there's sys-fs/xfsprogs, but I'm not sure how many of those are designed for performance tuning. If you just want to get up and running, the defaults should be fine. _________________ http://dkap.info |
|
Back to top |
|
|
Sujao l33t
Joined: 25 Sep 2004 Posts: 677 Location: Germany
|
Posted: Thu Dec 02, 2004 8:45 pm Post subject: |
|
|
Do you have any idea how much this tuning speeds up the fs? If tuning improves performance less then 3% then I wont bother. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|