Now showing 1 - 1 of 1
Thumbnail Image
Publication

Hyper-threading technology: Not a good choice for speeding up CPU-bound code

2017-01-03 , Ng Hui Qun , Zahereel Ishwar Abdul Khalib , Mohd Nazri Mohd Warip , Mohamed Elshaikh Elobaid Said Ahmed , Mostafijur R. , Nik Adilah Hanin Zahri , Puteh Saad

Hyper-threading (HT) technology allows one thread to execute its task while another thread is stalled waiting for shared resource or other operations to complete. Thus, this reduces the idle time of a processor. If HT is enabled, an operating system would see two logical cores per each physical core. This gives one physical core the ability to run two threads simultaneously. However, it does not necessarily speed up the performance of a parallel code twice the number of physical cores. This happens when two threads are trying to access the shared CPU resource. The instructions could only be executed one after another at any given time. In this case, parallel CPU-bound code could attain a little improvement in terms of speedup from HT on a quad-core platform, which is Intel i5-2410M@2.30GHz.