Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - Linux Tweaks > ARCHIVES - HowTos Discussions
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - HowTos Discussions Have any questions about any HowTo found at the wiki? Post in here!

 
Page 2 of 3 1 2 3
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 21-May-2007, 03:10
geoffro
Guest
 
Posts: n/a
Default

Quote:
mostly nothing (because these are either default settings or doubled setings -> 2x the same flag):
1) barrier is included by default, no need to add "barrier" flag

2) noatime includes nodiratime so if one uses noatime flag no need to add nodiratime

for xfs safe options that will improve fs responsiveness

xfs defaults,noatime,logbufs=8,logbsize=32k,biosize=16

if you have UPS then add
nobarrier
I would suggest against using this option

barrier - the cache flush command
noatime and nodiratime - last access time is not recorded (file/dir)
biosize - sets the default I/O size
logbufs - specifies in-memory log buffers
logbsize - size of the buffer
last three options improve delete/write performance
[/b]
OK if I'm correct you advise chancing this (I do not have UPS ):
Code:
/dev/sdb1**** /files**** xfs**** defaults,noatime,nodiratime,,barrier**** 1 2
/dev/sdc1**** /mnt/Backup**** ext3**** acl,user_xattr,noatime,nodiratime,barrier=1**** 1 2
To this
Code:
/dev/sdb1**** /files**** xfs**** defaults,noatime,logbufs=8,logbsize=32k,biosize=16**** 1 2
/dev/sdc1**** /mnt/Backup**** ext3********acl,user_xattr,noatime**** 1 2
/Geoff
  #12 (permalink)  
Old 21-May-2007, 08:07
broch
Guest
 
Posts: n/a
Default

geoffro,

leave barrier=1 for ext3 (you may check if barrier is integrated by default in ext3 on the mailing lists, so for now ->)
/dev/sdc1 /mnt/Backup ext3 acl,user_xattr,noatime,barrier=1 1 2

xfs is fine
  #13 (permalink)  
Old 21-May-2007, 08:11
geoffro
Guest
 
Posts: n/a
Default

Quote:
geoffro,

leave barrier=1 for ext3 (you may check if barrier is integrated by default in ext3 on the mailing lists, so for now ->)
/dev/sdc1 /mnt/Backup ext3 acl,user_xattr,noatime,barrier=1 1 2

xfs is fine
[/b]
Thanks for that

/Geoff
  #14 (permalink)  
Old 21-May-2007, 08:48
broch
Guest
 
Posts: n/a
Default

hope, this will work for you.

  #15 (permalink)  
Old 02-Jun-2007, 07:14
cesar_spain
Guest
 
Posts: n/a
Default

So, things end up something like that, isn't it? Any other modifications will be welcomed.

Is it missing the explanation of some columns (such as fsck and dump) that would be included in future posts.

Code:
################################################################
# File Systems TABle configuration file (/etc/fstab)
################################################################
#** Configuration file that describes how to mount different filesystems on a Linux OS. 
#
#**** This template includes some common FS with proper access options, useful for most 
#**of the installations. 
#
#******At the end it is given the description of some options for understanding the meaning.
#**This way user can tweak the FS for their needs.
################################################################ 


# LINUX OS
#---------------------------------------------------------------------------------------
# Device******| Mount Point (Dir) | Filesystem |********Options******** | Dump | fsck
#---------------------------------------------------------------------------------------
/dev/sda7**** /******************** reiserfs****acl,user_xattr,notail********1******1
/dev/sda5**** /home**************** reiserfs****defaults,notail************1******2
/dev/sda6**** swap******************swap********defaults****************** 0******0
#/dev/sdb1****/files****************xfs******** defaults,noatime,logbufs=8,logbsize=32k,biosize=16****** 1****2
#/dev/sdc1****/mnt/Backup********** ext3********acl,user_xattr,noatime******1**** 2

