缓存和转换后备缓冲区[TLB]之间的区别 [英] Difference between Cache and Translation LookAside Buffer[TLB]

查看:156
本文介绍了缓存和转换后备缓冲区[TLB]之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

缓存和转换后备缓冲区[TLB]有什么区别?

What is the difference between Cache and Translation LookAside Buffer [TLB] ?

推荐答案

来自Wiki:

在计算机科学中,缓存(发音为/kæʃ/,kash)是以下内容的集合:与原始数据重复存储的数据或较早计算的数据,与读取缓存的成本相比,原始数据的获取(由于更长的访问时间)或计算成本很高.换句话说,高速缓存用作临时存储区域,可以在其中存储频繁访问的数据以进行快速访问.一旦数据存储在缓存中,以后就可以通过访问缓存的副本来使用它,而不用重新获取或重新计算原始数据.

In computer science, a cache (pronounced /kæʃ/, kash) is a collection of data duplicating original values stored elsewhere or computed earlier, where the original data is expensive to fetch (owing to longer access time) or to compute, compared to the cost of reading the cache. In other words, a cache operates as a temporary storage area where frequently accessed data can be stored for rapid access. Once the data is stored in the cache, it can be used in the future by accessing the cached copy rather than re-fetching or recomputing the original data.

翻译后备缓冲区(TLB)是一种CPU缓存,内存管理硬件用来改进该缓存虚拟地址转换速度.它是处理器中引入的第一个缓存.当前所有台式机和服务器处理器(例如x86)都使用TLB. TLB具有固定数量的插槽,这些插槽包含页表项,这些表表项将虚拟地址映射到物理地址.它通常是一个内容可寻址存储器(CAM),其中搜索关键字是虚拟地址,搜索结果是物理地址.

A Translation lookaside buffer(TLB) is a CPU cache that memory management hardware uses to improve virtual address translation speed. It was the first cache introduced in processors. All current desktop and server processors (such as x86) use a TLB. A TLB has a fixed number of slots that contain page table entries, which map virtual addresses to physical addresses. It is typically a content-addressable memory (CAM), in which the search key is the virtual address and the search result is a physical address.

也请参阅这.

这篇关于缓存和转换后备缓冲区[TLB]之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