高级计算机体系结构设计及其在数据中心和云计算的应用Hardware Prefetching (2/3)ProcessorPotentialRegistersPrefetcherI-TLBD-TLBLII-CacheB-CacheLocationsOOL2CacheOL3Cache (LLC)OMainMemory(DRAM)
高级计算机体系结构设计及其在数据中心和云计算的应 用 Processor Hardware Prefetching (2/3) Registers L1 I-Cache L1 D-Cache L2 Cache I-TLB D-TLB Main Memory (DRAM) L3 Cache (LLC) Potential Prefetcher Locations
高级计算机体系结构设计及其在数据中心和云计算的应用Hardware Prefetching (3/3)ProcessorIntelCore2RegistersOPrefetcherD-TLBI-TLBLID-CacheLII-CacheLocationsOL2CacheL3Cache(LLC)Real CPUs have multiple prefetchers- Usually closer to the core (easierto detect patterns) Prefetching at LLC is hard (cache is banked and hashed)
高级计算机体系结构设计及其在数据中心和云计算的应 用 Processor Hardware Prefetching (3/3) • Real CPUs have multiple prefetchers – Usually closer to the core (easier to detect patterns) – Prefetching at LLC is hard (cache is banked and hashed) Registers L1 I-Cache L1 D-Cache L2 Cache I-TLB D-TLB L3 Cache (LLC) Intel Core2 Prefetcher Locations