Mod 7
Mod 7
ORGANIZATION
• Single instruction, single data stream - SISD
• Single instruction, multiple data stream - SIMD
• Multiple instruction, single data stream - MISD
• Multiple instruction, multiple data stream- MIMD
SINGLE INSTRUCTION,
SINGLE DATA STREAM -
SISD
• Single processor
• Single instruction stream
• Data stored in single memory
• Uni-processor
MULTIPLE DATA STREAM -
• SingleSIMD
machine instruction
• Lockstep basis
• Performance
• If some work can be done in parallel
• Availability
• Since all processors can perform the same functions, failure of a single
processor does not halt the system
• Incremental growth
• User can enhance performance by adding additional processors
• Scaling
• Vendors can offer range of products based on number of processors
TIGHTLY COUPLED
MULTIPROCESSOR
MULTITHREADING AND
CHIP MULTIPROCESSORS
32
Performance
Introduction
Performance measurement is important:
Helps us to determine if one processor or computer
works faster than other
Helps us to know how much performance
improvement has taken place after incorporating some
performance enhancement feature
Help to see through the marketing hype!
Provides answer to the following questions:
Why is some hardware better than others for different
programs?
What factors affect system performance?
Hardware, OS or compiler?
How does the machine’s instruction set affect
performance?
Defining Performance in terms of time
CPU time
Doesn’t count waiting for IO or time spent running other programs
Can be divided into user CPU time and system CPU time(OS calls)
CPU time = user CPU time + System CPU Time
Elapsed time = user CPU time + System CPU Time + wait time
Performance =
=n
The IRON law of processor performance
𝑇𝑖𝑚𝑒
𝑃𝑟𝑜𝑐𝑒𝑠𝑠𝑜𝑟 𝑝𝑒𝑟𝑓𝑜𝑟𝑚𝑎𝑛𝑐𝑒=
𝑃𝑟𝑜𝑔𝑟𝑎𝑚
= XX