Cache Advanced Higher.

Slides:



Advertisements
Similar presentations
Hardware Lesson 3 Inside your computer.
Advertisements

COMP375 Computer Architecture and Organization Senior Review.
C SINGH, JUNE 7-8, 2010IWW 2010, ISATANBUL, TURKEY Advanced Computers Architecture, UNIT 2 Advanced Computers Architecture UNIT 2 CACHE MEOMORY Lecture7.
1 Lecture 13: Cache and Virtual Memroy Review Cache optimization approaches, cache miss classification, Adapted from UCB CS252 S01.
Computer Maintenance Unit Subtitle: Cache Concepts Excerpted from Copyright © Texas Education Agency, 2011.
The Central Processing Unit: What Goes on Inside the Computer.
CMPE 421 Parallel Computer Architecture MEMORY SYSTEM.
Caching IV Andreas Klappenecker CPSC321 Computer Architecture.
Modified from notes by Saeid Nooshabadi COMP3221: Microprocessors and Embedded Systems Lecture 25: Cache - I Lecturer:
Outline, October 2CS-3013 A-term 20091Outline, October 2CS-3013 A-term Outline for October 2 Review:– Caches and Quantification of Cache Performance.
1 Foundations of Software Design Fall 2002 Marti Hearst Lecture 4: Operating Systems.
2 pt 3 pt 4 pt 5pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2pt 3 pt 4pt 5 pt 1pt 2pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4pt 5 pt 1pt Category1 Computers Category2 CPU.
The Memory Hierarchy II CPSC 321 Andreas Klappenecker.
Computer ArchitectureFall 2007 © November 7th, 2007 Majd F. Sakr CS-447– Computer Architecture.
1  1998 Morgan Kaufmann Publishers Chapter Seven Large and Fast: Exploiting Memory Hierarchy (Part II)
Computer Systems Computer Performance.
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.
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
Chapter 2: CPU &Data Storage. CPU Each computer has at least one CPU Each computer has at least one CPU CPU execute instructions to carry out tasks –
Random access memory.
CMPE 421 Parallel Computer Architecture
©2003/04 Alessandro Bogliolo Computer systems A quick introduction.
Fill in the blanks: (1) _________ has only two possible values 0 and 1. (2) There are __________bits in a byte. (3) 1 kilobyte of memory space can store.
Lecture 19 Today’s topics Types of memory Memory hierarchy.
IT253: Computer Organization
Inside your computer. Hardware Review Motherboard Processor / CPU Bus Bios chip Memory Hard drive Video Card Sound Card Monitor/printer Ports.
0 High-Performance Computer Architecture Memory Organization Chapter 5 from Quantitative Architecture January 2006.
Inside your computer. Hardware Motherboard Processor / CPU Bus Bios chip Memory Hard drive Video Card Sound Card Monitor/printer Ports.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
CIM101 : Introduction to computer Lecture 3 Memory.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 9 Memory Organization By Jack Chung. MEMORY? RAM?
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
Computer Organization & Assembly Language © by DR. M. Amer.
FIRST COURSE Essential Computer Concepts. XP New Perspectives on Microsoft Office 2007: Windows XP Edition2 What Is a Computer? A computer is an electronic.
Caching Principles & Paging Performance CS-502 (EMC) Fall Caching Principles and Paging Performance CS-502, Operating Systems Fall 2009 (EMC) (Slides.
Multilevel Caches Microprocessors are getting faster and including a small high speed cache on the same chip.
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,
EECS 322 March 18, 2000 RISC - Reduced Instruction Set Computer Reduced Instruction Set Computer  By reducing the number of instructions that a processor.
Princess Sumaya Univ. Computer Engineering Dept. Chapter 5:
Topics in Memory System Design 2016/2/5\course\cpeg323-07F\Topic7.ppt1.
Unit C-Hardware & Software1 GNVQ Foundation Unit C Bits & Bytes.
Lecture 5: Memory Performance. Types of Memory Registers L1 cache L2 cache L3 cache Main Memory Local Secondary Storage (local disks) Remote Secondary.
Section 13.1 – Secondary storage management (Former Student’s Note)
What is it and why do we need it? Chris Ward CS147 10/16/2008.
COMPUTER SYSTEMS ARCHITECTURE A NETWORKING APPROACH CHAPTER 12 INTRODUCTION THE MEMORY HIERARCHY CS 147 Nathaniel Gilbert 1.
Memory Management memory hierarchy programs exhibit locality of reference - non-uniform reference patterns temporal locality - a program that references.
PCs ENVIRONMENT and PERIPHERALS Lecture 3. operating system and other system software that control the usage of the computer equipment application programs.
Memory COMPUTER ARCHITECTURE
Ramya Kandasamy CS 147 Section 3
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.
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.
Introduction to Computer Architecture
Exam 2 Review Two’s Complement Arithmetic Ripple carry ALU logic and performance Look-ahead techniques, performance and equations Basic multiplication.
Cache By: Thanh Nguyen.
/ Computer Architecture and Design
Chapter 8 Digital Design and Computer Architecture: ARM® Edition
What is the maximum capacity for DDR3 RAM?
Discovering Computers 2014: Chapter6
CPE 631 Lecture 05: Cache Design
Memory Hierarchy Memory: hierarchy of components of various speeds and capacities Hierarchy driven by cost and performance In early days Primary memory.
Caching Principles and Paging Performance
Junior High Media Studies
Memory Operation and Performance
Section 13.1 – Secondary storage management (Former Student’s Note)
Motherboard External Hard disk USB 1 DVD Drive RAM CPU (Main Memory)
Caching Principles and Paging Performance
2.C Memory GCSE Computing Langley Park School for Boys.
Outline for October 9 Input and Output (continued)
Fundamentals of Computing: Computer Architecture
Presentation transcript:

Cache Advanced Higher

SQA Arrangements Description of the structured use of cache memory to improve processor performance referring to the use of level 1 and level 2 cache as well as the use of static RAM.

Cache and Its Importance in Performance Motivation: Time to run code = clock cycles running code + clock cycles waiting for memory For many years, CPU’s have sped up an average of 50% per year over memory chip speed ups. Hence, memory access is the bottleneck to computing fast Definition of a cache: Dictionary: a safe place to hide or store things. Computer: a level in a memory hierarchy.

What is a cache? Small, fast storage used to improve average access time to slow memory. Exploits spatial and temporal locality In computer architecture, almost everything is a cache! Registers “a cache” on variables – software managed First-level cache a cache on second-level cache Second-level cache a cache on memory Memory a cache on disk (virtual memory) TLB a cache on page table Branch-prediction a cache on prediction information?

Access Times L1 cache - Memory accesses at full microprocessor speed (10 nanoseconds, 4 kilobytes to 16 kilobytes in size) L2 cache - Memory access of type SRAM (around 20 to 30 nanoseconds, 128 kilobytes to 512 kilobytes in size) Main memory - Memory access of type RAM (around 60 nanoseconds, 32 megabytes to 128 megabytes in size) Hard disk - Mechanical, slow (around 12 milliseconds, 1 gigabyte to 10 gigabytes in size) Internet - Incredibly slow (between 1 second and 3 days, unlimited size)