
Multi-Core and Hyper-Threading Technology
7
7-3
Figure 7-1 illustrates how performance gains can be realized for any
workload according to Amdahl’s law. The bar in Figure 7-1 represents
an individual task unit or the collective workload of an entire
application.
In general, the speed-up of running multiple threads on an MP systems
with
N
physical processors, over single-threaded execution, can be
expressed as:
where
P
is the fraction of workload that can be parallelized, and
O
represents the overhead of multithreading and may vary between
different operating systems. In this case, performance gain is the inverse
of the relative response.
Figure 7-1
Amdahl’s Law and MP Speed-up
RelativeResponse
Tsequential
Tparallel
-------------------------------
=
1
P
–
P
N
----
O
+
+
⎝
⎠
⎛
⎞
=
1-P
P
T
sequential
1-P
P /2
T
parallel
P /2
Single Thread
M ulti-Thread on MP
O
v
er
he
ad
Summary of Contents for ARCHITECTURE IA-32
Page 1: ...IA 32 Intel Architecture Optimization Reference Manual Order Number 248966 013US April 2006...
Page 220: ...IA 32 Intel Architecture Optimization 3 40...
Page 434: ...IA 32 Intel Architecture Optimization 9 20...
Page 514: ...IA 32 Intel Architecture Optimization B 60...
Page 536: ...IA 32 Intel Architecture Optimization C 22...