当前位置:网站首页>cache学习
cache学习
2022-07-27 19:35:00 【aningxiaoxixi】
1
不仅cache 分为指令跟数据
mmu 也分为指令 跟 数据
2
cache 的涉及基于 程序局部性原理
参考:什么是程序的局部性原理
3 canche 使用流程
a 一开始 cache读取a地址的数据,无想要的数据,这叫做cache miss
b cpu 把地址发往 sdram,读入一个cacheline 称为 cache fill
c 程序再次读取地址 a 的数据,从cache 上查找 a 的数据,成功找到,这叫做 cache hit
4 cache line
计算机缓存Cache以及Cache Line详解
5 write buffer 是cache 逆操作。
6 cache 跟 mmu一样,集中在cpu内部,地址不在系统总线上。
7 cache 容量在 1k 到 512k字是最优解。
8 cache 一致性问题解决办法分为软件与芯片方法
软件方案:
a 将可能出现一致性问题的存储区设为非 cache,但可能引起系统性能下降。
b 在可能出现一致性问题的临界代码区,插入cache控制指令,实现一致性
边栏推荐
- Are Transformers Effective for Time Series Forecasting?|填坑
- Leetcode15 -- sum of three numbers
- Interview question: what are the functions of fail safe mechanism and fail fast mechanism
- SQL注入 Less26a(布尔盲注)
- Massive data TOPK problem
- EC code introduction
- Go language learning notes - mutex start go language from scratch
- 【StoneDB故障诊断】系统资源瓶颈诊断
- Leetcode-538- convert binary search tree to cumulative tree
- Mask automatic update description file (mask description file)
猜你喜欢

高频继电器

JVM memory model interview summary

8000 word explanation of OBSA principle and application practice

Deepfake 换脸真假难辨,马斯克分克已伪装成功

Encapsulate an array into a class

Reed relay

华能福建公司与华为数字能源深化战略合作,共建低碳智能县域

How to quickly pass the probation period for newly trained intermediate test engineers

leetcode383赎金信

软件测试的就业前景到底怎么样?
随机推荐
Alibaba Senior Software Testing Engineer recommends testers to learn -- Introduction to security testing
Are Transformers Effective for Time Series Forecasting?| Pit filling
Nodejs npm常用指令总结
Deepfake 换脸真假难辨,马斯克分克已伪装成功
【海洋科学】海洋气候指数【Climate Indices】数据集
How long will it take to learn the four redis cluster solutions? I'll finish it for you in one breath
Yyds dry goods inventory # solve the real problem of famous enterprises: cycle number comparison
时间继电器
项目分析(从技术到项目、产品)
固体继电器
@Can component be used on the same class as @bean?
Leetcode-39-total number of combinations
SQL注入 Less26a(布尔盲注)
setContentView详解
Deepfake's face is hard to distinguish between true and false, and musk Fenke has disguised successfully
SQL injection less26a (Boolean blind injection)
electromagnetic relay
Wechat applet live broadcast plug-in -- get temporary files (background integrated applet live broadcast)
It's too voluminous. A company has completely opened its core system (smart system) that has been operating for many years
CMOS switch (II)_ Parameter extraction