How Cache Works Inside a CPU

How Cache Works Inside a CPU

37.557 Lượt nghe
How Cache Works Inside a CPU
How Cache Works inside a CPU Caching is a large and complex subject. In this video, I explain the basics of a CPU cache: • What is the CPU cache and what is it good for? • How data is transferred between the CPU, main memory and cache • Cache hit and cache miss concepts • Locality of Reference principle • Structure of a cache memory • Cache read/write requests • Types of cache memory: N-Way Set Associative, Fully Associative and Direct-Mapped cache LINKS Beginner's Guide to CPU Caches (E-Book): https://buymeacoffee.com/bitlemonsoftware/e/362123 Support my work: https://buymeacoffee.com/bitlemonsoftware CPU Cache Playlist: https://youtube.com/playlist?list=PL38NNHQLqJqYnNrTenxBvGJSPCkV9EOWk&si=c8iKNmWxzEq7qODB TABLE OF CONTENTS 00:00 Introduction 01:47 What is a CPU cache? 02:36 How the CPU cache works? 03:46 Locality of Reference principle 05:07 Cache memory structure 07:51 Types of cache memory 08:49 Cache Replacement algorithm #computerscience #cache #programming #software #hardware