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

is 4170 a 4 core cpu or 2 core?cores or threads?

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

Like Tree2Likes
  • 2 Post By CapSizer

Reply
 
LinkBack Thread Tools Display Modes
Old   July 6, 2013, 09:43
Default is 4170 a 4 core cpu or 2 core?cores or threads?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
according to lscpu Fx-4170 has only 2 cores and 4 threads.how can judge about it?threads are like cores in calculating?
Code:
ehsan@Ehsan-com:~$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    2
Core(s) per socket:    2
CPU socket(s):         1
NUMA node(s):          1
Vendor ID:             AuthenticAMD
CPU family:            21
Model:                 1
Stepping:              2
CPU MHz:               1400.000
BogoMIPS:              8399.94
Virtualization:        AMD-V
L1d cache:             16K
L1i cache:             64K
L2 cache:              2048K
L3 cache:              8192K
NUMA node0 CPU(s):     0-3
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   July 6, 2013, 18:49
Default
  #2
Senior Member
 
Charles
Join Date: Apr 2009
Posts: 179
Rep Power: 9
CapSizer is on a distinguished road
The current series of AMD CPU's use a slightly unusual design. The CPU's are built up from a number of "modules", each of which has two cores that share a single floating point processor. You can get into long debates about whether or not this is a brilliant way of putting together a CPU, but in fact it makes quite a lot of technical sense, even if it is not great for CFD use. Your 4170 CPU has two of these modules, therefore 4 cores in total, but only two floating point processors. This may not be as bad as it sounds. You can run 4-way parallel, and it will be significantly faster than running just two way parallel, but will probably not be twice as fast. What you should do is to run exactly that test ... set up an OpenFOAM case, and run it serial, 2-way, 3-way and 4-way. Then graph the number of iterations / minute, and post the graph here.

The attached graph should help explain - this is an "8-core" FX8150. Once you get to 4-way parallel, the speed flattens off, because you now have to start sharing floating point processors. You also get a saturation of the memory system, which is less noticeable when you underclock it.
Attached Images
File Type: jpg fx8150_scaling.jpg (33.1 KB, 15 views)
wyldckat and immortality like this.
CapSizer is offline   Reply With Quote

Old   July 7, 2013, 03:53
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
hi
Thanks,
How can estimate iterations/minute?
And use Calc for drawing or gnuplot?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   July 7, 2013, 08:52
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

@Charles: Many thanks for the clarification! I had a firm belief that AMD hadn't lowered themselves to using HT-like technology to boost their sales, but I guess I was wrong: http://www.ocaholic.ch/modules/smart...mid=773&page=2
According to the link above, it means that there is only 80% performance if there were 4 actual cores It's not as bad as HT, but still...

@Ehsan: Based on the link above an this link: http://www.cpubenchmark.net/high_end_cpus.html - I would estimate that your CPU should do roughly 50% of the number of iterations as of Charles' 8150 CPU.
And I believe he used Open/Libreoffice Calc.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

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
solving a conduction problem in FLUENT using UDF Avin2407 Fluent UDF and Scheme Programming 1 March 13, 2015 03:02
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
stop when I run in parallel Nolwenn OpenFOAM 34 September 24, 2011 14:51
OpenFOAM 13 Intel quadcore parallel results msrinath80 OpenFOAM Running, Solving & CFD 13 February 5, 2008 06:26
OpenFOAM 13 AMD quadcore parallel results msrinath80 OpenFOAM Running, Solving & CFD 1 November 11, 2007 00:23


All times are GMT -4. The time now is 08:41.