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

To the cluster experts

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2019, 03:45
Default To the cluster experts
  #1
Senior Member
 
Simbelmynė's Avatar
 
Join Date: May 2012
Posts: 546
Rep Power: 15
Simbelmynė is on a distinguished road
Hey,


I'm playing around with my home cluster.


MX Linux 18.1. OpenFOAM v6 compiled from source.



It's a heterogeneous setup with a 7600k, 3930k and 2600k.


The motorbike benchmark on either the 7600k or the 3930k gives approximately the same results which seems reasonable (3200 MHz memory vs 1600 MHz).


However, when I run the case with both the 7600k and 3939k it becomes much slower.


If I use as much resources as possible (N=14 over the 3 computers) then I manage to get approximately 10% faster results compared to just using the 7600k or 3930k.


I use NFS for the simulation directory as well as to share the OpenFOAM installation.


Ethernet.



I have tried -bind-to-core and it makes no difference. Any other switch I should try?



looking at the output from simpleFoam it seems that the update between outer iterations is taking a lot of time. Can this be due to some I/O issue?


Any pointers would be welcome


** Update **


So with only two computers and N=10 it seems that the scaling is way better.



It finish the motorbike testcase in 139 s, which seems OK given the hardware.

Last edited by Simbelmynė; March 9, 2019 at 18:11. Reason: Some new results.
Simbelmynė is offline   Reply With Quote

Old   March 11, 2019, 12:27
Default
  #2
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,167
Rep Power: 23
evcelica is on a distinguished road
You need to balance the computing load with the computing speed of each node. Does openfoam allow you to do this? Or can you only assign number of cores for each computer. You should probably run benchmarks of each machine separately to figure out their relative speed, and how well they scale on different number of cores by themselves. Be aware this can change with problem size, double precision, and other factors.

This is why a homogeneous cluster is always preferred, as the loads are always matched perfectly to the relative speed since they are all the same.
evcelica is offline   Reply With Quote

Old   March 11, 2019, 13:37
Default
  #3
Senior Member
 
Simbelmynė's Avatar
 
Join Date: May 2012
Posts: 546
Rep Power: 15
Simbelmynė is on a distinguished road
Agreed. These are just some random parts I had lying around. The 3930k and 7600k are evenly matched in terms of performance. I think the first tests where I used N=4 (2 on each CPU) might be misleading since the 3930k probably lags behind in that scenario. It needs 6 cores to be competitive it seems. And with faster memory I think it will not be able to fully use the 4 memory channels. The 2600k is way slower on it’s own so that may be the cause for the poor performance when not using load balancing.

I will do some more testing. Anyways, the added 3930k effectively increased the computing power of my home setup to - faster than a 7940X, for virtually no money at all.

Now, since both memory and CPU of the 2600k can be pushed quite a bit, perhaps I can add some more punch to the setup if I manage load balancing.
Simbelmynė is offline   Reply With Quote

Old   March 11, 2019, 17:38
Default OpenFoam - scotch - weighting
  #4
Senior Member
 
Will Kernkamp
Join Date: Jun 2014
Posts: 316
Rep Power: 12
wkernkamp is on a distinguished road
Quote:
Originally Posted by Simbelmynė View Post
Agreed. These are just some random parts I had lying around. The 3930k and 7600k are evenly matched in terms of performance. I think the first tests where I used N=4 (2 on each CPU) might be misleading since the 3930k probably lags behind in that scenario. It needs 6 cores to be competitive it seems. And with faster memory I think it will not be able to fully use the 4 memory channels. The 2600k is way slower on it’s own so that may be the cause for the poor performance when not using load balancing.

I will do some more testing. Anyways, the added 3930k effectively increased the computing power of my home setup to - faster than a 7940X, for virtually no money at all.

Now, since both memory and CPU of the 2600k can be pushed quite a bit, perhaps I can add some more punch to the setup if I manage load balancing.

Since you are running openfoam with the scotch partitioning, you can try weighting. See //https://www.openfoam.com/documentation/user-guide/running-applications-parallel.php


If you do try, let me know if it is effective. Haven't used it myself.
wkernkamp 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
[OpenFOAM.org] Problems with installing openfoam 5.0 on HPC Cluster sjlouie91 OpenFOAM Installation 4 January 20, 2019 15:35
[Other] Basic questions about OpenFOAM cluster running and installing Fauster OpenFOAM Installation 0 May 25, 2018 15:00
SAP cluster resource/services not coming online on cluster node 2 Nthar1@yahoo.com Hardware 0 May 9, 2017 05:55
Why not install cluster by connecting workstations together for CFD application? Anna Tian Hardware 5 July 18, 2014 14:32
Parallel cluster solving with OpenFoam? P2P Cluster? hornig OpenFOAM Programming & Development 8 December 5, 2010 16:06


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