Intel ARCHITECTURE IA-32 User Manual Page 349

  • Download
  • Add to my manuals
  • Print
  • Page
    / 568
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 348
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
Tsequential
1-P
P/2
Tparallel
P/2
Single Thread
Multi-Thread on MP
Overhead
Page view 348
1 2 ... 344 345 346 347 348 349 350 351 352 353 354 ... 567 568

Comments to this Manuals

No comments