Intel 64 and IA-32 cache 术语
来源:互联网 发布:淘宝店铺永久封店重开 编辑:程序博客网 时间:2024/06/07 04:50
cache line fill
当处理器发现从内存读取的操作数是cache-able,处理器会读取整个cache line到相应的cache中(L1, L2, L3或者到全部Cache)。我们把这个操作叫做cache line fill
cache hit
如果包含操作数的内存仍然在cache中,那么下一次处理器访问这个操作数时,处理器就可以直接从cache中读取,而不需要从相对慢速的系统内存中读取。这个操作我们称之为cache命中
write hit
当处理器要写一个操作数到cache-able的内存区域时,首先会检查这块内存是否已经在cache line中。如果cache line存在,那么处理器可以把操作数写到cache中,而不是写到系统内存。这个操作称之为write hit
write missed
当处理器写一个操作数到cache-able的内存区域时,如果这块内存没有对应有效的cache line,那么就称为cache missed。此时处理器可移执行cache line填充,然后再把操作数写到cache line中,然后(依赖于当前内存的写策略)写到store buffer中,然后在系统总线可用时,把 write buffer的内容写到系统内存。注意对于Pentium处理器,write missed并不会导致cache line fill,而是直接写回内存。对于这个处理器,只有read missed会导致cache line fill。
snoop
在MP (multi-processor)系统中,IA32和Intel 64处理器会snoop其他处理器对内存的访问,通过这个能力,可以确保处理器保持他们内部的cache和 系统内存以及其他处理器的cache保持一致。
比如,Pentium和P6家族处理器,通过snooping,一个处理器可以检测到另外一个处理器要写系统内存,并且这块内存恰好当前正在被cached在cache line中,执行snooping的处理器会无效自己的cache line,使得下一次这个处理器访问这个内存位置时会执行一次cache line fill。
- Intel 64 and IA-32 cache 术语
- Intel 64 and IA-32 cache control
- Intel 64 and IA-32 Control Registers
- Intel® 64 and IA-32 Architectures:写在前面的话
- Intel® 64 and IA-32 Architectures:0001-前言
- Intel 64 and IA-32 架构的软件开发手册
- IA-32, Intel(R) 64 and IA-64 Architecture 的含义
- IA 64 and IA-32 MTRRs
- intel 64 和 IA-32 的manual
- Intel® 64 and IA-32 Architectures Software Developer's Manuals
- Intel® 64 and IA-32 Architectures Software Developer's Manuals
- Intel® 64 and IA-32 Architectures:0002-NOTATIONAL CONVENTIONS(符号约定)
- intel 64 and IA-32 Archtectures Software Developer's Manual 笔记
- Intel® 64 and IA-32 Architectures Software Developer Manuals中文翻译 任务管理
- Intel IA-32架构浅析
- Intel 64 and IA-32 架构,软件开发人员手册,2A&2B,指令集,A-Z(CHM版)[
- Intel 64和IA-32架构——操作模式
- IA-32架构和Intel 64架构的区别
- cURL 模块
- 【stagefrightplayer】5 音频输出AudioPlayer介绍
- SqlServer 2008 数据库练习----各种琐碎
- 关于style bad Entry 的错误 (纠结了几天的bug!)
- Maven-Nexus私服搭建(四)
- Intel 64 and IA-32 cache 术语
- SocketAsyncEventArgs
- Android入门之把窗口信息传递给InputDispatcher
- error LNK2019: 无法解析的外部符号 _xxxx,该符号在函数 _VisualEn_Run 中被引用
- 【编程基础】——抽象类&&接口&&继承
- java多线程—概念—菜鸟的进阶
- 字符串中第一个只出现一次的字符
- solrCloud配置目录结构
- lua 中table的使用和分析