We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byJavier Batey
Modified over 2 years ago
Computer Maintenance Unit Subtitle: Cache Concepts Excerpted from www.howstuffworks.comwww.howstuffworks.com Copyright © Texas Education Agency, 2011. All rights reserved.1
Summary Introduction to cache Cache Computer Caches Caching Subsystems Cache Technology 2Copyright © Texas Education Agency, 2011. All rights reserved.
Introduction to Cache One method of increasing the memory- access speed of a computer is called caching. This memory management method assumes that most memory accesses are made within a limited block of addresses. There are many different types of caches. Some caches include memory caches, hardware and software disk caches, page caches and more. Even virtual memory is a form of caching. 3Copyright © Texas Education Agency, 2011. All rights reserved.
Cache Caching is a technology based on the memory subsystem of your computer. The main purpose of a cache is to accelerate your computer. Caching allows you to perform computer tasks more rapidly. 4Copyright © Texas Education Agency, 2011. All rights reserved.
Cache Cache technology is the use of a faster but smaller memory type to accelerate a slower but larger memory type. A cache has some maximum size that is much smaller than the larger storage area. It is possible to have multiple layers of cache. The diagram on the next slide illustrates the concepts of multiple layers of cache. 5Copyright © Texas Education Agency, 2011. All rights reserved.
Cache Layers 6 Diagram showing how each level's information is stored in a layer below it in a traditional memory hierarchy (www.howstuffworks.com). Copyright © Texas Education Agency, 2011. All rights reserved.
Computer Cache Microprocessors can have cycle times as short as 2 nanoseconds. If we were to build a small but very fast special memory bank, (around 30 nanoseconds), it would be two times faster than the main memory access. That's called a level 2 cache or an L2 cache. What if we build an even smaller but faster memory system directly into the microprocessor's chip? That way, this memory will be accessed at the speed of the microprocessor and not the speed of the memory bus. That's an L1 cache. 7Copyright © Texas Education Agency, 2011. All rights reserved.
Computer Cache Conventional processors use level 2 cache on the motherboard and connect to it using the standard memory bus arrangement. A special backside bus manages this high-speed data link between the processor and the level 2 cache having separate caches and buses to run them is far superior for multiprocessing. Each cache has an independent, non- interfering bus to service it. 8Copyright © Texas Education Agency, 2011. All rights reserved.
Cache Subsystems The Internet connection is the slowest link in your computer. So your browser uses the hard disk to store HTML pages. The first time you ask for an HTML page, your browser renders it and a copy of it is also stored on your disk, it is cached. 9Copyright © Texas Education Agency, 2011. All rights reserved.
Cache Subsystems (cont.) The next time you request access to this page, your browser checks if the date of the file on the Internet is newer than the one cached. If the date is the same, your browser uses the one on your hard disk instead of downloading it from Internet. In this case, the smaller but faster memory system is your hard disk and the larger and slower one is the Internet. 10Copyright © Texas Education Agency, 2011. All rights reserved.
Cache Subsystems Cache can also be built directly on peripherals. Modern hard disks come with fast memory. The computer doesn't directly use this memory -- the hard-disk controller does. When the computer asks for data from the hard disk, the hard-disk controller checks into this memory before moving the mechanical parts of the hard disk. 11Copyright © Texas Education Agency, 2011. All rights reserved.
Cache Subsystems (cont.) If the hard-disk controller finds the data that the computer asked for in the cache, it will return the data stored in the cache without actually accessing data on the disk itself, saving a lot of time. Copyright © Texas Education Agency, 2011. All rights reserved.12
Cache Subsystem Summary The normal caching system (www.howstuffworks.com): L1 cache - Memory accesses at full microprocessor speed (10 nanoseconds, 4 kilobytes to 16 kilobytes in size) L2 cache - Memory access of type SRAM 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) As you can see, the L1 cache caches the L2 cache, which caches the main memory, which can be used to cache the disk subsystems, and so on. 13Copyright © Texas Education Agency, 2011. All rights reserved.
Cache Technology The idea behind caching is to use a small amount of expensive memory to speed up a large amount of slower, less-expensive memory. Without L1 and L2 caches, an access to the main memory takes 60 nanoseconds, or about 30 wasted cycles accessing memory. 14Copyright © Texas Education Agency, 2011. All rights reserved.
Chapter 9 Memory Organization By Jack Chung. MEMORY? RAM?
What is it and why do we need it? Chris Ward CS147 10/16/2008.
Additional Cache Notes Dan Nguyen Spring Lee.
© GCSE Computing Computing Hardware Starter. Creating a spreadsheet to demonstrate the size of memory. 1 byte = 1 character or about 1 pixel of information.
Computing Hardware Starter.
IT253: Computer Organization
GCSE Computing - The CPU
1 Foundations of Software Design Fall 2002 Marti Hearst Lecture 4: Operating Systems.
C SINGH, JUNE 7-8, 2010IWW 2010, ISATANBUL, TURKEY Advanced Computers Architecture, UNIT 2 Advanced Computers Architecture UNIT 2 CACHE MEOMORY Lecture7.
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.
Multilevel Caches Microprocessors are getting faster and including a small high speed cache on the same chip.
Memory Hierarchy. Smaller and faster, (per byte) storage devices Larger, slower, and cheaper (per byte) storage devices.
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
Cache Heng Sovannarith
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.
Computer Maintenance Unit Subtitle: Basic Input/Output System (BIOS) Excerpted from 1 Copyright © Texas Education Agency, All.
Inside your computer. Hardware Review Motherboard Processor / CPU Bus Bios chip Memory Hard drive Video Card Sound Card Monitor/printer Ports.
Chapter 3 – Computer Hardware Computer Components – Hardware (cont.) Lecture 3.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Memory. Random Access Memory Defined What is memory? operating system and other system software that control the usage of the computer equipment application.
Computers in the real world Objectives Understand what is meant by memory Difference between RAM and ROM Look at how memory affects the performance of.
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
Am I RAM Or am I ROM?.
MEMORY is part of the Central Processing Unit, or CPU, where data and information are stored. There are two main types of memory in a computer – RAM.
Cache Memory Locality of reference: It is observed that when a program refers to memory, the access to memory for data as well as code are confined to.
Advanced Diploma - Unit One 1 Computer Components Week 1 System Unit Components.
Introduction: Memory Management 2 Ideally programmers want memory that is large fast non volatile Memory hierarchy small amount of fast, expensive memory.
Random access memory.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
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.
Characteristics of Computer Memory
Cache Memory By Aung Oo. Cache Memory Cache Hard drive Cache Printer Cache CD-Rom Cache Browser Cache.
Types of Computers Mainframe/Server Two Dual-Core Intel ® Xeon ® Processors 5140 Multi user access Large amount of RAM ( 48GB) and Backing Storage Desktop.
Machine Architecture CMSC 104, Section 4 Richard Chang 1.
Inside your computer. Hardware Motherboard Processor / CPU Bus Bios chip Memory Hard drive Video Card Sound Card Monitor/printer Ports.
Multiprocessing Memory Management
Design model for a computer Named after John von Neuman Instructions that tell the computer what to do are stored in memory Stored program Memory.
COMPUTER MEMORY Modern computers use semiconductor memory It is made up of thousands of circuits (paths) for electrical currents on a single silicon chip.
Copyright © 2007 – Curt Hill Primary Memory and Electronic Storage Implementations.
COMPUTER SYSTEMS ARCHITECTURE A NETWORKING APPROACH CHAPTER 12 INTRODUCTION THE MEMORY HIERARCHY CS 147 Nathaniel Gilbert 1.
HNC COMPUTING - COMPUTER PLATFORMS 1 Computer Platforms Week 1 The Basics – System Unit Components.
Modified from notes by Saeid Nooshabadi COMP3221: Microprocessors and Embedded Systems Lecture 25: Cache - I Lecturer:
Computer Maintenance I
Computer Architecture Part III-A: Memory. A Quote on Memory “With 1 MB RAM, we had a memory capacity which will NEVER be fully utilized” - Bill Gates.
Instructions Slides 3,4,5 are general questions that you should be able to answer. Use slides 6-27 to answer the questions. Write your answers in a separate.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
Software Design and Development Computer Architecture Computing Science.
A-Level Computing#BristolMet Session Objectives#3 MUST identify components of a CPU SHOULD describe the purpose of a CPU and its individual components.
© 2017 SlidePlayer.com Inc. All rights reserved.