# WINDOWS OS
#----------------------------------------------------------------------------------------------
# Device******| Mount Point (Dir) | Filesystem |********Options******************| Dump | fsck
#----------------------------------------------------------------------------------------------
/dev/sda1**** /windows/C********** ntfs******** users,gid=users**********************0****0
/dev/sda2**** /windows/D********** vfat******** users,gid=users,umask=0002,utf8=true**0****0

# SOLARIS OS
#---------------------------------------------------------------------------------------
# Device******| Mount Point (Dir) | Filesystem |********Options******** | Dump | fsck
#---------------------------------------------------------------------------------------
#/dev/sda8**** /solaris/boot****** ufs**********ufstype=sunx86,defaults****0******0
#/dev/sda11****/solaris/data****** ufs**********ufstype=sunx86,defaults****0******0

# EXTERNAL DEVICES
#----------------------------------------------------------------------------------------------------
# Device******| Mount Point (Dir) | Filesystem |********Options************************| Dump | fsck
#----------------------------------------------------------------------------------------------------
proc********** /proc****************proc********defaults********************************** 0**** 0
sysfs**********/sys**************** sysfs****** noauto************************************ 0**** 0
usbfs**********/proc/bus/usb********usbfs****** noauto************************************ 0**** 0
devpts******** /dev/pts************ devpts******mode=0620,gid=5****************************0**** 0
#/dev/sdb2**** /media/back-up****** vfat********rw,users,gid=users,umask=0002,utf8=true****0**** 0

########################################################################
# OPTIONS DESCRIPTION
########################################################################
# Option********************|******** Description
#--------------------------------------------------------------------------------------------------
#barrier************************ The cache flush command
#noatime, nodiratime********Last access time is not recorded (file/dir)
#biosize************************ Sets the default I/O size
#logbufs************************ Specifies in-memory log buffers
#logbsize************************Size of the buffer
#notail************************Disable storing small files and `file tails' directly into the tree.
  #16 (permalink)  
Old 02-Jun-2007, 07:33
microchip
Guest
 
Posts: n/a
Default

you can add option notail to the reiserfs partitions to increase its performances
  #17 (permalink)  
Old 02-Jun-2007, 12:10
cesar_spain
Guest
 
Posts: n/a
Default

Quote:
you can add option notail to the reiserfs partitions to increase its performances
[/b]
I have just modified the post for adding this option. What does it means?

César
  #18 (permalink)  
Old 02-Jun-2007, 12:27
broch
Guest
 
Posts: n/a
Default

disable storing small files and `file tails' directly into the tree.
  #19 (permalink)  
Old 02-Jun-2007, 13:35
microchip
Guest
 
Posts: n/a
Default

Quote:
I have just modified the post for adding this option. What does it means?

César
[/b]
there should be no spaces between the options, eg acl,user_xattr,notail,noatime and not acl, user_xattr, notail, noatime

correct the notail stuff of your first 2 reiserfs partitions
  #20 (permalink)  
Old 02-Jun-2007, 14:03
broch
Guest
 
Posts: n/a
Default

you can also speed up ext3:

on unmounted dirs:
tune2fs -O dir_index /dev/hdXY

improves file access in large directories or directories containing many files by using hashed binary trees to store the directory information. It's perfectly safe to use

The above will only take effect with directories created on that filesystem after tune2fs is run. In order to apply this to currently existing directories, we must run the e2fsck utility to optimize and reindex the directories on the filesystem:
Code:

# e2fsck -D /dev/hdXY


ext3 by default does not use full journaling, so enable it:
tune2fs -O has_journal -o journal_data /dev/hdXY
..or simply by adding
data=journal
to your fstab for ext3

now, only if you enabled full journaling!! kill lengthy fs checks at boot
tune2fs -c 0 -i 0 /dev/hdXY



if you want really, rally fast xfs, I would suggest re-formating with increasing inodes size, increase journal size, decrease number of allocation groups.
 
Page 2 of 3 1 2 3

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2