Forums
| Tuning ext3 |
|
|
|
| Written by Schelstraete Bart | ||||||
| Tuesday, 02 June 2009 20:05 | ||||||
|
This is a 5 seconds commit interval in EXT3, which is the standard behaviour. You can check this in your syslog. here the ext3.txt from the kernel documentation (<kernel dir>/Documentation/filesystems/ext3.txt: Quote:
(in the following mini-HOWTO are added more performance options, if you don't want them then only add the "commit=seconds" option (in the same order though) 1st step Take your /etc/fstab and add these options for your /root (and/or /home etc) partition: Code: (previous options...),noatime,nodiratime,nobh,data=writeback,commit=100 2nd step To make data=writeback and the new commit interval work get your /boot/grub/menu.lst See the "defoptions=" line and add (e.g. after "ro quiet splash") --> Code: quiet splash rootflags=data=writeback,nobh,commit=100 Then Code: sudo update-grub For data=writeback, the last step before rebooting is (works with mounted filesystem Code: sudo tune2fs -o journal_data_writeback /dev/hd(...) finally... Then do a reboot. However, the specific option you were looking for is the "commit=sec" options. The value is measured is seconds. caution! I had several crashes (not linux' fault Appendix PS: My posting seems quite confusing, I guess. So here are the specific example lines/files: /etc/fstab: Code: /dev/hdc2 / ext3 defaults,errors=remount-ro,data=writeback,noatime,nodiratime,nobh,commit=100 0 1 /boot/grub/menu.lst Code: (...) Be sure, to have e.g. a live cd to access the system if you make at typing error or so in one of these config files. WARNING (again) of possible several data loss. Do at your own risk. This is recommended for laptops and/or desktop systems. Don't do this on servers! DON'T MAKE A TYPING ERROR BY MIXING UP tune2fs with mke2fs!!! This happened once to me and will erase all your data. more information Kernel-Documentation (mostly <directories to kernel>/Documentation/filesytems/ext3.txt very interesting manpages: tune2fs
Only registered users can write comments!
!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved." |


