CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Hardware

GlusterFS vs NFS for openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2019, 05:40
Default GlusterFS vs NFS for openfoam
  #1
Member
 
Andrew
Join Date: Mar 2018
Posts: 82
Rep Power: 8
Astan is on a distinguished road
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
Astan is offline   Reply With Quote

Old   February 27, 2019, 11:25
Default
  #2
Senior Member
 
Join Date: Mar 2009
Location: Austin, TX
Posts: 160
Rep Power: 18
kyle is on a distinguished road
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.
kyle is offline   Reply With Quote

Old   February 28, 2019, 14:23
Default
  #3
Member
 
Andrew
Join Date: Mar 2018
Posts: 82
Rep Power: 8
Astan is on a distinguished road
thanks for the answer kyle, could you please explain to me what is the difference between nfs and distributed "yes"?
Astan is offline   Reply With Quote

Old   February 28, 2019, 21:21
Default
  #4
Senior Member
 
Join Date: Mar 2009
Location: Austin, TX
Posts: 160
Rep Power: 18
kyle is on a distinguished road
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.
kyle is offline   Reply With Quote

Old   March 2, 2019, 06:36
Default
  #5
Member
 
Andrew
Join Date: Mar 2018
Posts: 82
Rep Power: 8
Astan is on a distinguished road
ok understood, thanks you very much for your answers kyle!

Astan
Astan is offline   Reply With Quote

Old   March 7, 2019, 15:55
Default
  #6
Member
 
Andrew
Join Date: Mar 2018
Posts: 82
Rep Power: 8
Astan is on a distinguished road
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
Astan is offline   Reply With Quote

Old   March 7, 2019, 16:01
Default
  #7
Senior Member
 
Join Date: Mar 2009
Location: Austin, TX
Posts: 160
Rep Power: 18
kyle is on a distinguished road
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/
kyle is offline   Reply With Quote

Old   March 7, 2019, 16:13
Default
  #8
Member
 
Andrew
Join Date: Mar 2018
Posts: 82
Rep Power: 8
Astan is on a distinguished road
ok, i'll try! thanks you very much for your reply.

Astan
Astan is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS setting for sharing removable hard disk on network luchen2408 Lounge 5 May 20, 2013 16:57
Setup OpenFOAM to run one two computers steps hsieh OpenFOAM Installation 12 February 12, 2011 04:44
nfs file stale handle braennstroem OpenFOAM Installation 4 September 2, 2010 01:15
suggestions for nfs settings braennstroem OpenFOAM Installation 1 September 22, 2009 12:44
NFS timing problems Mattijs Janssens (Mattijs) OpenFOAM Running, Solving & CFD 3 September 30, 2004 05:23


All times are GMT -4. The time now is 08:05.