|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Tips, Tricks & Tweaks Tips and Solutions for SUSE Linux
(Please do not post questions here) |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
This is now a WIKI page: http://en.opensuse.org/Speeding_up_Ext3 -- andrewd18
Every "journaling" file system (Etx3, XFS, JFS, etc.) uses journals to recover data in case of crash. As you can clearly see, this could slow down your system. Ext3 (and maybe others) filesystem has 3 journaling modes:
OK, let's start working... Open terminal and perform everything as root Code:
su Code:
gedit /etc/fstab Code:
/dev/hda2************/********************ext3****** acl,user_xattr,data=writeback********1 1 Code:
gedit /boot/grub/menu.lst Code:
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/hda2 data=writeback vga=0x314 resume=/dev/hda1 splash=silent showopts Code:
tune2fs -o journal_data_writeback /dev/hda2 Code:
tune2fs -l /dev/hda1 Code:
reboot |
|
|||
|
Very interesting!
Just curious: does Yast have a module for this perhaps? |
|
|||
|
In a matter of fact, yes.
It is possible to perform the same actions through "Partitioner" module (in System tab).
P.S.: You probably would like to verify the partition settings are working before you reboot the system.... |
|
|||
|
Thanks alot! I might try it this week.
![]() How noticeable is the speed improvement normally? |
|
|||
|
Quote:
I mean, I was using XFS for a long time and decided to give EXT3 a chance. It was sooo slow compare to XFS. This little teak, bring it to reasonable speed hard drive suppose to work... And the beauty is, the change is EXT3 I proposed is more or less the same to what is used in XFS by default. |
|
|||
|
Well, I only noticed a *little* speed improvement at first, perhaps that is because I've 1GB of ram which makes things easier for the OS... UNTIL I had to copy over a 170MB file to my Linux partition. It litterally FLEW! Nice, and thanks for the tip
|
|
|||
|
Well, there are some other tweaks that can be made:
|
|
|||
|
Don't misunderstand me, I'm happy with the tip you gave me
|
|
|||
|
Quote:
how access time changed? tune2fs? |
|
|||
|
Quote:
First of all, I would like to give some background info and then to write step by step guide how do disable access time flag modification. What most people don't know, that every time system access file (any file), it updates a field in meta data (ignore this word if you have no idea what I'm talking about) to indicate latest access time. To most of us, this information is not needed, so we can 'safely' turn off this function. Open terminal and perform everything as root Code:
su Code:
gedit /etc/fstab Code:
/dev/hda2************/********************ext3****** acl,user_xattr,noatime,data=writeback********1 1 Code:
mount -a |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|