Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Do i need to configure XFS?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Sujao
l33t
l33t


Joined: 25 Sep 2004
Posts: 677
Location: Germany

PostPosted: Thu Dec 02, 2004 5:17 pm    Post subject: Do i need to configure XFS? Reply with quote

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
View user's profile Send private message
dkaplowitz
Guru
Guru


Joined: 22 Nov 2003
Posts: 596
Location: Philadelphia, PA

PostPosted: Thu Dec 02, 2004 8:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sujao
l33t
l33t


Joined: 25 Sep 2004
Posts: 677
Location: Germany

PostPosted: Thu Dec 02, 2004 8:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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