当前位置:网站首页>Cache consistency of arm
Cache consistency of arm
2022-06-22 01:35:00 【__ pop_】
List of articles
brief introduction
Cache consistency The concern is " The same data " stay " Cache 1" and " Cache 2" ... and " Memory " Medium Uniformity problem
There is inconsistent This kind of problem , How to solve . There are three solutions :
1. Turn off cache, no need cache
2. Hardware supply instruction , Software maintains cache consistency
3. Hardware maintains cache consistency , The software does not require any operation
arm use 2 and 3
single core Of Cache consistency issues
DMA and Cache Consistency issues
Problem description
Solution
Self modifying code problems
Problem description
Instruction cache and data cache are inconsistent
Data cache for new code , Instruction cache is old code . The new code cannot be executed
Solution
2. Hardware supply instruction , Software maintains cache consistency
Software calls cache maintenance instructions : dc ic
Modify page table
Problem description
tlb The saved data is out of date , Cause the index to the wrong physical address
Solution
2. Hardware supply instruction , Software maintains cache consistency
Refresh tlb
multi core New questions
cpu0 and cpu1 Consistency issues
Problem description
cpu0 read Memory address A Value , The cache to cpu0 Of l1 cache , And modify the This value // Caused the memory address A Two copies of
after
cpu1 To read the memory address A Value , Where to read from
Solution
3. Hardware maintains cache consistency , The software does not require any operation
What hardware :
be based on MESI agreement Of SCU(Snoop control unit)
multi cluster New questions
cluster0 and cluster1 Consistency issues
Problem description
cluster0 read Memory address A Value , The cache to cluster0 Of l1 cache , And modify the This value // Caused the memory address A Two copies of
after
cluster1 To read the memory address A Value , Where to read from
Solution
3. Hardware maintains cache consistency , The software does not require any operation
What hardware :
many cluster: be based on (AMBA4)ACE agreement Of CCI controller
many cluster: be based on (AMBA5)CHI agreement Of CCN controller
边栏推荐
- 4275. Dijkstra sequence
- Mysql database high version low version
- [solution] Ming Chu Liang Zao video edge computing gateway solution
- . Several methods of obtaining hinstance in. Net
- 对标Copilot,国内首个:自然语言一键生成方法级代码aiXcoder XL来了
- clean,compile,build,install,package区别
- Want to join a big factory? Reading this article may help you
- Huawei cloud releases desktop ide codearts
- 亚马逊测评系统哪个好?
- Point cloud registration -- 4pcs principle and Application
猜你喜欢

Some introduction and transplantation of lvgl

Want to join a big factory? Reading this article may help you

高分方案纷纷开源,中国“软件杯”遥感赛项第二轮预选赛来了!

站在数字化风口,工装企业如何“飞起来”

【CYW20189】七、HCI命令格式详解

机器学习 Pytorch实现案例 LSTM案例(航班人数预测)

Navicat cannot connect to MySQL

求一个防关联检测工具,浏览器指纹在线检测

今日内容

Error 4 opening dom ASM/Self in 0x8283c00
随机推荐
The use of PowerShell functions in mathematical expressions
Using SSM framework to realize user login
经费预算与调整记录与使用记录输出使用进度搭建过程记录
修改字典的方法
PHP admin deployment - resolve all errors
Point cloud registration -- 4pcs principle and Application
【CYW20189】七、HCI命令格式详解
English grammar_ Adverb_ fairly / rather
防关联浏览器原理及对策
MySQL 8.0 新特性梳理汇总
How to remove duplication in left join from a simple example
3分钟,带你玩转聊天机器人自动化【顶级模板】
Sending webhook of message queue to realize cross application asynchronous callback
Yang Bing: oceanbase helps digital transformation, and native distributed database becomes the first choice for core system
Shardingsphere-proxy-5.0.0 implementation of distributed hash modulo fragmentation (4)
How to use the low code platform of the Internet of things for report management?
今日内容
点云配准--4PCS原理与应用
SparkRDD 案例:计算总成绩
Unlovable STL