•
MULTITHREADING EFFICIECY
ABSTRACT
Multithreading is a means to increase the effectiveness of a single core; simulating parallelism by reducing the amount of time the CPU spends in polling loops (waiting). Multi-threading is a concept that has been around for a long time partially utilized. The benefit of single-threaded performance placed multithreading concept I a negative side, being viewed as an inefficient in program execution. This paper reviews the efficiency of multithreading and its benefits aiming to change the perspective of those who have negative attitude towards it and insight them to adopt.
INTRODUCTION
Multithreading is a type of execution model that allows multiple threads to exists within the context of a process such…show more content… It is the ability to have multiple “parts” of a program executing at the same time.
Multithreading is an old concept which has not been in practices frequently due to lack of efficiency. Most people have been developing applications that are single threaded due its better performance since most computers were having dual-core and bellow. In addition, most programs being executed sequentially.
Multithreading is very useful in modern programming whenever a process has multiple tasks to perform independently of the others…show more content… In case is done single-threaded core, it performance falls as two threads run on a core simultaneously, but the net effect is that the two threads run faster than they would without HT. In terms of the added complexity (only about 5% extra transistors per core required for HT), there is quite a significant boost in multi-threaded scenarios (which may be 20-30% on average, and can be over 50% more performance). For performance-per-transistor, or performance-per-watt, Intel’s HT is very efficient. Multithreaded code run as quickly on 4 cores with HT as it would on 8 dedicated. With 8 dedicated cores, in a lot of cases the cores would be sitting idle for longer, waiting for other sequential parts to complete in programs where some parts are parallel. HyperThreading multithreading approach in CPU design, and has been in use long before Intel implemented HyperThreading (IBM started researching it in 1968, to give you an idea of the historical perspective