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

choosin higher number of processes than actual number of cores

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By LuckyTran
  • 2 Post By LuckyTran
  • 1 Post By Roh

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2019, 17:45
Default choosin higher number of processes than actual number of cores
  #1
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Hi, all,

What happens if I choose higher number of processes than actual number of cores on my machine to run fluent in parallel?

Thanks,
alinik is offline   Reply With Quote

Old   February 26, 2019, 19:35
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
It will launch that many processes. When you click calculate and it is iterating, it'll end up running slower since all the threads have to complete their task. The threads will wait on one another to finish before moving on.
racing_student likes this.
LuckyTran is offline   Reply With Quote

Old   February 27, 2019, 10:00
Default
  #3
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Thank you LuckyTran
So the most optimum case would be to have as many threads as the number of cores that I have. Correct?
Because somewhere I heard that the number of cores is actually twice the number of processors. So if I have 8 cores, it means I can launch 16 processes on fluent. By your account, that is not correct. Am I right?
alinik is offline   Reply With Quote

Old   February 27, 2019, 11:01
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Note that what ppl call cpu/core/processor means a lot of things.

If you have a processor die/socket with 8 cores (an oct-core for example) and you have hyperthreading on you will have 8 physical processes + 8 virtual processes = 16 logical processes. So you will have 16 possible processor threads to which tasks can be assigned. You need to know your hardware to know whether hyperthreading is on or not. If you are using windows, go to task manager and performance tab and you can find out how many logical processes you have total. In win7 it shows how many logical processes there are (e.g. 16 if it is 8+8). In win10, it will tell you number of sockets, cores, logical processes.

If you plan to do serious CFD calculations, hyperthreading should be off. But there are various reasons why hyperthreading might be on (for example, you never turned it off, or you cannot turn it off because you're not the admin). If hyperthreading is on and needs to stay on, then you should run on 16 processes to saturate the cpu.
alinik and racing_student like this.

Last edited by LuckyTran; February 27, 2019 at 14:45.
LuckyTran is offline   Reply With Quote

Old   February 27, 2019, 12:10
Exclamation
  #5
Roh
Senior Member
 
Join Date: Sep 2017
Posts: 130
Rep Power: 9
Roh is on a distinguished road
I think you can refer to the datasheet or Wiki-page of your processor to know the cores and threads that it handles. e.g.


https://en.wikipedia.org/wiki/Intel_Core
alinik likes this.
Roh is offline   Reply With Quote

Old   February 27, 2019, 14:59
Default
  #6
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
LuckTran,
That was the most comprehensive answer to my question. Thank you

Roh,
Thanks for sharing the info. That was very helpful
alinik 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
Decomposing meshes Tobi OpenFOAM Pre-Processing 22 February 24, 2023 10:23
Inconsistencies in reading .dat file during run time in new injection model Scram_1 OpenFOAM 0 March 23, 2018 23:29
SigFpe when running ANY application in parallel Pj. OpenFOAM Running, Solving & CFD 3 April 23, 2015 15:53
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 09:14
[blockMesh] --> foam fatal error: lillo763 OpenFOAM Meshing & Mesh Conversion 0 March 5, 2014 11:27


All times are GMT -4. The time now is 05:30.