COMP25212 SYSTEM ARCHITECTURE Antoniu Pop Jan/Feb 2015COMP25212 Lecture 1.

Slides:



Advertisements
Similar presentations
C SINGH, JUNE 7-8, 2010IWW 2010, ISATANBUL, TURKEY Advanced Computers Architecture, UNIT 2 Advanced Computers Architecture UNIT 2 CACHE MEOMORY Lecture7.
Advertisements

MEMORY popo.
TO COMPUTERS WITH BASIC CONCEPTS Lecturer: Mohamed-Nur Hussein Abdullahi Hame WEEK 1 M. Sc in CSE (Daffodil International University)
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
ENEE350 Ankur Srivastava University of Maryland, College Park Based on Slides from Mary Jane Irwin ( )
L18 – Memory Hierarchy 1 Comp 411 – Fall /30/2009 Memory Hierarchy Memory Flavors Principle of Locality Program Traces Memory Hierarchies Associativity.
IT Systems Memory EN230-1 Justin Champion C208 –
GCSE Computing - The CPU
COMPUTER MEMORY Modern computers use semiconductor memory It is made up of thousands of circuits (paths) for electrical currents on a single silicon chip.
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
COM181 Computer Hardware Ian McCrumRoom 5B18,
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
Computing Hardware Starter.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.
Higher Computing Computer Structure.
Computer Processing of Data
Random access memory.
CMPE 421 Parallel Computer Architecture
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
IT253: Computer Organization
COMP25212: System Architecture Lecturers Alasdair Rawsthorne Daniel Goodman
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Memory.
Computer Architecture And Organization UNIT-II Structured Organization.
Chapter 9 Memory Organization By Jack Chung. MEMORY? RAM?
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
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.
Computer Organization Instructors Course By: Lecturer: Shimaa Ibrahim Hassan TA: Eng: Moufeda Hussien Lecture: 9:45 Address:
© GCSE Computing Computing Hardware Starter. Creating a spreadsheet to demonstrate the size of memory. 1 byte = 1 character or about 1 pixel of information.
Introduction: Memory Management 2 Ideally programmers want memory that is large fast non volatile Memory hierarchy small amount of fast, expensive memory.
Lecture#15. Cache Function The data that is stored within a cache might be values that have been computed earlier or duplicates of original values that.
COMP SYSTEM ARCHITECTURE HOW TO BUILD A CACHE Antoniu Pop COMP25212 – Lecture 2Jan/Feb 2015.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Computer operation is of how the different parts of a computer system work together to perform a task.
COMP SYSTEM ARCHITECTURE PRACTICAL CACHES Sergio Davies Feb/Mar 2014COMP25212 – Lecture 3.
8085 FAQ R.RAJKUMAR DEPT OF CSE SRM UNIVERSITY. FAQ What is a Microprocessor? - Microprocessor is a program-controlled device, which fetches the instructions.
Overview of microcomputer structure and operation
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
CHAPTER 2 Instruction Set Architecture 3/21/
Lecture 01: Computer Architecture overview. Our Goals ● Have a better understanding of computer architecture – Write better (more efficient) programs.
Software Design and Development Computer Architecture Computing Science.
Chapter 2 content Basic organization of computer What is motherboard
Computer Systems Nat 4/5 Computing Science Computer Structure:
CMSC 611: Advanced Computer Architecture
Memory COMPUTER ARCHITECTURE
Starter: Stored Program Concept (von Neumann Architecture)
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
Instruction Set Architecture
Ramya Kandasamy CS 147 Section 3
What is a computer? Simply put, a computer is a sophisticated electronic calculating machine that: Accepts input information, Processes the information.
Microprocessor and Assembly Language
CS-301 Introduction to Computing Lecture 17
Computer Architecture
IB Computer Science Topic 2.1.1
Introduction to Computer Systems
Introduction to Computing
Introduction to Computer Architecture
Types of Computers Mainframe/Server
CPU Key Revision Points.
2.C Memory GCSE Computing Langley Park School for Boys.
Introduction to Computer Architecture
Year 10 Computer Science Hardware - CPU and RAM.
CPU Structure CPU must:
Cache Memory and Performance
Little work is accurate
Presentation transcript:

COMP25212 SYSTEM ARCHITECTURE Antoniu Pop Jan/Feb 2015COMP25212 Lecture 1

COMP25212: System Architecture Lecturers Lectures 22 (two per week) Mon 12pmKilburn Theatre 1.1 Thu2pmKilburn Theatre 1.1 Multicore Systems lecture on 23 rd April by John Goodacre, Director of Technology and Systems at ARM COMP25212 Lecture 1 2 Jan/Feb 2015

COMP25212: System Architecture Laboratories 5 x 2 hour sessions starting NEXT week (Thu 9am & 11am) Lab results is 20% of the course Final Mark. Extensions up to 5pm one week after lab. Extensions are not automatic. COMP25212 Lecture 1 3 Jan/Feb 2015

