cs2100-10-Performance

cs2100-10-Performance - CS2100Computer Organisation...

Info icon This preview shows pages 1–10. 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
Image of page 1

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

View Full Document Right 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
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
Image of page 3

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

View Full Document Right 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.
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.
Image of page 5

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

View Full Document Right 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.
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
Image of page 7

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

View Full Document Right 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 = =
Image of page 8
CS2100 Performance and Benchmarking 9 COMPUTING TIME (1/3) There are different measures of execution time in computer performance.
Image of page 9

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

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern