CGTalk > Technical > Technical and Hardware
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 01-29-2006, 08:15 AM   #1
Xecode
Frequenter
Xecode Bobill
Houston, USA
 
Join Date: Oct 2005
Posts: 284
Dual Core 4 threads???

Quote:


A thread is simply a single stream of data through the processor on the system. Each application generates its own or multiple threads depending upon how it is running. With current multitasking, a processor can only handle a single thread at a time, so the system rapidly switches between the threads to process the data in a seemingly concurrent manner.



So how come my Dual Core processor has 4 threads?
 
Old 01-29-2006, 08:17 AM   #2
jcbray
Lord of the posts
 
Join Date: May 2003
Posts: 638
Do you own a Pentium 4 with Hyper-threading? this will give the appearence of four 4 threads with two cores.
 
Old 01-29-2006, 08:19 AM   #3
jcbray
Lord of the posts
 
Join Date: May 2003
Posts: 638
Just to carry on from that quote, seen as it seems to be talking about hyper-threading - what it does is, simply put, to execute part of thread 1, then part of thread 2, at a fast enough rate that it give the appearence of running 2 threads, but still, only one is executed at once.
 
Old 01-29-2006, 08:30 AM   #4
dotTom
SubDs are the Way
 
dotTom's Avatar
Tom Kirby-Green
Software Developer
London, United Kingdom
 
Join Date: Aug 2002
Posts: 609
Send a message via MSN to dotTom
Quote:
Originally Posted by jcbray
Just to carry on from that quote, seen as it seems to be talking about hyper-threading - what it does is, simply put, to execute part of thread 1, then part of thread 2, at a fast enough rate that it give the appearence of running 2 threads, but still, only one is executed at once.


That's not quite true. Hyper Threading is an attempt to make better use of the functional units within a given cores instruction pipeline, if the code is correctly optimised for HT then it is possible to get true concurrency (for example executing a float and integer operation at the same time). I believe the old Netburst architecture has 2 integer ports and 1 floating port per instruction pipe, so if both threads on a single core HT Netburst try to do float ops at the same time then one will block. The ill fated Itantium (IA64) are more float ports per pipe, which is why HT makes more sense on that architecture.

Correctly optimised HT code can yield good wins - take a look the data Luxology presented at last years Siggraph demonstrating the scalabillity of their threading accross cores with and without HT enabled. Of course HT is a added extra and in no way matches the lovelyness of multi-cores.
 
Old 01-29-2006, 09:06 AM   #5
ExKArt
Frequenter
 
Join Date: Nov 2004
Posts: 138
Send a message via AIM to ExKArt
Quote:
Originally Posted by Xecode
So how come my Dual Core processor has 4 threads?


Non-technically

Single CPU single thread
edit: Single Cpu w/ HT 2 threads (one is virtual)
Dual Core two threads
Dual Core w/HT each four threads, I'm sure Intel's site or related will say something like that.

Last edited by ExKArt : 01-29-2006 at 09:13 AM.
 
Old 01-29-2006, 09:17 AM   #6
Xecode
Frequenter
Xecode Bobill
Houston, USA
 
Join Date: Oct 2005
Posts: 284
Alrighty then, hurray for HT.
 
Old 01-29-2006, 04:53 PM   #7
kaiser_pro
Thus.
 
kaiser_pro's Avatar
Willem Koopman
London, United Kingdom
 
Join Date: Jun 2005
Posts: 395
not quite, some programs/operations slow up due to HT
__________________
 
Old 01-29-2006, 05:02 PM   #8
Srek
Some guy
 
Srek's Avatar
CGSociety Member
portfolio
Björn Dirk Marl
Technical Design
Maxon Computer GmbH
Friedrichsdorf, Germany
 
Join Date: Sep 2002
Posts: 11,281
Quote:
Originally Posted by kaiser_pro
not quite, some programs/operations slow up due to HT


You got an example for this?

Cheers
Björn
__________________
- www.bonkers.de -
The views expressed on this post are my personal opinions and do not represent the views of my employer.
 
Old 01-29-2006, 05:07 PM   #9
JDex
First Prime of Anistropic
 
JDex's Avatar
portfolio
Jason Dexter
Lighting/Rendering/Pipeline TD
Freedom
Providence, USA
 
Join Date: Jan 2003
Posts: 6,594
Quote:
Originally Posted by Srek
You got an example for this?

Cheers
Björn


I've personally had some rendering results in Mental Ray that indicated this, the difference was nominal (< 2%) and it wasn't the case in every test. Different scenes produced varying results.
__________________
JDex
(Sans Gerfuffle)

On a VFX Hiatus
 
Old 01-29-2006, 07:27 PM   #10
Tlock
Know-it-All
Thomas
Graphic Coder
Canada
 
Join Date: Jul 2005
Posts: 472
Can be great

HT can boost performance if code has be very properly designed for this, otherwise could cause occasional bottle necks. That is why some applications can gain exceptional results while others in the other extreme expierence slow downs.

HT splits commands to take advantage of unused resources to boost thread performance.

Dual Core is much better than just HT, but HT DC is a logical combination.
 
Old 01-29-2006, 10:11 PM   #11
andytw
PRO
United Kingdom
 
Join Date: Apr 2005
Posts: 120
One example where Hyper-threading can decrease performance is when the two threads start to compete for the available cache. This can result in the CPU spending excessive time moving data in & out of cache rather than doing useful work.
More about Hyper-threading here .
 
Old 01-30-2006, 02:28 PM   #12
lots
Lord of the posts
 
lots's Avatar
 
Join Date: Dec 2002
Posts: 5,251
One would say that dual core suffers from the starved bandwidth problem even more so than HT. At least in the case of Intel.
__________________
Dual Opteron 246 | Tyan Thunder K8WE | 4GB RAM | Geforce 7800GT
pics
Checkout my contribution to the LW 9.2 Demo Reel:
Reel
 
Old 01-30-2006, 02:28 PM   #13
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 08:39 AM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.