CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Hardware (https://www.cfd-online.com/Forums/hardware/)
-   -   GlusterFS vs NFS for openfoam (https://www.cfd-online.com/Forums/hardware/215256-glusterfs-vs-nfs-openfoam.html)

Astan February 27, 2019 05:40

GlusterFS vs NFS for openfoam
 
Hi guys, i wanted to kindly ask for an information.

Do you know how to configure openfoam with GlusterFS network file system?

In your opinion when dealing with 2-node cluster, is better using NFS or GlusterFS? (with ethernet 1Gbps cable to connect the two nodes).

Thanks your for the time spent for reading the post

Astan

kyle February 27, 2019 11:25

Something like GlusterFS is completely unnecessary for only two nodes.

If you're doing something goofy like saving the entire flow field every few iterations then the better solution would be to use the "distributed" option in your controlDict. If you're doing more typical work, then just run normally with NFS.

Astan February 28, 2019 14:23

thanks for the answer kyle, could you please explain to me what is the difference between nfs and distributed "yes"?

kyle February 28, 2019 21:21

For "distributed no", all processor folders are stored on the same machine and the nodes access and save data via NFS. In the case of "distributed yes" then the processor folders would be stored on the node that the processor belongs to, which reduces network traffic and allows you to use many disks in parallel to speed up writes.

Astan March 2, 2019 06:36

ok understood, thanks you very much for your answers kyle!

Astan

Astan March 7, 2019 15:55

hi kyle, i've tried to use the "distributed" option, but unfortunately i wasn't able to run the simulation.
Could you kindly explain me how to use this option?

i've setup the case in the shared folder, then i wrote decomposePar, after i paste the processorN folder in the root home/user/processorN, but it doesn't start the simulation, it says it cannot open the specified directory.

Could you kindly explain me how to setup properly the files?

Astan

kyle March 7, 2019 16:01

It's very unlikely that you will see any meaningful performance improvement, but the documentation explains how to use it.

Section 3.4.4
https://cfd.direct/openfoam/user-gui...ions-parallel/

Astan March 7, 2019 16:13

ok, i'll try! thanks you very much for your reply.

Astan


All times are GMT -4. The time now is 15:38.