Tuning reiserfs
Hello all.
I'm a happy user of reiserfs, which I find stable and fast.
However, I'm curious as the wether reiserfs can be tuned to be even faster in my situation.
Nearly all files on my volume can be divided into two categories. Files in the 5-10 MB range, and files in the 200-500 MB range.
Especially "ls -l" on directories with many 200-500 MB files takes a relatively "long" time (severeal seconds).
Since I moved to a raid-5 array with same-model disks, this has been reduced to about 1 second at the most. My interest is therefore acedemic. I really don't need a faster fs :)
/proc/mdstat:
Personalities : [linear] [raid0] [raid1] [raid5] [raid6]
md1 : active raid5 hda1[0] hdh1[7] hdg1[6] hdf1[5] hde1[4] hdd1[3] hdc1[2] hdb1[1]
820527232 blocks level 5, 32k chunk, algorithm 2 [8/8] [UUUUUUUU]
fdisk -l /dev/hda:
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/hda1 1 14593 117218241 fd Linux raid autodetect
Any ideas?
Signature · 2 lines
Regards, Christian Iversen
Hello
Quoted 4 lines · Christian Iversen
Hello all.
I'm a happy user of reiserfs, which I find stable and fast.
Quoted 9 lines
However, I'm curious as the wether reiserfs can be tuned to be even faster in my situation.
Nearly all files on my volume can be divided into two categories. Files in the 5-10 MB range, and files in the 200-500 MB range.
Especially "ls -l" on directories with many 200-500 MB files takes a relatively "long" time (severeal seconds).
I am afraid there is nothing you can easily do to fix this. For the fileset like yours reiserfs has to read one block to stat one file. So, to ls -l 10000 files - 10000 blocks is to be read.
Quoted 21 lines
Since I moved to a raid-5 array with same-model disks, this has been reduced to about 1 second at the most. My interest is therefore acedemic. I really don't need a faster fs :)
/proc/mdstat:Personalities : [linear] [raid0] [raid1] [raid5] [raid6]
md1 : active raid5 hda1[0] hdh1[7] hdg1[6] hdf1[5] hde1[4] hdd1[3] hdc1[2] hdb1[1]820527232 blocks level 5, 32k chunk, algorithm 2 [8/8] [UUUUUUUU]fdisk -l
/dev/hda:Disk
/dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytesDevice Boot Start End Blocks Id System /dev/hda1 1 14593 117218241 fd Linux raid autodetectAny ideas?
Quoted 13 lines · you
Hello
Quoted 10 lines · Christian Iversen
Hello all.
I'm a happy user of reiserfs, which I find stable and fast.
However, I'm curious as the wether reiserfs can be tuned to be even faster in my situation.
Nearly all files on my volume can be divided into two categories. Files in the 5-10 MB range, and files in the 200-500 MB range.
Quoted 6 lines
Quoted 2 lines
Especially "ls -l" on directories with many 200-500 MB files takes a relatively "long" time (severeal seconds).
I am afraid there is nothing you can easily do to fix this. For the fileset like yours reiserfs has to read one block to stat one file. So, to ls -l 10000 files - 10000 blocks is to be read.
But that's exactly the point. There aren't nearly 10000 files, closer to 200. It seems that 200 2-500 MB files take about the same time to stat as many more (i.e. 10000) small files.
Do large files take a longer time to stat, or is it something else?
In any case, I'm very happy with reiserfs. Thanks for you help :)
Signature · 2 lines
Regards, Christian Iversen