[Ocfs2-users] ocfs2 vs ext3?

Andrew (Anything) anything at starstrike.net
Wed Apr 29 00:24:11 PDT 2009


> 
> Hi Andrew,
> 	I just checked max-features, it doesn't include "local" which means 
> that you still need to create dlm lock in your local node which will 
> cost some delay. You can check whether your volume enable "local" by 
> command
> 
> echo 'stats'|debugfs.ocfs2 /dev/sdX|grep "Incompat"
> 
> If the volume is mkfsed to used as local disk, you should see "local".
> Otherwise you need to add "--fs-features=local" to your mkfs.
> 
> Regards,
> Tao

Thanks for your replies Tao and Thomas

I still intend on using the filesystem in a 3 node cluster, but when I found
it to be 25x slower than a single ext3 part I thought id start
troubleshooting at the start.

I just did a format of a small partition to give it a quick test anyway, and
found that it performs just as well as ext3, in some test even better.

Except if I understand correctly, local disables the ability for clustering
completely?

> 
> Dear Andrew,
> 
> I think the result should be normal because ocfs2 is a cluster fs ?
>

Hi Thomas,


on a single node system (with no network latency, and only itself to talk
to) I had expected better results.
is a 10x reduction in file creation/modification an expected result?


Andy..





More information about the Ocfs2-users mailing list