Figure 7-1, Amdahl’s law and mp speed-up -3, P p t – Intel ARCHITECTURE IA-32 User Manual

Page 349: P p /2 t, P /2

Advertising
background image

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

Advertising