How many instructions per second?. Speed of a computer’s CPU Typically measured in Mhz, Ghz, etc. What does that measure? –Rate of the basic oscillator.

Slides:



Advertisements
Similar presentations
CDA 3101 Discussion Section 08 Performance
Advertisements

CDA 3101 Fall 2010 Discussion Section 08 CPU Performance
Performance What differences do we see in performance? Almost all computers operate correctly (within reason) Most computers implement useful operations.
SECTION 4a Transforming Data into Information.
System Clock, clock speed, Word Length & Bus Width.
CSCE 212 Chapter 4: Assessing and Understanding Performance Instructor: Jason D. Bakos.
CSCE 212 Quiz 4 – 2/16/11 *Assume computes take 1 clock cycle, loads and stores take 10 cycles and branches take 4 cycles and that they are running on.
Chapter 4 Assessing and Understanding Performance Bo Cheng.
Performance D. A. Patterson and J. L. Hennessey, Computer Organization & Design: The Hardware Software Interface, Morgan Kauffman, second edition 1998.
Computer ArchitectureFall 2007 © September 17, 2007 Karem Sakallah CS-447– Computer Architecture.
Technology Component: Computer Hardware – Part 2 Basic Components Dr. V.T. Raja Oregon State University.
Assessing and Understanding Performance B. Ramamurthy Chapter 4.
Gordon Moore Gordon Moore, cofounder of Intel 1965: 2 x trans. per chip/year After 1970: 2 x trans. per chip/1.5year 摩爾定律.
GCSE Computing - The CPU
1 Chapter 4. 2 Measure, Report, and Summarize Make intelligent choices See through the marketing hype Key to understanding underlying organizational motivation.
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
Computer Systems Computer Performance.
Inside The CPU. Buses There are 3 Types of Buses There are 3 Types of Buses Address bus Address bus –between CPU and Main Memory –Carries address of where.
1 Computer Performance: Metrics, Measurement, & Evaluation.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Writer:-Rashedul Hasan Editor:- Jasim Uddin
Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.
Computer Processing of Data
Copyright 1995 by Coherence LTD., all rights reserved (Revised: Oct 97 by Rafi Lohev, Oct 99 by Yair Wiseman, Sep 04 Oren Kapah) IBM י ב מ 7-1 Measuring.
The Central Processing Unit: What Goes on Inside the Computer
10/19/2015Erkay Savas1 Performance Computer Architecture – CS401 Erkay Savas Sabanci University.
Performance David Monismith Jan. 16, 2015 Based on notes from Dr. Bill Siever and from the Patterson and Hennessy Text.
Performance.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: CPU.
The Central Processing Unit (CPU) and the Machine Cycle.
CDA 3101 Discussion Section 09 CPU Performance. Question 1 Suppose you wish to run a program P with 7.5 * 10 9 instructions on a 5GHz machine with a CPI.
Important Concepts  Parts of the CPU  Arithmetic/Logic Unit  Control Unit  Registers  Program Counter  Instruction Register  Fetch/Decode/Execute.
Performance Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
Ch4a- 2 EE/CS/CPE Computer Organization  Seattle Pacific University Performance What differences do we see in performance? Almost all computers.
Survey of Program Compilation and Execution Bangor High School Ali Shareef 2/28/06.
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
1 Central Processing Unit (CPU) Consists of complex set of electronic circuitry Executes stored program instructions Three components –Registers –Control.
1  1998 Morgan Kaufmann Publishers How to measure, report, and summarize performance (suorituskyky, tehokkuus)? What factors determine the performance.
Central Processing Unit CPU or Processor. Central Processing Unit Components Control Unit Arithmetic & Logic Unit.
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
The Central Processing Unit (CPU)
Lecture 5: 9/10/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
System Hardware FPU – Floating Point Unit –Handles floating point and extended integer calculations 8284/82C284 Clock Generator (clock) –Synchronizes the.
Chapter 4. Measure, Report, and Summarize Make intelligent choices See through the marketing hype Understanding underlying organizational aspects Why.
EGRE 426 Computer Organization and Design Chapter 4.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
Performance Computer Organization II 1 Computer Science Dept Va Tech January 2009 © McQuain & Ribbens Defining Performance Which airplane has.
FractionsDecimalsPowers Answer  This is how you add fractions.
BITS Pilani, Pilani Campus Today’s Agenda Role of Performance.
Performance. Moore's Law Moore's Law Related Curves.
GCSE Computing - The CPU
Performance Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
Defining Performance Which airplane has the best performance?
THE CPU i Bytes 1.1.
What happens inside a CPU?
Basic Computer Organization
CSCE 212 Chapter 4: Assessing and Understanding Performance
CS2100 Computer Organisation
Central Processing Unit
Central Processing Unit
Performance Cycle time of a computer CPU speed speed = 1 / cycle time
October 29 Review for 2nd Exam Ask Questions! 4/26/2019
Learning Objectives To be able to describe the purpose of the CPU
Performance Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
Performance.
Computer Organization and Design Chapter 4
CSE 102 Introduction to Computer Engineering
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
CS2100 Computer Organisation
Presentation transcript:

How many instructions per second?

Speed of a computer’s CPU Typically measured in Mhz, Ghz, etc. What does that measure? –Rate of the basic oscillator –not the “time” clock Cycles/sec -> tics/sec –10 Hz -> 10 tics/sec -> 1/10 sec/tic –1 M(ega)hz -> 10 6 tics/sec-> 1 microsec/tic –10 Mhz ->10 7 tics/sec-> 1/10 microsec/tic

What happens in a cycle? Everything is synchronized from that “clock” Moving data across the external bus Moving data across the internal CPU bus Accessing memory Timing microcode steps in a machine language instruction (a fraction of a single machine language instruction) MULTIPLE tics for an activity to complete

How many cycles/sec for an instruction? Varies greatly. Instructions which only affect internal registers are quick –logical ops like and/or/register swaps Numerical calcs (floating point is worse than integers, multiply is worse than add), string ops(if available) are much longer. Varies from a few cycles to 100s of cycles.

Example Assume cpu is 1 GHz. Assume average instruction take 10 cycles. How many instructions/sec? 1 GHz -> 1 x secs per tic or 1 nanosecond Average instruction takes 10 cycles -> 10 nanoseconds