Of course it works
Btw dir_index do not increase speed of continous reading, but reading many files in one directory (e.g. thousands of e-mails in my mail home directory).
Of course it works
Btw dir_index do not increase speed of continous reading, but reading many files in one directory (e.g. thousands of e-mails in my mail home directory).
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 16th, 2007 at 02:02 AM.
Be careful on non-x86 platforms, though. I have a ppc machine here that corrupts the index right away. I've yet to find the real problem, but it's damned annoying.
i'm pretty sure this doesn't work.
THIS IS AFTER[02:16:33 AM wasabi ~]$ sudo hdparm -Tt /dev/sda1
/dev/sda1:
Timing cached reads: 1336 MB in 2.00 seconds = 668.05 MB/sec
Timing buffered disk reads: 62 MB in 3.02 seconds = 20.54 MB/sec
[02:16:33 AM wasabi ~]$ sudo tune2fs -O dir_index /dev/sda1
tune2fs 1.40-WIP (14-Nov-2006)
[02:16:33 AM wasabi ~]$ sudo updatedb
[02:16:33 AM wasabi ~]$ sudo hdparm -Tt /dev/sda1
/dev/sda1:
Timing cached reads: 1182 MB in 2.00 seconds = 591.41 MB/sec
Timing buffered disk reads: 62 MB in 3.01 seconds = 20.60 MB/sec
[02:16:33 AM wasabi ~]$ sudo hdparm -Tt /dev/sda1
No, that isnt easy, because is it wrong.
the Step "2a" has nothing to do with the filesystem updatedb is not for the filesystem it is for 'locate'
The only way that work is 2b!!!
but you should write e2fsck -fD /dev/hdXY
you should check the changes in your filesystem...
--
Bookmarks