cs2100-10-Performance

cs2100-10-Performance - CS2100Computer Organisation

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
CS2100 Computer  Organisation http://www.comp.nus.edu.sg/~cs2100/ Performance and Benchmarking (AY2009/2010) Semester 2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CS2100 Performance and Benchmarking 2 WHERE ARE WE NOW? Number systems and codes Boolean algebra Logic gates and circuits Simplification Combinational circuits Sequential circuits Performance Assembly language The processor: Datapath and control Pipelining Memory hierarchy: Cache Input/output Preparation: 2 weeks Logic Design: 3 weeks Computer organisation
Background image of page 2
CS2100 Performance and Benchmarking 3 PERFORMANCE AND BENCHMARKING Performance Definition Factors Affecting Performance Measurement Parameters for Performance Co-relation Among Performance Parameters Benchmarking SPEC ’95 Amdahl’s Law
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CS2100 Performance and Benchmarking 4 PERFORMANCE DEFINITION (1/5) Two perspectives: Purchasing perspective Design perspective Performance indices: Which has the best performance ? Which has the least cost ? Which has best performance/cost ? Both require: Basis for comparison Metric for evaluation Our goal is to understand performance of machine’s architectural design.
Background image of page 4
CS2100 Performance and Benchmarking 5 PERFORMANCE DEFINITION (2/5) Two notions of performance Plane DC to Paris Speed Passengers Throughput (pmph) Boeing 747 6.5 hours 610 mph 470 286,700 AirBus 3 hours 1350 mph 132 178,200 Which has higher performance? Time to do ONE task Execution time, response, latency Tasks per day, hour, week, … Throughput, bandwidth. Response time and throughput might be in opposition.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CS2100 Performance and Benchmarking 6 PERFORMANCE DEFINITION (3/5) ‘Flying time’ of AirBus versus Boeing 747: AirBus is 1350 mph / 610 mph = 2.2 times faster = 6.5 hr / 3 hr. ‘Throughput’ of AirBus versus Boeing 747: Boeing is 286,700 pmph / 178,200 pmph = 1.6 times faster . Conclusion: AirBus is 2.2 times faster in terms of flying time. Boeing is 1.6 times faster in terms of throughput.
Background image of page 6
CS2100 Performance and Benchmarking 7 PERFORMANCE DEFINITION (4/5) Response time/execution time/latency : Time between start and end of an event How long does it take to execute my job? How long must I wait for the database query? Throughput : Total amount of work (or number of jobs) done How many jobs can the machine run at once? What is the average execution rate? If we upgrade a machine with a new processor, what do we improve? If we add a new machine to the lab, what do we improve? e
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CS2100 Performance and Benchmarking 8 PERFORMANCE DEFINITION (5/5) Performance is in units of things-per-second Bigger is better If we are primarily concerned with response time Smaller is better x x time e performanc 1 = “X is n times faster than Y” means the speedup n is: y x x y e performanc e performanc time time Speedup = =
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 39

cs2100-10-Performance - CS2100Computer Organisation

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online