CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

FX8350 is terrible for OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 23, 2013, 00:47
Default FX8350 is terrible for OpenFOAM
New Member
Charlie Feng
Join Date: Dec 2012
Posts: 2
Rep Power: 0
cfeng is on a distinguished road
I built a new computer specifically for OpenFoam.

I am using the new eight-core AMD FX 8350 processor, 16 gb GSkill ram, running at 90% of the L3 cache speed (fast!), and two hard drives in RAID1.

I was expecting this computer to be extremely quick, but it is running identical simulations about 10x slower than the local i7 workstations at school.

Could I have setup something incorrectly during installation of Ubuntu 12.04 or OpenFoam 2.20?

Any help would greatly appreciated, Thanks.
cfeng is offline   Reply With Quote

Old   May 23, 2013, 18:48
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,949
Blog Entries: 34
Rep Power: 92
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Charlie and welcome to the forum!

You should have done some more research on the Hardware forum:
There you should have found at least this thread: AMD FX 8-core or 6-core?

There are a few details to keep in mind:
  1. How fast is your RAM? 1600MHz or 2166MHz?
  2. How did you install OpenFOAM 2.2.0? Was it from source code or the from the Deb pack?
  3. If I remember correctly, i7 processors have quad-channel DDR3 support, while the 8350 processors only support dual-channel DDR3. If you check the Hardware thread, you'll somewhere read about how much this can hurt performance...
    If you had purchased an AMD Opteron, then it could have quad-channel...
In conclusion:
  • For your CPU, you should have the fastest RAM you can purchase... without going overboard, because from what I've read, more than 2166MHz is probably not worth the money... but I could be wrong.
  • You should build OpenFOAM from source. Search for the GCC tuning options for the AMD processors.
  • Also search for memory tuning options in the BIOS/UEFI, because of the memory searching patterns that can improve the behaviour with unstructured or structured meshes. Again search the Hardware forum.
Best regards,
wyldckat is online now   Reply With Quote

Old   May 23, 2013, 23:21
New Member
Charlie Feng
Join Date: Dec 2012
Posts: 2
Rep Power: 0
cfeng is on a distinguished road
wyldckat, thanks for your reply. I am using 1600 MHz ram overclocked to 1866 MHz running in dual channel. Also, OpenFoam was installed from the Deb Pack. I think the problem comes from running my case using all 8 cores in parallel, so the L2 cache is split between the two cores, causing slow memory reads.

A previous thread talked about optimizing mpirun for core affinity. Can't say I understand cache very well, but I'll compare with running cases split between 4 sets of 2 cores.

Last edited by wyldckat; May 24, 2013 at 18:18. Reason: merged the two consecutive posts, since the second one was just a typo correction...
cfeng is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11

All times are GMT -4. The time now is 19:58.