CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Selecting cores independently in a dual quad core machine

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2009, 23:45
Default Selecting cores independently in a dual quad core machine
  #1
New Member
 
Javier Larrondo
Join Date: Jun 2009
Posts: 17
Blog Entries: 1
Rep Power: 17
jalarron is on a distinguished road
Hi all,

I need to select specifically the cores in a dual quad core Xeon machine, running fluent in SUSE SLED 10 Sp2.

I have 8 cores, and wanted to run 2 cases each using 4 cores. I've started one case with: fluent 3d -t4 & ;but as soon as I start the other case: fluent 3d -t4 &. The first case slows down immediately. So I'm assuming that the second command is picking the same or some of the cores of the first case.

Is there a way to select independently each core in fluent? I used to do this with the option cnf=n1,n2,n3,n4. But in that time I had each node as separated pc.

Cheers,
Javier
jalarron is offline   Reply With Quote

Old   September 7, 2009, 18:06
Default
  #2
New Member
 
HP Kritzinger
Join Date: May 2009
Location: South Africa
Posts: 25
Rep Power: 17
mystic_cfd is on a distinguished road
Hi Javier,

Are you running 6.3.26? There was a problem that it would launch the second run on the same cores with that version of Fluent. If you use 6.3.35 or 12.0.16 it should not happen.

To set the cores manually:
- Start the first job to run (it will grab four cores for itself).
- start second Fluent session and load case and data
- set the process affinity with the TUI command:
(set-affinity "0 4 1 5 2 6 3 7")
This example will set a 4-partition parallel run to run on 4 cores; the data is arranged in pairs such that partition 0 is sent to core 4, partition 1 is sent to core 5 etc.

To see which cores are currently loaded, use top, and when top is running press "1". This expands the CPU section at the top to show individual cores. From the load status you will be able to see which cores are not occupied.

Hopes this helps.

cheers.

PS. if you are using older series Xeon (e.g. 52xx, 53xx, 54xx, 73xx) the bad news is that there will be very little speedup going from 4 to 8 cores due to memory bandwidth limitations. for newer series (55xx) this will not be the case. if licenses are a problem, it is best to run 2 threads per CPU (only use 2 of the 4 cores). It should be as fast as using all 4, and it uses half the licenses.
mystic_cfd is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Dual Xeon PIV 3.8Ghz vs 2x Dual Core E5130 2.0 GHz Michiel Hardware 4 July 31, 2009 07:06
Parallel computing quad core Prad Main CFD Forum 13 February 9, 2009 15:28
Distributed Parallel on dual core remote machine Justin CFX 1 February 3, 2008 18:23
Questions about CPU's: quad core, dual core, etc. Tim FLUENT 0 February 26, 2007 15:02


All times are GMT -4. The time now is 16:43.