当前位置:网站首页>Cache用法小结
Cache用法小结
2022-06-10 09:02:00 【Andy Pines】
把最近接触到的cache有关的信息总结到这里,供日后查看
一.Cache基本概念
What is cache?
Cache是用来对内存数据的缓存。
CPU要访问的数据在Cache中有缓存,称为“命中” (Hit),反之则称为“缺失” (Miss)。
CPU访问它的速度介于寄存器与内存之间(数量级的差别)。实现Cache的花费介于寄存器与内存之间
参考博客:https://www.cnblogs.com/jokerjason/p/10711022.html
(需要注意一些相关概念:什么是Cache?为什么要引入Cache?Cache与CPU交互过程?什么是Cache Line?Cache写机制及一致性)
(Cache一致性问题可参考<LDD>P388:DMA映射,本篇中提及的HW shared Memory中的HW暂指DMA)
[email protected]:/# cat /sys/devices/system/cpu/cpu1/cache/index0/coherency_line_size
64
[email protected]:/# 二.Cach
边栏推荐
- Google搜索为什么不能无限分页?
- Uniapp always locates the chat page to the bottom display
- Add cache like silk to optimize service
- window11 无法打开安全中心解决方法
- LeetCode琅琊榜第二十一层-只出现一次的数字
- Task06: Autumn move script a
- Auto. JS Pro development environment configuration
- Credit card customer churn forecast
- Pinctrl subsystem and GPIO subsystem
- How knowledge atlas, graph data platform and graph technology help the rapid development of retail industry
猜你喜欢

LeetCode琅琊榜第二十一层-只出现一次的数字

Win11 installing pandoc

Alignment HR_ MySQL logical architecture? That's it?

Level 18 of leetcode Langya list - sum of two numbers (lookup table method)

LeetCode琅琊榜第十九层-有效的括号

win11安装Pandoc

vtk学习之RenderCylinder-Lights灯光渲染

如丝般添加缓存来优化服务

Reference counting and smart pointer for VTK learning

From zero to one, one-stop solution to MySQL under linux environment (download)
随机推荐
HP notebook - how to wake up a laptop after sleep
wechat_ Configuration of wechat applet subcontracting
一个数组对象中取出需要的多个字段以及值去掉不要的
Mmsegment SERIES V (custom model)
If you want to change careers, why do you prefer software testing?
Configure vscode+cmake under win11
Task06: Autumn move script C
Task05:sql advanced processing
After Zotero beta 6.0 is installed, the problem that the built-in PDF reader cannot be used is solved
Alignment HR_ MySQL logical architecture? That's it?
LeetCode琅琊榜第十八层-两数之和(查找表法)
How much do you need to learn before you can find a job in the software test of zero foundation career transition
Unzip the jar package and modify the configuration file (unzip, modify, compress and run)
Leetcode level 19 - valid parentheses
Skill tree evaluation
LeetCode琅琊榜第十九层-有效的括号
从零到一,一站式解决Linux环境下的MySQL(下载篇)
Credit card customer churn forecast
Level 18 of leetcode Langya list - sum of two numbers (lookup table method)
微信小程序组件observers【监听器】中使用this报错undefined