Save this video free

Computer architecture - Memory - lecture 8b - Charles Fox - University of Lincoln

Charles Fox · 55:02 · Watch on YouTube

Part of University of Lincoln CMP1125M. See all 15 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Charles Fox explains how caching exploits locality across the memory hierarchy, from SRAM caches between a CPU and DRAM to RAM-backed virtual memory and global content delivery networks. He compares direct, associative, and hybrid cache designs, explains write-through and write-back policies, then surveys storage from punch cards and hard disks to SSDs, RAID, optical jukeboxes, tape, and experimental glass archives.

Key takeaways

Chapters

0:00 Caching and the Three Principles of Locality
8:00 Cache Lines, Hits, Misses, and Address Hashing
14:00 Direct-Mapped Caching and the Logisim Circuit
20:00 Associative Caching and Set-Associative Hybrids
25:00 Write-Through and Write-Back Cache Policies
30:00 Multilevel, Instruction, Data, and Translation Caches
33:00 Punch Cards, Wax Cylinders, and Magnetic Disks
37:00 Hard-Disk Tracks, Sectors, and Fragmentation
43:00 RAID Redundancy and Solid-State Drives
46:00 Virtual Memory Uses RAM as a Disk Cache
48:00 Archival Storage, Optical Jukeboxes, and Global Caches

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 Caching is a general idea of using multiple layers of the memory pyramid in more efficient ways. It's it's often the case, like in [snorts] the lawyer's office, it's often the case that you have a load of information, like all those old books behind you, and you don't know at the start of your task which information you're going to be using, but once you start using some of it, once you've pulled a couple of books off the shelf, you are quite likely to go on using the same books. Um and so it makes sense to not put the book back on the shelf straight away, but to leave it on your desk. You might have

0:47 multiple layers of this as well. You know, you might you might feasibly tear a page out of the book and bring it much closer to you than the rest of the book, or you might have different areas on your desk that are closer and further away for books that you think you're going to be using a lot. You try you try to get all the information that you're currently using and therefore will probably be using again in the future and keep it close to you. So technologically you have a bunch of different kinds of memory. For example, we've seen the SRAM and the DRAM so far. Um you might try to [snorts] arrange things so that that fast memory is trying to guess which parts of the slow memory are

1:37 likely to be used, and you try and fill the small fast memory with stuff that you think you're going to need. And you you can do this all the way through the memory pyramid. You you could have your basement full of archival Blu-rays that that take a long

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Charles Fox.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.