8 Physical cores vs 4 Physical 8 Threads?

Page 4 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

beginner99

Diamond Member
Jun 2, 2009
5,224
1,598
136
I would have choosen the i7. Would overclock better and is faster per core. Probably a close race. i7 is also more power efficient and if you run it 24/7 at 100% that will quickly become a factor.
 

HAL9000

Lifer
Oct 17, 2010
22,027
3
76
I would have choosen the i7. Would overclock better and is faster per core. Probably a close race. i7 is also more power efficient and if you run it 24/7 at 100% that will quickly become a factor.

Not that fussed about power consumption, I do like having 8 cores aswell, plus it cost a lot less than a 980x would have set me back.
 

senseamp

Lifer
Feb 5, 2006
35,787
6,197
126
Hyperthreading is splitting functional units of a core between two threads. Good if you have two different applications that want to use different functional units.
It's like if you have a men's room and women's room. Good if a two people of different gender want to use restroom at same time, but if there are two guys who want to use it, they'll have to serialize, and if it's two women, well, forget it.
Presumably,video encoding is going to split the video stream into segments for each core to process, but it's going to run similar code in all threads and thus contend for same functional units. In this case you are better having two mens rooms and two womens rooms, even if utilization is going to be lower.
 

Denithor

Diamond Member
Apr 11, 2004
6,300
23
81
I have always visualized HT as simply a hardware-level scheduling tool that allows each core to be fully utilized by arranging work in a more efficient manner. Doesn't help in situations where you have enough work to keep all cores busy though, more cores takes the easy win in those cases.

That, of course, assumes an apples-to-apples comparison of cores.
 

Cogman

Lifer
Sep 19, 2000
10,278
126
106
Hyperthreading is splitting functional units of a core between two threads. Good if you have two different applications that want to use different functional units.
It's like if you have a men's room and women's room. Good if a two people of different gender want to use restroom at same time, but if there are two guys who want to use it, they'll have to serialize, and if it's two women, well, forget it.
Presumably,video encoding is going to split the video stream into segments for each core to process, but it's going to run similar code in all threads and thus contend for same functional units. In this case you are better having two mens rooms and two womens rooms, even if utilization is going to be lower.

Not necessarily true (about the video encoders). Video encoders have a lot of integer and floating point math. So the effectiveness of hyperthreading is really going to be a "Hit miss" sort of situation. rather then always being a benefit. In other words, if one thread just so happens to be using the APU and the other the FPU, then hyperthreading will see a nice boost.

Heck, even if they are doing the same sort of instructions (EG, both are doing integer multiplication) there is still a possibility that the parts required for multiplication are open for 2 threads. (in fact, where the instruction is highly pipelined it is likely)
 

Dufus

Senior member
Sep 20, 2010
675
119
101
Are OS's generaly suppose to use PCore first then thred onward to the HT/LCore or is just random and depend on the programming/er?

That's a good question. With HT each physical core has 2 threads** which are seen as logical CPUs. Both threads are equal and it shouldn't matter which of the two threads you run on performance wise. A performance hit can however come from running on both threads of the same physical core at the same time.

Here's some results with an i7-860 with HT enabled and W7HP64. Balanced power plan used.

4 physical cores ( Core 0 to Core 3 ) each with 2 threads.



1) This is the usual run of Linx using 8 threads, 33GFlops. Core parking is enabled and defaults mean at least one thread per physical core should be active. This has the effect of the first 4 software threads usually being assigned to different physical cores unless the logical cores are considered overloaded.

2) Linx is set to use 4 threads and because affinity is set to "all", the OS gets to choose which logical CPUs they will run on. They may swap threads when context switching occurs. Well in my case the scheduling didn't go too well with the software threads running mainly on just physical core 0 and core 1 and a little on core 3. Result, 24-28GFlops.

3) Still using 4 threads, affinity has been set to use 1 thread per physical core. This gives a much better result, 37GFlops.

4) Now there seems to be a bug with the core parking algo'. Selecting affinity of the 4 parked cores results in only one thread being un-parked and used resulting in terrible performance. BTW I did not disable turbo for these tests so that 1 core was probably using 26x multi against 4 cores using 22x. I should redo it with fixed multi. Naah, I'm not that keen.

So in my case I guess the answer to your question would be errm... yes, to everything lol !

** Possibly more than 2 threads per physical core may become available in the future.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |