CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Hardware (http://www.cfd-online.com/Forums/hardware/)
-   -   DIY OpenFOAM1.6 Hardware Benchmark (http://www.cfd-online.com/Forums/hardware/69539-diy-openfoam1-6-hardware-benchmark.html)

ericnutsch October 26, 2009 21:06

DIY OpenFOAM1.6 Hardware Benchmark
 
There isnt a lot of information out there for selecting the best hardware to opperate open foam on; so I propose a benchmark.

Since the simpleFoam airfoil2d tutorial is included with OpenFOAM1.6 it should be a good a quick and reliable reference.

Type this code into your terminal:

cd $FOAM_RUN/tutorials/incompressible/simpleFoam/airFoil2D
simpleFoam > log &
(wait till its done)
cat log

What is your ExecutionTime at Time=500?

Please state your hardware best you can; include:
Processor speed times number of cores
Memory speed times number of gigs

My current system:

Pentium 2.8ghz x 1 core
Dual channel PC3200 400mhz x 0.5GB

64.44 seconds

awallin October 27, 2009 17:37

The command should be 'simpleFoam'

ExecutionTime = 27.08 s
Q9300 at 2.5 GHz with 8 Gb RAM (don't know/care about the RAM-speed)

this runs on a single core only so can not be used to compare double-core against quad-core etc.
I have an i7-920 at work which I can try later also.

ericnutsch October 27, 2009 17:42

Ah yes "simpleFoam". Case sensitivity gets me every time. Thanks for the post.

awallin October 29, 2009 04:43

I now ran this on the i7. I guess we want a table/list, so anyone contributing more, please add to this list:

17.27 s i7-920 @ 2.67 GHz
27.08 s Q9300 at 2.5 GHz with 8 Gb RAM
64.44 s Pentium 2.8ghz x 1 core Dual channel PC3200 400mhz x 0.5GB

we really need a multi-core benchmark also, I'll try something later...

siffli October 30, 2009 10:34

Hello the OpenFoam community,
I have test performances (Execution Time) of my computer with your recommendation :
Intel Q9650 4*3Ghz with 4*4GB memory (800MHz), Asus P5K
For only 1 core : 16.86s
For 2 cores : 9.57s (88%)
For 4 cores : 8.99s (47%)
As you can see, this benchmark are not able to test the performances with "large" CPU number. The airfoil2d tutorial are too small, particularly the number of cell (10720).
Best regards / Cordialement

ericnutsch November 9, 2009 23:24

cool stuff
 
I realize that the 2d airfoil is a little small to benchmark the large systems. Still very interesting information, however. Maybe you guys might be able to propose a better benchmark.

awallin mentioned that this could only be run on a single core, yet siffli did so.

siffli could you enlighten us? Thanks.

ericnutsch November 26, 2009 14:43

I benchmarked my same system with 1gb of ram instead of 512mb. Turned out to be a little slower with 67.85 seconds.

Should have my new system build by next week, im eager to benchmark it.

waku2005 December 2, 2009 22:45

Hi all,

Here is my result.

Core i7-975 Extreme Edition
12GB RAM(triple channel)
MSI-X58 Pro

CentOS 5.4 x84_64
OF-1.6 x86_64 DP (prebuild binaries)

ExecutionTime = 14.35 s ClockTime = 14 s :)

ericnutsch December 11, 2009 19:07

New Computer Benchmarked :)
 
Got my new computer setup and OpenFOAM installed :)

Core i7-920 (64bit four cores)
12GB RAM 1600mhz (triple channel)


Ubuntu 9.10 x84_64
OpenFOAM-1.6 x86_64 (prebuild binaries)

- 1 core: 17.59 s
- 4 cores: 9.90 s


Ubuntu 9.10 x84_64
OpenFOAM-1.6 x86_64 (gcc compiled)

- 1 core: 16.67 s
- 4 cores: 6.07 s

The results vary a fair amount trial for trial. I will get a larger benchmark and a multi core benchmark on here asap.(FYI decomposePar for multiple cores)

NewtonKF December 17, 2009 09:56

Hi... have you tried to use the intel compiler??? Is it better??? I know that for the Xeon platform, it is better to use the intel compiler with the correct parameters than the gcc...

frinxor December 17, 2009 14:01

68.63 s @ Q6600 2.4ghz 1gb ram., running 1 core.
This is inside a Linux virtual machine, Ubuntu 9.10 32bit, Host OS: windows vista 64bit, Sun VirtualBox 3.1

ericnutsch December 17, 2009 14:30

Hi NewtonKF,

I would like to use the intel compiler, as i have been told that it is 10%-15% faster. Unfortuantly I am currently running OpenFOAM on the Ubuntu 9.10 os which has problems with the intel compiler:
http://software.intel.com/en-us/foru...x/topic/69247/

