Friday, September 08, 2006

Dual-Core & HyperThreading

Many of us heard about 'Dual core' processors that intel has recently made.. wt's new in this processor?? Actually this processor is sth like two single-core processors working together.. dual-core enable twice the thread-handling capability of any other processor...

The Q here is 'wt do I -as a developer- have to do with this??'
well.. when u have a dual-core processor & u don't make ur application HyperThreaded its the same as when u have a car that can run on the fifth gear while u insist driving it on the first gear... so, we -developers- must learn how to make any application hyperthreaded in order to full use the cababilities of the hardware & have high performance for our applications..

Talking about HyperThreading.... I'd like first to clarify the difference between Multi-tasking, Mutli-Threading & Hyper-Threading:
Multi-tasking is the ability of the OS to execute more than one program simultaneously, but in reality no two programs can be executed in the single processor at the same time.. The CPU just switches bet programs so quickly that appears as if the programs are executing at the same time..
Multi-Threading is when the OS can execute different threads of a program at the same time..
Hyper-Threading is simultaneous Multi-threading allowing two threads to be run in parallel..

You can check the following link to understand more about HyperThreading: Introduction to HyperThreading

How to make an application hyperthreaded??.. actually, I'm still a beginner in that.. but wait for a coming post containing some code samples so soon isAllah..

That's all for now..
c u next post isAllah..


btw, This topic was introduced to me in the 'HyberThreading' session that was made for us in ShadiSystems company by eng/Ramy (intel developer)

No comments: