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 |
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. |
thanks for the answer kyle, could you please explain to me what is the difference between nfs and distributed "yes"?
|
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.
|
ok understood, thanks you very much for your answers kyle!
Astan |
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 |
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/ |
ok, i'll try! thanks you very much for your reply.
Astan |
All times are GMT -4. The time now is 15:38. |