COMP25212: System Architecture Recommended textbooks –D.A. Patterson & J.L. Hennessy, “Computer Organization and Design. The Hardware/Software Interface”, Morgan Kaufmann, now in 4 th Edition. –J. Smith & R. Nair, “Virtual Machines: Versatile Platforms for Systems and Processes”, Morgan Kaufmann. COMP25212 Lecture 1 4 Jan/Feb 2015

Aims of the Course To introduce architectural techniques which are used in modern processors and systems To understand how the specification of systems affects their performance and suitability for particular applications To understand how to design such systems COMP25212 Lecture 1Jan/Feb 2015

COMP25212: Course Overview Architectural techniques – making processors go faster –Caches –Pipelines –Multi-Threading –Multi-Core How to make processors more flexible –Virtualization The architecture of permanent storage COMP25212 Lecture 1Jan/Feb 2015

Motivation for Performance There is always a demand for increased computational performance Current ‘microprocessors’ are several thousand times faster than when they were first introduced 30 years ago. But still lots of things they can’t do due to lack of speed – e.g. HD video synthesis, realistic game physics COMP25212 Lecture 1Jan/Feb 2015

Single Threaded Performance COMP25212 Lecture 1Jan/Feb 2015

Architecture & the Future Speed improvements due to technology have slowed since around 2004/5 –Physical production limits –Power Dissipation –Device Variability Architecture plays a larger role in future performance gains – particularly parallelism (multi-core?) COMP25212 Lecture 1Jan/Feb 2015

Architecture & Technology A lot of performance improvements over 30 years have been due to technology Mainly due to smaller, faster circuits But it isn’t that simple e.g. –CPU speed increased > 1000x –Main memory speed < 10x Need to tailor architecture to exploit technology – changes with time COMP25212 Lecture 1Jan/Feb 2015

Processor Cache Memory A very important technique in processors since about mid 1980s Purpose is to overcome the speed imbalance between fast internal processor circuitry (e.g. ALU & registers) & main memory No modern processor could perform anywhere near current speeds without caches COMP25212 Lecture 1Jan/Feb 2015

Understand Caches: Prerequisites Processor is a CPU connected to memory CPU fetches a sequence of instructions from memory and executes them Some instructions are loads or stores which read or write values from/to memory addresses COMP25212 Lecture 1 CPU Memory Jan/Feb 2015

What is a Cache? Cache: “A secret hiding place” General principle –If something is far away and/or takes a long time to access, keep a local copy –Usually limited fast local space Not just processors –Web pages kept on local disc –Virtual Memory is a form of caching –Web Content Delivery Networks (e.g. akamai.com) COMP25212 Lecture 1Jan/Feb 2015

What is a Processor Cache? Small amount of very fast memory used as temporary store for frequently used memory locations (both instructions and data) Relies on locality: –during any short period of time, a program uses only a small subset (working set) of its instructions and data. COMP25212 Lecture 1Jan/Feb 2015

Processor Cache Memory Example: 2.8Ghz processor 32k L1 data cache and 32k L1 instruction cache 256k on-chip L2 cache (L2 cache is 4 way set associative) What does it mean? Why is it there? What is ‘good’? COMP25212 Lecture 1Jan/Feb 2015

Why is Cache Needed? Modern processor speed > 1GHz > 1 instruction / nsec (10 -9 sec) Every instruction needs to be fetched from main memory. Many instructions (1 in 3?) also access main memory to read or write data. But RAM memory access time typically >50 nsec! (67 x too slow!) COMP25212 Lecture 1Jan/Feb 2015

Facts about memory speeds Circuit capacitance is the thing that makes things slow (needs charging) Bigger things have bigger capacitance So large memories are slow Dynamic memories (storing data on capacitance) are slower than static memories (bistable circuits) COMP25212 Lecture 1Jan/Feb 2015

Interconnection Speeds External wires also have significant capacitance. Driving signals between chips needs special high power interface circuits. Things within a VLSI ‘chip’ are fast – anything ‘off chip’ is slow. Put everything on a single chip? Maybe one day! Manufacturing limitations COMP25212 Lecture 1Jan/Feb 2015

Basic Level 1 (L1) Cache COMP25212 Lecture 1 L1 Cache Compiler makes best use of registers – they are the fastest. Anything not in registers – must go (logically) to memory. But is data (a copy!) in cache? CPU Registers RAM Memory On-chip Jan/Feb 2015

Cache Requirements Main memory is big e.g. potentially 2 32 bytes (4G bytes) if 32 bit address (or 2 48 if 48 – x64) Cache is small (to be fast), e.g. 32k bytes, can only hold a very small fraction (x or x ) of all possible data. But cache must be able to store and retrieve any one of 2 32 (or 2 48 ) addresses/data (in practice would not hold single bytes, but in principle ….) Special structures needed – is not simple memory indexed by address. COMP25212 Lecture 1Jan/Feb 2015

Memory hierarchy Fastvs.slow Smallvs.large COMP25212 Lecture 1 Fast Slow Small Large Jan/Feb 2015