![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
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 |
|
Quad Shot of Ubuntu
![]() Join Date: Jun 2005
Beans: 334
|
Re: HOW-TO: Increase performance on ext3 with dir_index
Hey, this still works great in Breezy
|
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 4
|
Re: HOW-TO: Increase performance on ext3 with dir_index
did this in breazy and ended up unable to hibernate
could somebody help me with this cuz I realy really need hibernate. But it did speed up my computer Last edited by bishwo; April 16th, 2006 at 11:18 AM.. |
|
|
|
|
|
#10 |
|
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. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|