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

DIY OpenFOAM1.6 Hardware Benchmark

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2009, 21:06
Cool DIY OpenFOAM1.6 Hardware Benchmark
  #1
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 17
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
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

Last edited by ericnutsch; October 27, 2009 at 17:42. Reason: simpleFoam not simplefoam
ericnutsch is offline   Reply With Quote

Old   October 27, 2009, 17:37
Default
  #2
New Member
 
Anders Wallin
Join Date: Oct 2009
Posts: 7
Rep Power: 17
awallin is on a distinguished road
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.
awallin is offline   Reply With Quote

Old   October 27, 2009, 17:42
Default
  #3
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 17
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
Ah yes "simpleFoam". Case sensitivity gets me every time. Thanks for the post.
ericnutsch is offline   Reply With Quote

Old   October 29, 2009, 04:43
Default
  #4
New Member
 
Anders Wallin
Join Date: Oct 2009
Posts: 7
Rep Power: 17
awallin is on a distinguished road
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...
awallin is offline   Reply With Quote

Old   October 30, 2009, 10:34
Smile
  #5
New Member
 
Rui Da Silva Lourenco
Join Date: Oct 2009
Location: France
Posts: 2
Rep Power: 0
siffli is on a distinguished road
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
siffli is offline   Reply With Quote

Old   November 9, 2009, 23:24
Smile cool stuff
  #6
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 17
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
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 is offline   Reply With Quote

Old   November 26, 2009, 14:43
Default
  #7
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 17
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
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.
ericnutsch is offline   Reply With Quote

Old   December 2, 2009, 22:45
Smile
  #8
Member
 
Join Date: Nov 2009
Posts: 65
Rep Power: 16
waku2005 is on a distinguished road
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
waku2005 is offline   Reply With Quote

Old   December 11, 2009, 19:07
Default New Computer Benchmarked :)
  #9
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 17
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
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)
ericnutsch is offline   Reply With Quote

Old   December 17, 2009, 09:56
Default
  #10
Member
 
Newton KF
Join Date: Mar 2009
Posts: 36
Rep Power: 17
NewtonKF is on a distinguished road
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...
NewtonKF is offline   Reply With Quote

Old   December 17, 2009, 14:01
Default
  #11
New Member
 
Join Date: May 2009
Posts: 1
Rep Power: 0
frinxor is on a distinguished road
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
frinxor is offline   Reply With Quote

Old   December 17, 2009, 14:30
Default
  #12
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 17
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
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. <--exhausted smiley.
ericnutsch is offline   Reply With Quote

Old   December 17, 2009, 14:36
Default
  #13
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 17
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
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.
ericnutsch is offline   Reply With Quote

Old   February 10, 2010, 03:27
Default
  #14
New Member
 
Evan Groose
Join Date: Feb 2010
Posts: 3
Rep Power: 16
egroose is on a distinguished road
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.

Last edited by egroose; February 10, 2010 at 03:51.
egroose is offline   Reply With Quote

Old   February 10, 2010, 10:26
Default
  #15
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
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
elvis is offline   Reply With Quote

Old   April 2, 2010, 19:39
Default
  #16
New Member
 
JohnMichaelKane
Join Date: Mar 2010
Posts: 18
Rep Power: 16
JohnMichaelKane is on a distinguished road
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?

Last edited by JohnMichaelKane; April 2, 2010 at 21:37.
JohnMichaelKane is offline   Reply With Quote

Old   April 3, 2010, 20:59
Default
  #17
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 17
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
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!
ericnutsch is offline   Reply With Quote

Old   April 3, 2010, 22:10
Default
  #18
New Member
 
JohnMichaelKane
Join Date: Mar 2010
Posts: 18
Rep Power: 16
JohnMichaelKane is on a distinguished road
Greetings Ericnutsch.

Quote:
Originally Posted by ericnutsch View Post

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 View Post
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

Last edited by JohnMichaelKane; April 3, 2010 at 22:43.
JohnMichaelKane is offline   Reply With Quote

Old   April 4, 2010, 21:36
Smile
  #19
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 17
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
Awesome, glad to hear you got it worked out.
ericnutsch 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
SIG HPC Benchmark jens_klostermann OpenFOAM 0 October 1, 2009 19:20
Hardware recommendation? AMD X2, Phenom, Core2Duo, Quadcore? rparks OpenFOAM 0 April 22, 2009 10:10
Benchmark Ford Prefect Main CFD Forum 6 July 3, 2006 11:29
AMD opteron hardware gg FLUENT 4 September 9, 2004 12:57
hardware Guus Jacobs Main CFD Forum 24 May 3, 2000 17:42


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