免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1437 | 回复: 3
打印 上一主题 下一主题

[内核入门] 关于TLB [复制链接]

论坛徽章:
3
双鱼座
日期:2013-09-04 19:47:39天蝎座
日期:2013-12-11 20:30:532015年亚洲杯之澳大利亚
日期:2015-04-20 00:28:02
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-01-18 10:25 |只看该作者 |倒序浏览
  ULK3: Besides general-purpose hardware caches, 80X86 processors include another cache called
  Translation Lookaside Buffers(TLB) ...

  
   请问, TLB和General-purpose hardware caches(L1 cache)的 结构上有区别嘛?也是cache controller + cache memory嘛?
   
   之前有看到相关文章讲到‘Buffer'和'Cache'是不同的. 而我看《操作系统》的时候, Buffer又似乎是一个“概念上”的东西。
   
    所以Buffer是物理存在的硬件器件呢, 还是只是一个概念.

    还有缓冲, 缓存. 究竟哪个是哪个?
  
   求各位大神帮忙解惑.

论坛徽章:
0
2 [报告]
发表于 2013-01-18 10:41 |只看该作者
我的理解:TLB也是一种data cache的方式,只不过这些data只能是页表,专供mmu使用,是一种硬件,在某些体系结构上cache是透明的,而一些嵌入式平台上需要操作系统介入控制;buffer应该是内存中的一些数据结构,比如页高速缓存,块高速缓存等等

论坛徽章:
4
天秤座
日期:2013-10-18 13:58:33金牛座
日期:2013-11-28 16:17:01辰龙
日期:2014-01-14 09:54:32戌狗
日期:2014-01-24 09:23:27
3 [报告]
发表于 2013-01-18 10:56 |只看该作者
TLB也是一种cache,只是根据其特点和容量,做的个适合应用,比如有些L1 TLB做成全相联结构,L2采用组相连多ways结构。

论坛徽章:
3
双鱼座
日期:2013-09-04 19:47:39天蝎座
日期:2013-12-11 20:30:532015年亚洲杯之澳大利亚
日期:2015-04-20 00:28:02
4 [报告]
发表于 2013-01-18 11:05 |只看该作者
回复 2# fuping0726



Cache (computing), a collection of data duplicating original values stored elsewhere on a computer
CPU cache, a small area of fast memory used by the central processing unit
Disk buffer, the small amount of buffer memory present on a hard drive
Page cache, the cache of disk pages kept by the operating systems, stored in unused main memory
Web cache, a mechanism for the temporary storage of web documents to increase performance
DNS cache, a server in the domain name system which stores queried results for a period of time
P2P caching, a technique used to reduce bandwidth costs for content on peer-to-peer networks
Database caching, a mechanism used to cache database content in multi-tier applications


buffer
In electronics and computer science:
Data buffer, memory used temporarily to store output or input data
Framebuffer, a particular type of data buffer for use in graphical display
Optical buffer, a device that stores optically transmitted data without converting it to the electrical domain
Buffer amplifier (also sometimes simply called a buffer), an isolating circuit used in electronics or telecommunications
Buffer (optical fiber), a component used to encapsulate one or more optical fibers in a fiber optic communication cable


刚在wiki上搜到的...Cache和buffer这两个名词好多内容...
谢谢楼上两位朋友了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP