Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OCFS2 vs. NFS

976970Nov 29 2012 — edited Dec 2 2012
I am currently in the process of an evaluation. We are planning to run an OpenVZ Cluster (true hypervisors have too much latency/overhead for the required scenario) with a shared storage for all participating nodes.

The OpenVZ containers will be stored on the shared filesystem. Use case is mostly reads (executing one binary in each container, which may load bulk data into memory from the shared fs as well), practically no writes. Since every process will run in its own OpenVZ container directory, there will be no concurrent reads/writes (ie locking should not be much of an issue). There might be > 200 node clients, each node might have up to 20 openvz containers (though since these use the node FS this should not matter). We want to use a central and cheap storage (no distributed storage).

Since OpenVZ is RHEL based i am considering Oracle Linux (i assume the OpenVZ RHEL 6.x based Kernel will run without issues on Oracle Linux). Now considering the shared filesystem i could use NFS or OCFS2 on top of iSCSI (linux software based) over Ethernet. I read a few performance benchmarks, in which OCFS2 comes out on top due to a more scalable design. However i am not sure whether these benchmarks are all that relevant to my use case, since they take into account more "normal file system usage". NFS is a lot easier to setup and to maintain, however if OCFS2 performs and scales significantly better for my use case i would give it a try.

I would appreciate all input, since i assume there are quite a few people out there who are more knowledgeable with such use cases and OCFS2 in particular.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 30 2012
Added on Nov 29 2012
2 comments
2,255 views