![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Day Old Decaf
![]() |
HOW-TO: Increase performance on ext3 with dir_index
dir_index is a hashed b-tree implementation for ext3, it's riskfree (Fedora has shipped several releases defaulting to it without incident), and adds a bit of performance to your filesystem.
to update an existing partitions: 0) open a terminal or enter cli 1) sudo tune2fs -O dir_index /dev/hdXY (where X indicates device, normally a and Y indicates partition, normally 1) 2a) sudo updatedb alternatively, unmount and do 2b) sudo e2fsck -D /dev/hdXY Wasn't that easy? |
|
|
|
|
|
#2 |
|
May the Ubuntu Be With You!
![]() |
Re: HOW-TO: Increase performance on ext3 with dir_index
Cool. I don't knwo if it WORKED, but it hasn't broken my system yet (Then again, I don't know how to tell if it worked
__________________
ArchLinux 0.8.0 Associate Member of the Free Software Foundation |
|
|
|
|
|
#3 |
|
Fresh Brewed Ubuntu
![]() |
Re: HOW-TO: Increase performance on ext3 with dir_index
Is there a way to measure the perfomance gain?
Thanks a lot, though. |
|
|
|
|
|
#4 | |
|
Just Give Me the Beans!
![]() Join Date: Nov 2004
Beans: 69
Ubuntu 7.04 Feisty Fawn
|
Re: HOW-TO: Increase performance on ext3 with dir_index
Quote:
may do the trick |
|
|
|
|
|
|
#5 |
|
Day Old Decaf
![]() |
Re: HOW-TO: Increase performance on ext3 with dir_index
First, I'm sorry I forgot to mention
sudo tune2fs -l /dev/hdXY | grep dir_index will show if the given partition has dir_index enabled. Secondly, to benchmark I would use bonnie++ -edit- I filed a bug with Ubuntu to have dir_index considered as the new default for Breezy, let's see what they have to say - bug 11284 for those interested. |
|
|
|
|
|
#6 |
|
Gee! These Aren't Roasted!
![]() Join Date: Apr 2005
My beans are hidden!
Kubuntu 9.04 Jaunty Jackalope
|
Re: HOW-TO: Increase performance on ext3 with dir_index
I get a segmentation fault when doing sudo tune2fs -O dir_index /dev/hdXY...
|
|
|
|
|
|
#7 |
|
Gee! These Aren't Roasted!
![]() Join Date: Apr 2005
My beans are hidden!
Kubuntu 9.04 Jaunty Jackalope
|
Re: HOW-TO: Increase performance on ext3 with dir_index
ow! and yes I changed the X and Y to the right values
lol |
|
|
|
|
|
#8 |
|
Gee! These Aren't Roasted!
![]() |
Re: HOW-TO: Increase performance on ext3 with dir_index
Is the tune2fs part supposed to take only a fraction of a second to complete? I was expecting something more drawn-out
__________________
I seem to have discovered a truly remarkable proof for Fermat's Last Theorem, which this siggie is too small to contain. |
|
|
|
|
|
#9 | |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2007
Beans: 22
Ubuntu 7.04 Feisty Fawn
|
Re: HOW-TO: Increase performance on ext3 with dir_index
Quote:
This index is not setable in the aditional settings for the FS in the alternate install programm. Can I do point 1 and 2a without unmounting? 2b is a alternative for what? Only the ubdatedb or point 1 and 2b? |
|
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2007
Beans: 22
Ubuntu 7.04 Feisty Fawn
|
Re: HOW-TO: Increase performance on ext3 with dir_index
The -D option in the e2fsck command is in the man page of Ubuntu, but not in the man page of my Knoppix from 2007-01-04.
Since which version is the optimisation includet? Last edited by Schuttwegraeumer; May 15th, 2007 at 09:02 PM.. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|