Pascal Schirrmann a écrit :
> I actually have an old 13 Gb HD in this system, who wasn't formatted. I
> just installed an ext2fs filesystem. Incredible ! This drive is slower
> than the other, but the unlink of a 1,2 gb file took only 1,2 second !
> I just map my freevo tmp on this drive, and my TV show is working as
> expected.
Ok, me again.
My Linux Guru wasn't at all satisfied with the result of my tests : ext3
only journalize METADATA (that is, data about the filesystem integrity),
not 'raw data'. So, the over cost could be sensible, but not in a 1 to
15 value.
So I did some further tests and investigations, and it seems that the
trouble was in the sizing of my filesystem.
You can have a look with
tune2fs -l /dev/{your partition}
It seems that the trouble was mostly related to the size of the bloc and
the number of blocs per group.
Bad values (at least on my system !)
Block size: 1024
Fragment size: 1024
Blocks per group: 8192
Fragments per group: 8192
Inodes per group: 1024
Inode blocks per group: 128
Good values :
Block size: 4096
Fragment size: 4096
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 16384
Inode blocks per group: 512
The change of these values (need a reformat :-( ) did on my two disk
change on the rm speed in a 1 / 15 (at least ) ratio.
The funny thing is that the good values are the default values when
using mkfs.ext3 at command line. I have no clues why at installation
time, values were so different. Maybe another personal (and forgotten)
mistake...
Hope it can help other guys,
--
Pascal Schirrmann
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel