MTTR介绍

原文:http://baike.baidu.com/view/1493498.htm

MTRR是Memory Type Range Register的缩写,可翻译为存储区域类型寄存器,它规定了读写某段范围物理内存的策略,用于优化CPU数据传送性能。例如可将MTTR设为在显存的地址范围上使用“write-combining”策略,CPU能够在PCI/AGP总线上,将许多次少量的数据写入集合成一次大的数据写入,这样能获得 2.5倍以上图像传送速度的提升。

  Memory Type Range Registers (MTRRs) are control registers that are used as a control mechanism which provides system software with control of how accesses to memory ranges by the CPU are cached. It uses a set of programmable model-specific registers (MSRs) which are special registers provided by most modern CPUs.
  Possible access modes to memory ranges can be:
  * uncached
  * write-through
  * write-combining
  * write-protect
  * write-back
  Additional bits which are provided on some computer architectures such as AMD64 allow the shadowing of ROM contents in system memory (Shadow ROM) and the configuration of memory-mapped I/O.
  In write-back mode, writes are written to the CPU's cache and the cache is marked dirty, so that its contents are written to memory later)

  Write-combining allows bus write transfers to be combined into a larger transfer before bursting them over the bus to allow more efficient writes to system resources like graphics card memory. This often increases the speed of image write operations by 2.5 times, at the cost of losing the simple sequential read/write semantics of normal memory.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值