本讲内容:Cache系统(单处理器) ·为什么需要Cache? 一性能、结构 三个关键问题:PWR 。 Cache?有效性的理论基础 the mapping function(映射) -局部性原理:时间,空间 the link between a block's address ·影响Cache命中率的因素 in memory and its location in the cache; Cache的基本结构,5.3 Block Placement Schemes Cache的读写操作过程,5.3,5.8 o the write policy Cache-一致性 how the processor writes data to ·阻塞式Cache the cache so that main memory eventually gets updated; Cache-MEM映射机制,5.4,5.8 the replacement algorithm ·块放哪儿? - the method used to figure out Cachel的替换策略,5.4,5.8 which block to remove from the cache in order to free up a line. Cache控制器:5.9,5.12 Cache性能分析 COD5 ·主要见体系结构课 5.3,5.4,5.8,5.9,5.12 Cache Coherence,5.10 唐:4.3,附录4A ·见体系结构课本讲内容:Cache系统(单处理器) • 三个关键问题:PWR • the mapping function(映射) – the link between a block's address in memory and its location in the cache; – Block Placement Schemes • the write policy – how the processor writes data to the cache so that main memory eventually gets updated; • the replacement algorithm – the method used to figure out which block to remove from the cache in order to free up a line. • COD5 – 5.3, 5.4, 5.8, 5.9, 5.12 • 唐:4.3,附录4A • 为什么需要Cache? – 性能、结构 • Cache有效性的理论基础 – 局部性原理:时间,空间 • 影响Cache命中率的因素 • Cache的基本结构,5.3 • Cache的读写操作过程,5.3,5.8 • Cache一致性 • 阻塞式Cache • Cache-MEM映射机制,5.4,5.8 • 块放哪儿? • Cache的替换策略,5.4,5.8 • Cache控制器:5.9,5.12 • Cache 性能分析 • 主要见体系结构课 • Cache Coherence,5.10 • 见体系结构课