CSAPP:Chapter1.5

本文探讨了缓存内存(简称缓存)在处理处理器与内存速度差距中的关键作用。介绍了物理定律下,更大的存储设备为何比小的更慢,以及高速设备的成本问题。详细讲解了缓存的层级,包括一级缓存(接近寄存器文件的速度)和二级缓存(比主内存快5到10倍),有时还包括三级缓存。
摘要由CSDN通过智能技术生成

1.5 Caches Matter

1)Physical laws

Larger storage devices are slower than smaller storage devices.

Faster devices are more expensive to build than their slower counterparts.  

2)To deal with the processor-memory gap

cache memories(or simply caches) that serves as temporary storage areas for information that the processor is likely to need in the near future.

 

3)Cache Level,SRAM(Static Random Access Memory)

Level 1 and level 2, maybe level 3 sometimes.

Level 1 (tens of thousands of bytes, nearly as fast as register file)

Level 2 (hundreds of thousands to millions of bytes, might take 5 times longer than L1 does but still 5 to 10 times faster than main memory)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值