Processor Architectures

Similar documents
Computer Architecture Lecture 2: Instruction Set Principles (Appendix A) Chih Wei Liu 劉 志 尉 National Chiao Tung University

İSTANBUL AYDIN UNIVERSITY

Introducción. Diseño de sistemas digitales.1

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2

Central Processing Unit (CPU)

Computer Architecture Lecture 3: ISA Tradeoffs. Prof. Onur Mutlu Carnegie Mellon University Spring 2013, 1/18/2013

Fastboot Techniques for x86 Architectures. Marcus Bortel Field Application Engineer QNX Software Systems

CPU Organization and Assembly Language

LSN 2 Computer Processors

Computer Architectures

In the Beginning The first ISA appears on the IBM System 360 In the good old days

Overview. CISC Developments. RISC Designs. CISC Designs. VAX: Addressing Modes. Digital VAX

ELE 356 Computer Engineering II. Section 1 Foundations Class 6 Architecture

Week 1 out-of-class notes, discussions and sample problems

CHAPTER 4 MARIE: An Introduction to a Simple Computer

Chapter 2 Logic Gates and Introduction to Computer Architecture

Operating System Overview. Otto J. Anshus

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

PROBLEMS. which was discussed in Section

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

Microprocessor and Microcontroller Architecture

Price/performance Modern Memory Hierarchy

Unit 4: Performance & Benchmarking. Performance Metrics. This Unit. CIS 501: Computer Architecture. Performance: Latency vs.

picojava TM : A Hardware Implementation of the Java Virtual Machine

Virtualization. Pradipta De

Learning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design

Computer System: User s View. Computer System Components: High Level View. Input. Output. Computer. Computer System: Motherboard Level

Instruction Set Design

ARM Architecture. ARM history. Why ARM? ARM Ltd developed by Acorn computers. Computer Organization and Assembly Languages Yung-Yu Chuang


CISC, RISC, and DSP Microprocessors

The Future of the ARM Processor in Military Operations

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:


The Design of the Inferno Virtual Machine. Introduction

Instruction Set Architecture. or How to talk to computers if you aren t in Star Trek

Computer Organization and Architecture

12. Introduction to Virtual Machines

EE361: Digital Computer Organization Course Syllabus

Software and the Concurrency Revolution

CS 3530 Operating Systems. L02 OS Intro Part 1 Dr. Ken Hoganson

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Introduction to RISC Processor. ni logic Pvt. Ltd., Pune

Chapter 2 - Computer Organization

ARM Microprocessor and ARM-Based Microcontrollers

Industry First X86-based Single Board Computer JaguarBoard Released

COMPUTER ORGANIZATION AND ARCHITECTURE. Slides Courtesy of Carl Hamacher, Computer Organization, Fifth edition,mcgrawhill

RISC AND CISC. Computer Architecture. Farhat Masood BE Electrical (NUST) COLLEGE OF ELECTRICAL AND MECHANICAL ENGINEERING

A Survey on ARM Cortex A Processors. Wei Wang Tanima Dey

x86 ISA Modifications to support Virtual Machines

An Overview of Stack Architecture and the PSC 1000 Microprocessor

EE482: Advanced Computer Organization Lecture #11 Processor Architecture Stanford University Wednesday, 31 May ILP Execution

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

Unit A451: Computer systems and programming. Section 2: Computing Hardware 1/5: Central Processing Unit

Administrative Issues

A Unified View of Virtual Machines

How To Understand The Design Of A Microprocessor

CSC 2405: Computer Systems II

Intel 8086 architecture

Computer Architecture Basics

CSE 141 Introduction to Computer Architecture Summer Session I, Lecture 1 Introduction. Pramod V. Argade June 27, 2005

Cambridge International AS and A Level Computer Science

Chapter 5 Instructor's Manual

Multi-core Programming System Overview

evm Virtualization Platform for Windows

Pipelining Review and Its Limitations

Computer Organization

Instruction Set Architecture

Computer Organization and Components

Pentium vs. Power PC Computer Architecture and PCI Bus Interface

IBM CELL CELL INTRODUCTION. Project made by: Origgi Alessandro matr Teruzzi Roberto matr IBM CELL. Politecnico di Milano Como Campus

4.1 Introduction 4.2 Explain the purpose of an operating system Describe characteristics of modern operating systems Control Hardware Access

Architectures and Platforms

Instruction Set Architecture (ISA)

Chapter 5, The Instruction Set Architecture Level

1/20/2016 INTRODUCTION

Communicating with devices

Buffer Management 5. Buffer Management

Performance evaluation

Solid State Drive Architecture

Slide Set 8. for ENCM 369 Winter 2015 Lecture Section 01. Steve Norman, PhD, PEng

How To Build An Ark Processor With An Nvidia Gpu And An African Processor

Uses for Virtual Machines. Virtual Machines. There are several uses for virtual machines:

CHAPTER 7: The CPU and Memory

(Refer Slide Time: 02:39)

Database Hardware Selection Guidelines

Data Centers and Cloud Computing

VLIW Processors. VLIW Processors

612 CHAPTER 11 PROCESSOR FAMILIES (Corrisponde al cap Famiglie di processori) PROBLEMS

find model parameters, to validate models, and to develop inputs for models. c 1994 Raj Jain 7.1

CPU Performance. Lecture 8 CAP

CS550. Distributed Operating Systems (Advanced Operating Systems) Instructor: Xian-He Sun

Property of ISA vs. Uarch?

Taking Linux File and Storage Systems into the Future. Ric Wheeler Director Kernel File and Storage Team Red Hat, Incorporated

