Cache Heng Sovannarith

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.
Computer Maintenance Unit Subtitle: Cache Concepts Excerpted from Copyright © Texas Education Agency, 2011.
Practical Caches COMP25212 cache 3. Learning Objectives To understand: –Additional Control Bits in Cache Lines –Cache Line Size Tradeoffs –Separate I&D.
D75P 34 – HNC Computer Architecture Week 10 Computer Memory. © C Nyssen/Aberdeen College 2003 All images © C Nyssen/Aberdeen College except where stated.
Characteristics of a Microprocessor. The microprocessor is the defining trait of a computer, so it is important to understand the characteristics used.
The Central Processing Unit: What Goes on Inside the Computer.
Power Supply, motherboard, CPU, BIOS, Bus, expansion slots, memory
What is memory? Memory is used to store information within a computer, either programs or data. Programs and data cannot be used directly from a disk or.
PREPARE FOR AN EPIC. CACHE AND FLASH AND VIRTUAL.
Memory RAM and CACHE. RAM Stands for Random Access Memory Stands for Random Access Memory It is volatile in nature It is volatile in nature Loses its.
Memory Hierarchy. Smaller and faster, (per byte) storage devices Larger, slower, and cheaper (per byte) storage devices.
Caching I Andreas Klappenecker CPSC321 Computer Architecture.
COMPUTER MEMORY Modern computers use semiconductor memory It is made up of thousands of circuits (paths) for electrical currents on a single silicon chip.
1 Microprocessor speeds Measure of system clock speed –How many electronic pulses the clock produces per second (clock frequency) –Usually expressed in.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
F1020/F1031 COMPUTER HARDWARE MEMORY. Read-only Memory (ROM) Basic instructions for booting the computer and loading the operating system are stored in.
Memory. Random Access Memory Defined What is memory? operating system and other system software that control the usage of the computer equipment application.
Computer Architecture CST 250 INTEL PENTIUM PROCESSOR Prepared by:Omar Hirzallah.
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.
Processor and Internal Stuff or the “guts” of the computer.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
2/6: CPUs & Memory CPUs –Parts of a sample CPU –Types of CPUs available ROM RAM –different kinds & uses inc. VRAM, SRAM image courtesy of How Computers.
1 More on Computer Components Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer buses Creating faster CPUs NEXT.
Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.
MEMORY More technically referred to as Primary Storage.
Pre-Pentium Intel Processors /
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.
© Banff and Buchan College 2007 DH2T 34 Computer Architecture 1 LO2 Lesson One Memory.
Lecture 19 Today’s topics Types of memory Memory hierarchy.
1 Memory Hierarchy The main memory occupies a central position by being able to communicate directly with the CPU and with auxiliary memory devices through.
CS 312 Computer Architecture Memory Basics Department of Computer Science Southern Illinois University Edwardsville Summer, 2015 Dr. Hiroshi Fujinoki
3 Computing System Fundamentals
Computer Architecture Lecture 3 Cache Memory. Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics.
CIM101 : Introduction to computer Lecture 3 Memory.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Memory and Storage. Computer Memory Processor registers – Temporary storage locations within the CPU – Examples Instruction register – holds the instruction.
CSE378 Intro to caches1 Memory Hierarchy Memory: hierarchy of components of various speeds and capacities Hierarchy driven by cost and performance In early.
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.
Excellence Publication Co. Ltd. Volume Volume 1.
A memory is just like a human brain. It is used to store data and instructions. Computer memory is the storage space in computer where data is to be processed.
Cache Memory By Aung Oo. Cache Memory Cache Hard drive Cache Printer Cache CD-Rom Cache Browser Cache.
COMP SYSTEM ARCHITECTURE PRACTICAL CACHES Sergio Davies Feb/Mar 2014COMP25212 – Lecture 3.
COMPUTER SYSTEMS ARCHITECTURE A NETWORKING APPROACH CHAPTER 12 INTRODUCTION THE MEMORY HIERARCHY CS 147 Nathaniel Gilbert 1.
Types of RAM (Random Access Memory) Information Technology.
Introduction to computer architecture April 7th. Access to main memory –E.g. 1: individual memory accesses for j=0, j++, j
Memory Hierarchy and Cache. A Mystery… Memory Main memory = RAM : Random Access Memory – Read/write – Multiple flavors – DDR SDRAM most common 64 bit.
Computer Architecture Lecture 25 Fasih ur Rehman.
Chapter 2 content Basic organization of computer What is motherboard
A Dummies guide to computer memory
Introduction Computer Hardware Jess 2006
OCR GCSE Computer Science Teaching and Learning Resources
Types of RAM (Random Access Memory)
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.
Module IV Memory Organization.
CS-301 Introduction to Computing Lecture 17
Computer Architecture 2
Introduction to Computers
Module IV Memory Organization.
HARDWARE SPECIFICATIONS.
Introduction to Computer Systems
Cache The bottleneck of computing is on the time it consumes to transmit data in the fetch and store phases. One way to make it faster is to use cache.
Module IV Memory Organization.
Introduction to Computing
Discovering Computers 2014: Chapter6
Memory Hierarchy Memory: hierarchy of components of various speeds and capacities Hierarchy driven by cost and performance In early days Primary memory.
MICROPROCESSOR MEMORY ORGANIZATION
2.C Memory GCSE Computing Langley Park School for Boys.
Memory Hierarchy Memory: hierarchy of components of various speeds and capacities Hierarchy driven by cost and performance In early days Primary memory.
Presentation transcript:

Cache Heng Sovannarith

Definition A memory cache, sometimes called a cache store or RAM cache, is a portion of memory made of high-speed static RAM (SRAM) instead of the slower and cheaper dynamic RAM (DRAM) used for main memory. Memory caching is effective because most programs access the same data or instructions over and over. By keeping as much of this information as possible in SRAM, the computer avoids accessing the slower DRAM.

Level of Cache Some memory caches are built into the architecture of microprocessors. The Intel microprocessor, for example, contains an 8K memory cache, and the Pentium has a 16K cache. There are different levels of cache. – Level 1 – Level 2 – Level 3

Cache Level 1 L1-cache is the fastest cache and it usually comes within the processor chip itself. The L1 cache typically ranges in size from 8KB to 64KB and uses the high-speed SRAM (static RAM) instead of the slower and cheaper DRAM (dynamic RAM) used for main memory. The Intel Celeron processor uses two separate 16KB L1 caches, one for the instructions and one for the data.

Cache Level 2 L2 cache comes between L1 and RAM (processor-L1-L2-RAM) and is bigger than the primary cache (typically 64KB to 4MB). Like L1 caches, L2 caches are composed of SRAM but they are much larger.

Cache Level 2 (cont.)

Cache Level 3 L3 cache is not found nowadays as its function is replaced by L2 cache. L3 caches are found on the motherboard rather than the processor. It is kept between RAM and L2 cache. So if your system has L1,L2 and L3 cache data fetching will be L1->L2->L3->RAM ie. If data is not there in L1 it will check L2 then L3 then RAM...