当前位置:网站首页>Cache learning
Cache learning
2022-07-27 22:29:00 【aningxiaoxixi】
1
Not only cache It is divided into instructions and data
mmu Also divided into instructions Follow data
2
cache Is based on The principle of program locality
Reference resources : What is the principle of program locality
3 canche Usage flow
a In limine cache Read a Address data , No desired data , It's called cache miss
b cpu Send the address to sdram, Read into one cacheline be called cache fill
c The program reads the address again a The data of , from cache Up lookup a The data of , Successfully found , It's called cache hit
4 cache line
Computer cache Cache as well as Cache Line Detailed explanation
5 write buffer yes cache Reverse operation .
6 cache Follow mmu equally , Focused on the cpu Inside , The address is not on the system bus .
7 cache Capacity in 1k To 512k Word is the optimal solution .
8 cache Solutions to consistency problems are divided into software and chip methods
Software solution :
a Set the storage area where consistency problems may occur to non cache, But it may cause system performance degradation .
b In critical code areas where consistency problems may occur , Insert cache Control command , Achieve consistency
边栏推荐
- [C language] high precision addition, subtraction, multiplication and division template
- dBm和Vpp以及Vpeak的关系
- Deepfake 换脸真假难辨,马斯克分克已伪装成功
- STM32项目分享---MQTT智能门禁系统(含APP控制)
- Alibaba Senior Software Testing Engineer recommends testers to learn -- Introduction to security testing
- 什么是私域流量?
- [stonedb fault diagnosis] MDL lock waiting
- 软件测试的就业前景到底怎么样?
- 【StoneDB故障诊断】系统资源瓶颈诊断
- SSM integration process
猜你喜欢

The gratitude and resentment between the four swordsmen and code review: "abandon all chaos" to "prodigal son returns"

Credit default prediction based on simplified scorecard, smote sampling and random forest

Multi tenant SaaS cloud platform framework

Chapter 3 business function development (choose to export market activities, Apache POI)

High frequency relay

STM32 project Sharing -- mqtt intelligent access control system (including app control)

温度继电器

Starrocks community structure comes out, waiting for you to upgrade!

阿里资深软件测试工程师推荐测试人员必学——安全测试入门介绍

8000字讲透OBSA原理与应用实践
随机推荐
redis学习
光藕继电器
一种比读写锁更快的锁,还不赶紧认识一下
jumpserver学习
华能福建公司与华为数字能源深化战略合作,共建低碳智能县域
九天后我们一起,聚焦音视频、探秘技术新发展
The gratitude and resentment between the four swordsmen and code review: "abandon all chaos" to "prodigal son returns"
EC code introduction
More than 100 lines should be split into functions
七大排序之希尔排序
If demand splitting is as simple as cutting a cake | agile practice
Nine days later, we are together to focus on the new development of audio and video and mystery technology
Apachespark command execution (cve-2022-33891) vulnerability recurrence
An2021 software installation and basic operation (new file / export)
Relationship between DBM and VPP and Vpeak
[untitled]
什么是私域流量?
What is modcount in the source code? What's the effect
Go language learning notes - mutex start go language from scratch
Temperature relay