Fall Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

Chapter 3: Operating-System Structures. System Components Operating System Services System Calls System Programs System Structure Virtual Machines

Faculty of Engineering Student Number:

Obj: Sec 1.0, to describe the relationship between hardware and software HW: Read p.2 9. Do Now: Name 3 parts of the computer.

Lecture 7: Machine-Level Programming I: Basics Mohamed Zahran (aka Z)

Transcription:

ECPE 170 Jeff Shafer University of the Pacific Processor Architectures

2 Schedule Exam 3 Tuesday, December 6 th Caches Virtual Memory Input / Output OperaKng Systems Compilers & Assemblers Processor Architecture Review the lecture notes before the exam (not just the homework!)

3 Homework #15 Review HW #15 Amdahl s Law Disk capacity / access Kme Hard drive prefixes are powers of 10, not 2 SSD boyleneck changing a byte! SSD opkmizakon - TRIM

4 Homework #16 Review HW #16 Real- Kme OS (RTOS) Assembly vs High- Level Language Mobile OS

5 Database Software

6 Database Software Database systems contain the most valuable assets of an enterprise Build applicakons on top of databases

7 Database Software Most databases support transac'ons to assure that the database is always in a consistent state TransacKon is a group of related updates bundled together TransacKons provides the following properkes: Atomicity - All related updates occur or no updates occur Consistency - All updates conform to defined data constraints (i.e. data types, min/max legal values, etc ) IsolaKon - No transackon can interfere with another transackon Durability - Successful updates are wriyen to durable media as soon as possible (i.e. RAM isn t safe if the system crashes or the power fails) These are the ACID properkes of transackon management

8 Database Software Without the ACID properkes, race condikons can occur

9 Database Software Record locking mechanisms assure isolated, atomic database updates:

10 Processor Architectures

11 Processor Architectures StarKng Chapter 9 More details on RISC versus CISC! Leaving the safe, familiar world of the von Neumann processor What is the von Neumann model? Stored program computer Three systems: CPU, memory, I/O SequenKal instruckon processing Single data path between CPU and memory von Neumann boyleneck More than one processor! MulKprocessor architectures different types

12 RISC vs CISC Machines RISC systems access memory only with explicit load and store instruckons InstrucKon length is fixed Fetch- decode- execute Kme is constant CISC systems access memory with many different types of instruckons InstrucKon length is variable Fetch- decode- execute Kme is unpredictable

13 RISC vs CISC Machines Basic computer performance equakon: RISC systems shorten execukon Kme by reducing the clock cycles per instruckon CISC systems improve performance by reducing the number of instruckons per program

14 RISC vs CISC Machines RISC processors have a simpler instruckon set Build a hardwired control unit (faster!) Easier to implement pipelining and speculakve execukon CISC processors have a complex/variable instruckon set Build a microcode- based control unit to interpret instruckons Microcode processing takes Kme

15 RISC vs CISC Machines Because of their load- store ISAs, RISC architectures require a large number of CPU registers Register allow fast access to data during sequenkal program execukon no need to go to memory! Registers can also be used to reduce the overhead of calling subrouknes Contrast this to MARIE, where you had to store all your arguments in memory before jumping to a subroukne Instead of pulling parameters off of a stack, the subroukne is directed to use a subset of registers

16 Overlapping Registers Windows Divide all the registers into windows Your subroukne only sees one window The current window pointer (CWP) points to the ackve register window Shij when calling a subroukne Outputs become inputs Global registers shared by all

17 RISC vs CISC Machines It is becoming increasingly difficult to disknguish RISC architectures from CISC architectures. Some RISC systems provide more extravagant instruckon sets than some CISC systems Some systems combine both approaches Typical differences between the architectures

18 RISC vs CISC Machines RISC CISC MulKple register sets Single register set Three operands per instruckon One or two register operands per instruckon Parameter passing through register windows Parameter passing through memory Single- cycle instruckons MulKple cycle instruckons Hardwired control Microprogrammed control Highly pipelined Less pipelined 18

19 RISC vs CISC Machines RISC CISC Simple instruckons, few in number Many complex instruckons Variable length instruckons Fixed length instruckons Complexity in microcode Complexity in compiler Only LOAD/STORE instruckons access memory Many instruckons can access memory Many addressing modes Few addressing modes 19

20 Intel So, are Intel x86-32 or x86-64 chips RISC or CISC? Both! InstrucKon set is CISC- like Many complex instruckons Variable length instruckons Many instruckons can access memory (not just load/store) MulKple cycle instruckons etc

21 Intel But, what happens internally is completely different Dedicated hardware unit that decodes the CISC- like x86 instruckons and replaces them with a sequence of RISC- like micro- ops Intel has been RISC- like internally since the PenKum Pro era (~1996)

22 Intel versus ARM Intel ARM CISC- like ISA RISC- like ISA Dominant market: Desktop PCs Laptop PCs Server PCs Performance crikcal? Dominant market: Mobile devices (cell phones, music players, etc ) Power crikcal? Embedded devices Why does Intel dominate these markets? Why does ARM dominate these markets?

23 Intel versus ARM Intel Manufacturing: Every chip made by Intel Performance Huge amount of legacy sojware for desktops/ servers wriyen for the x86 ISA ARM Manufacturing: None ARM licenses its design to other companies to integrate/build Apple, NVIDIA, IBM, Texas Instruments, Nintendo, Samsung, Freescale, Qualcomm and VIA Technologies, and Intel! Performance per wax Huge amount of legacy sojware for cell phones wriyen for ARM ISA