I may switch over to using Centos5.4 instead which the Intel compiler installed perfectly on. I think i will do it when i have more time though. :o <--exhausted smiley.

ericnutsch December 17, 2009 14:36

frinxor,

Interesting, I havent seen anyone using OpenFOAM on a Linux virtual machine(havent really looked). I wonder what kind of performance constraints it adds?

Probably no too bad in your case where you are using one of your 2 cores.

egroose February 10, 2010 03:27

I have a Dell 380 with a P4 3.4 GHz and 4G of RAM.

Mine completed in 45.31s but I noticed that my RAM was hardly tapped while processing. Just for fun, the driven cavity only took 0.34s. :)

elvis February 10, 2010 10:26

Hello,

I don't know if you have realized that Bernhard Gschaider did some stuff in that direction long time ago.
http://openfoamwiki.net/index.php/Contrib_benchFoam

http://openfoamwiki.net/index.php/Contrib_PyFoam

maybe you can try to help to update this work

take a look at
http://openfoamwiki.net/index.php/Be...ks_standard_v1 for old results of benchmarks

just my 2 cents

elvis

JohnMichaelKane April 2, 2010 18:39

Greetings.

Testing OpenFOAM on Ubuntu 9.10 station.

First: Passing the
Code:

cd $FOAM_RUN/tutorials/incompressible/simpleFoam/airFoil2D
command returns.

Code:

bash: cd: /tutorials/incompressible/simpleFoam/airFoil2D: No such file or directory
Next: Using terminal to go directly to
Code:

~/OpenFOAM/OpenFOAM-1.6.x/tutorials/incompressible/simpleFoam/airFoil2D$
Then passing the
Code:

simpleFoam > log &
Results in terminal closing.

Creating a FOAM_RUN dir as a test, and copying tutorials folder, and passing
Code:

simpleFoam > log &
results in terminal closing.

What is the correct method of running benchmark in first posted?

ericnutsch April 3, 2010 19:59

JohnMichaelKane,


Did you manage to successfully run foamInstallationTest after your installation?
/OpenFOAM/OpenFOAM-1.6.x/bin/foamInstallationTest

Did you "source" openfoam?(aka tell your computer where openfoam is). This is done by either:

1.Inserting code into the bashrc file. Follow the OF install instructions
http://www.openfoam.com/docs/README.php

-OR-

2. Source OpenFoam Locally in the terminal. I am on Ubuntu 9.10 and this is the code I use paste into the terminal each time I run. (works in any of my user profiles, you will obviously have to replace the location with the location of your OF directory)

cd
cd ..
cd eric/OpenFOAM/OpenFOAM-1.6.x/
export FOAM_INST_DIR=/home/eric/OpenFOAM
export FOAM_RUN=/home/eric/OpenFOAM/openfoam-1.6.x/run
source ~eric/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc
cd


Hope that helps!

JohnMichaelKane April 3, 2010 21:10

Greetings Ericnutsch.

Quote:

Originally Posted by ericnutsch (Post 253056)

Did you manage to successfully run foamInstallationTest after your installation?
/OpenFOAM/OpenFOAM-1.6.x/bin/foamInstallationTest

First I entered.
Code:

~/OpenFOAM/OpenFOAM-1.6.x/bin$
Next I passed the below command.
Code:

./foamSystemCheck
Which returned.

Code:

Checking basic system...
-----------------------------------------------------------------------
Shell:          /bin/bash
Host:            xxxxxx
OS:              Linux version 2.6.31-21-generic
User:            xxxxxx
System check: PASS

Quote:

Originally Posted by ericnutsch (Post 253056)
Did you "source" openfoam?(aka tell your computer where openfoam is). This is done by either:

1.Inserting code into the bashrc file. Follow the OF install instructions
http://www.openfoam.com/docs/README.php

-OR-

2. Source OpenFoam Locally in the terminal. I am on Ubuntu 9.10 and this is the code I use paste into the terminal each time I run. (works in any of my user profiles, you will obviously have to replace the location with the location of your OF directory)

cd
cd ..
cd eric/OpenFOAM/OpenFOAM-1.6.x/
export FOAM_INST_DIR=/home/eric/OpenFOAM
export FOAM_RUN=/home/eric/OpenFOAM/openfoam-1.6.x/run
source ~eric/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc
cd
Hope that helps!

Here is the line from my bashrc
Code:

alias startFoam=". ~/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc"
Additionally: I managed to run the benchmark after posting this, however. No completion-time shown in the log file.

Edit: I think I have sorted out the issue.

This is time listed in log for ExecutionTime at Time=500 .
ExecutionTime = 17.85 s ClockTime = 17 s

Benchmark done on
Intel Core 2 Duo E8400 @ 3.0GHz
6GB DDR2 800

ericnutsch April 4, 2010 20:36

Awesome, glad to hear you got it worked out.


All times are GMT -4. The time now is 13:24.