Cache Memory course

A computer has different types of memory that are distinguished by their access speeds. The faster the memory is, the more expensive it is and the less the amount available on the computer. The internal or floating internal registers of the microprocessor constitute the memory to which it accesses the fastest but they are in very limited number. Then there is the RAM, the hard drives and then the tapes, which are very slow but which allow to store very large amounts of data.

The caches are intermediate between the internal registers of the microprocessor and the RAM. They are made of fast memory but they are reduced in size compared to the main memory.

When it comes to speed of access to memory, we must distinguish between latency and throughput. Latency is the time that elapses between the request for data and the arrival of the first data. The flow rate then measures the flow of data transmitted during the steady state, that is to say after the latency has elapsed. For a hard disk, the latency is relatively long because the read head must be positioned mechanically and then wait until the right sector is under the head.

For some time now, there has been a gap between the speed of microprocessors and the speed of dynamic memories that are used as main memory of computers. SDRAMs increase throughput but minimize latency. To prevent the microprocessor from losing time to wait for the data in the memory, memory caches formed from faster static memories are interposed between the microprocessor and the main memory. The purpose is similar to that of disk caches to speed up access to hard disks.

Table of contents

  • Memory Hierarchy
  • Principles of locality
  • Cache memory
  • Direct access
  • Partially associative
  • Completely associative
  • Considerations with respect to memory entries
  • Instruction cache and unified cache
  • Common definitions
  • Cache Organization
  • Side note: byte address, block address
  • Design code suitable for cache
  • Rearrange the loops to improve the spatial locality
  • Use blocking to improve temporal locality
Size : 125.88 Kb
File type : pdf
Downloads: 636
Created: 2016-12-31

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others Memory Tutorials

Programming Persistent Memory

Guide RAM and ROM Based Digital Design

DRAM: Architectures, Interfaces, and Systems

Introduction to ARM Memory and Assembly Language

ROM, EPROM, and EEPROM pdf tutorial

Others related eBooks about Cache Memory course

Intel Xeon Phi Coprocessor Architecture and Tools

Intel Xeon Phi Coprocessor Architecture and Tools: The Guide for Application Developers pr..., download free Intel Xeon Phi tutorial in PDF (232 pages) created by Rezaur Rahman ....

Computer basics courses

Download free course material and training Computer basics on 17 pages intended to beginners....

Spring Framework Notes for Professionals

Download free course Spring Framework Notes for Professionals, pdf file on 67 pages by Stack Overflow Community....

Program Arcade Games

Download free course Program Arcade Games, pdf file on 392 pages by Paul Craven....

The Computers That Made Britain

Download free course The Computers That Made Britain, pdf file on 297 pages by Tim Danton....

Operating Systems: From 0 to 1

Download free course Operating Systems: From 0 to 1, pdf file on 309 pages by Tu Do Hang....

Analysis for Computer Scientists

Download free course Analysis for Computer Scientists, pdf file on 372 pages by by Michael Oberguggenberger, Alexander Ostermann....

CPU Architecture Tutorial

A complet tutorial about 80x86 CPU family and the major improvements occuring along the line, free download pdf training document....

Computer basics for beginners

A basic computer tutorial is a step-by-step guide that is designed to provide beginners with an understanding of the fundamental components and functionalities of a computer....

Introduction to architecture

This tutorial explains the different computer components and the role of a building architect ....