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 | |
| Downloads | 661 |
| Created | 2016-12-31 |
Others Memory tutorials
Others related eBooks about Cache Memory course
-
Introduction to architecture
This tutorial explains the different computer components and the role of a building architect ....
-
Fundamentals of computer architecture
Download tutorial in PDF about the fundamentals of computer architecture ,it's a free training document under 290 pages for experienced users by Mostafa Abd-El-Barr and Hesham El-Rewini....
-
Computer Architecture
In this tutorial, we briefly describe a basic computer architecture and principles of its operation ,a free PDF training course under 12 pages by Milo Martin & Amir Roth....
-
Central Processing Unit (CPU) Tutorial
With this pdf training course, we will learn the basics of central processing unit of the computer, free tutorial intended to beginners....
-
Entity Framework Core Succinctly
Download free course Entity Framework Core Succinctly, pdf file on 111 pages by Ricardo Peres....
-
Computer and Information Sciences
Download free course Computer and Information Sciences, pdf file on 280 pages by Tadeusz Czachórski, Erol Gelenbe, Krzysztof Grochla, Ricardo Lent....
-
Computer Fundamentals course
With this course, you will learn how a computer works, it introduces you to assembly-level programming. You will be able to write a simple assembly language program. At the end of the tutorial, you’ll be able to understand the different types of information which may be stored in a computer memory...
-
Intelligent Human Computer Interaction
Download free course Intelligent Human Computer Interaction, pdf file on 227 pages by Patrick Horain, Catherine Achard, Malik Mallem....
-
How To Build Your Own PC
We'll walk you through everything you need to know to build your own PC. This is a free Building PC PDF tutorial in 19 chapters and 26 pages....
-
IEA International Computer and Information Literacy Study 2018 Assessment Framework
Download free course IEA International Computer and Information Literacy Study 2018 Assessment Framework, pdf file on 77 pages by Julian Fraillon, John Ainley, Wolfram Schulz, Daniel Duckworth, Tim Friedman....