湖南为什么叫湖南| 金达克宁和达克宁有什么区别| 手串断了寓意什么| 违拗是什么意思| 脚肿吃什么药消肿| 左胸下方是什么部位| 盗墓笔记讲了什么| 作灶是什么意思| 艾滋病会有什么症状| 九月五日是什么节日| 俗不可耐是什么意思| 什么叫磨玻璃结节| 金多水浊什么意思| 1971年属什么| 玉米不能和什么食物一起吃| 什么惊什么怪| 长脸适合什么发型男| 什么花最香| 什么情况下要打狂犬疫苗| 自闭症是什么人投胎| 心率快吃什么药效果好| 为什么会基因突变| 梦见自己相亲是什么征兆| 补充公积金是什么意思| 口臭要做什么检查| 为什么会长花斑癣| 蚂蚱和蝗虫有什么区别| 海参吃什么| 结石吃什么药好| 喝酒前吃什么不会醉| redline是什么牌子| 重庆有什么好大学| 肉什么结构| 梦见抬死人是什么意思| 梦见买馒头是什么意思| 马来酸曲美布汀片什么时候吃| 梦见小猪仔什么意思| mm是什么病| 白猫进家有什么预兆| p是什么意思啊| 心肌酶高有什么危害| 男人补肾吃什么好| 喉咙痛吃什么药好| 8月6号什么星座| 空调水滴是什么模式| 肾阳虚和肾阴虚有什么区别症状| 拨备覆盖率是什么意思| 非典型腺细胞是什么意思| 氧氟沙星和诺氟沙星有什么区别| 卧推100公斤什么水平| 做梦梦见火是什么意思| 男孩过生日送什么礼物好| 什么不可什么四字词语| 户主有什么权利| 牙龈为什么会肿| 欲情故纵是什么意思| 1r是什么意思| 黑枸杞有什么作用| 什么肉最好吃| 腱鞘炎用什么药最好| 梦见很多牛是什么兆头| 钾血症是什么病| 大驿土命是什么意思| 印度为什么叫阿三| 婴儿42天检查什么项目| 大便很臭什么原因| 唾液酸偏低意味什么| 马蜂窝治什么病最好| 精子为什么叫怂| rap什么意思| pe医学上是什么意思| 联手是什么意思| 3月20日什么星座| 异父异母是什么意思| 左后背疼是什么原因| 自然什么意思| 甲状腺滤泡性肿瘤是什么意思| 胆固醇高吃什么食物最好| 人生轨迹是什么意思| 舌苔厚白湿气重吃什么药| 速干裤是什么面料| 头孢和什么药不能一起吃| 噤若寒蝉是什么意思| 耽美剧是什么意思| 驻村是什么意思| 不还信用卡有什么后果| 天河水命是什么意思| 什么果不能吃| 失眠用什么药最好| 1月23日是什么星座| 大土土什么字| 总爱放屁是什么原因| 女生腋毛多是什么原因| 维生素b12高是什么原因| 失眠缺什么维生素| 胆汁是什么| 九牛一毛什么意思| h代表什么| 手机信号不好是什么原因| 路由器坏了有什么症状| 梦见蚂蚁是什么预兆| 517是什么意思| 孕妇吃什么血糖降得快| nars是什么牌子| 梦见和尚是什么预兆| 软柿子是什么意思| 小孩吃牛肉有什么好处| 不成敬意是什么意思| 什么是个体工商户| 吃红苋菜有什么好处| 跳舞有什么好处| 梁字五行属什么| 尿偏红色是什么原因| 动物园里有什么游戏| cvt是什么意思| 姚字五行属什么| 长命锁一般由什么人送| chocker是什么| 蜜糖有什么功效和作用| 怀孕从什么时候开始算起| 看皮肤挂什么科| 顶天立地是什么意思| chemical是什么意思| 宫颈cin1级是什么意思| 思维跳脱是什么意思| 做梦梦到老公出轨代表什么预兆| 什么人一年只工作一天脑筋急转弯| 蛋白酶是什么东西| 信访局是干什么的| 花裙子配什么上衣好看| 头晕是什么情况| 被cue是什么意思| 扁桃体发炎吃什么药比较好| 什么绿绿| 伤口拆线挂什么科| 雌二醇e2是什么意思| 爸爸的妈妈叫什么| 皲裂什么意思| 蒙脱石散是什么| 暴毙是什么意思| 五月二十五是什么星座| 家里为什么会有隐翅虫| 脑供血不足用什么药好| 声东击西是什么意思| 子宫肥大有什么危害| 人潮涌动是什么意思| 心心相什么| 秋葵什么时候种植最好| 隶属什么意思| 万年历是什么| 减肥有什么方法| 眼眶疼是什么原因| 经常吃南瓜有什么好处和坏处| 脑梗适合吃什么水果| 高反吃什么药| 检查脖子挂什么科| 异性是什么意思| 11月份生日是什么星座| 全脂牛奶是什么意思| 最难做的饭是什么| b-h是什么药| 白色虫子是什么虫图片| 痰饮是什么意思| 月经不停吃什么药| 扁桃体发炎能吃什么水果| 乳糖不耐受是什么意思| 肚子咕咕叫是什么原因| 夏天吃姜有什么好处| 半月板是什么意思| 含义是什么意思| 鲸鱼用什么呼吸| 咏字五行属什么| 釉面是什么意思| 胆囊炎吃什么药效果最好| 灵芝对身体有什么好处| 鸡精和鸡粉有什么区别| 饕餮长什么样| php是什么意思| 华伦天奴属于什么档次| 这是什么英文| 成人打虫吃什么药| 世界上最小的花是什么花| 虢是什么意思| 牙齿挂什么科| b超回声不均匀是什么意思| 维和部队是干什么的| 这次台风叫什么| 终身为国是什么生肖| 秀女是什么意思| 角的大小与什么有关与什么无关| 佳人是什么生肖| 原发性是什么意思| 破军星是什么意思| casio手表是什么牌子| 光天化日什么意思| 兆是什么意思| 当局是什么意思| 冰箱什么牌子好又省电质量又好| 节气是什么意思| 孩子记忆力差是什么原因| 男朋友生日送什么礼物| 省委书记什么级别| 去香港自由行要办什么手续| 鼻孔流血是什么原因| 梦到鸡是什么意思| 羊肉饺子馅配什么蔬菜最好吃| 哆啦a梦大结局是什么| 吕字五行属什么| 什么食物降血糖| 94年属什么| 血小板压积偏低是什么原因| 复方对乙酰氨基酚片是什么药| 腋下有异味是什么原因导致的| 柳是什么生肖| 什么是口交| 小孩经常肚子疼是什么原因| 孤独的最高境界是什么| 怀孕了胃不舒服是什么原因| 验孕棒什么时候测比较准| hippo什么意思| 泪点低什么意思| 女人左下眼皮跳是什么预兆| 长疣是什么原因| 尿隐血阳性是什么意思| 乙肝表面抗原大于250是什么意思| 梦见下雪了是什么意思| 什么是皈依| 人间烟火什么意思| 猫是什么动物| 上腹胀是什么原因| 大眼角痒用什么眼药水| 非萎缩性胃炎伴糜烂是什么意思| 吃什么蔬菜可以降血脂| 怀孕为什么会流褐色分泌物| 颈椎做什么检查| 吃什么补黑色素最快| 上面一个山下面一个今读什么| 王者风范是什么意思| 人的运气跟什么有关| 梦见打仗是什么意思| 为什么蚊子咬了会起包| 双侧腋下见淋巴结什么意思| 慢性胃炎能吃什么水果| asics是什么牌子| 什么面不能吃| 什么是非萎缩性胃炎| 什么竹笋不能吃| 眼睛黄是什么原因| 什么东西补气血效果最好| 梦见自己尿裤子了是什么意思| 露营需要准备什么东西| 一般什么人会有美人尖| 人为什么要日b| 淋巴细胞偏高是什么意思| 梦见孩子哭是什么意思| 缸垫呲了什么症状| 骨质疏松吃什么| ras医学上是什么意思| 最近我和你都有一样的心情什么歌| 小孩子上户口需要什么证件| 雌二醇e2是什么意思| 绿豆和什么食物相克| 狗不能吃什么食物| 居心叵测是什么意思| 百度Jump to content

工信部注销5家企业《跨地区增值电信业务经营..

From Wikipedia, the free encyclopedia
百度 远自明朝天启年间,学者池显方已有吟咏鼓浪屿的诗篇:“连天荡溟渤,小峦揭突兀。

In computing, a page cache, sometimes also called disk cache,[1] is a transparent cache for the pages originating from a secondary storage device such as a hard disk drive (HDD) or a solid-state drive (SSD). The operating system keeps a page cache in otherwise unused portions of the main memory (RAM), resulting in quicker access to the contents of cached pages and overall performance improvements. A page cache is implemented in kernels with the paging memory management, and is mostly transparent to applications.

Usually, all physical memory not directly allocated to applications is used by the operating system for the page cache. Since the memory would otherwise be idle and is easily reclaimed when applications request it, there is generally no associated performance penalty and the operating system might even report such memory as "free" or "available".

When compared to main memory, hard disk drive read/writes are slow and random accesses require expensive disk seeks; as a result, larger amounts of main memory bring performance improvements as more data can be cached in memory.[2] Separate disk caching is provided on the hardware side, by dedicated RAM or NVRAM chips located either in the disk controller (in which case the cache is integrated into a hard disk drive and usually called disk buffer[3]), or in a disk array controller, such memory should not be confused with the page cache. The operating system may also use some of main memory as filesystem write buffer, it may be called page buffer.[4]

Memory conservation

[edit]

Pages in the page cache modified after being brought in are called dirty pages.[5] Since non-dirty pages in the page cache have identical copies in secondary storage (e.g. hard disk drive or solid-state drive), discarding and reusing their space is much quicker than paging out application memory, and is often preferred over flushing the dirty pages into secondary storage and reusing their space. Executable binaries, such as applications and libraries, are also typically accessed through page cache and mapped to individual process spaces using virtual memory (this is done through the mmap system call on Unix-like operating systems). This not only means that the binary files are shared between separate processes, but also that unused parts of binaries will be flushed out of main memory eventually, leading to memory conservation.

Since cached pages can be easily evicted and re-used, some operating systems, notably Windows NT, even report the page cache usage as "available" memory, while the memory is actually allocated to disk pages. This has led to some confusion about the utilization of page cache in Windows.

Disk writes

[edit]

The page cache also aids in writing to a disk. Pages in the main memory that have been modified during writing data to disk are marked as "dirty" and have to be flushed to disk before they can be freed. When a file write occurs, the cached page for the particular block is looked up. If it is already found in the page cache, the write is done to that page in the main memory. If it is not found in the page cache, then, when the write perfectly falls on page size boundaries, the page is not even read from disk, but allocated and immediately marked dirty. Otherwise, the page(s) are fetched from disk and requested modifications are done. A file that is created or opened in the page cache, but not written to, might result in a zero-byte file at a later read.

However, not all cached pages can be written to as program code is often mapped as read-only or copy-on-write; in the latter case, modifications to code will only be visible to the process itself and will not be written to disk.

Side-channel attacks

[edit]

In 2019, security researchers demonstrated side-channel attacks against the page cache: it's possible to bypass privilege separation and exfiltrate data about other processes by systematically monitoring whether some file pages (for example executable or library files) are present in the cache or not.[6]

See also

[edit]

References

[edit]
  1. ^ Robert Love (2025-08-06). "Linux Kernel Development (Second Edition), Chapter 15. The Page Cache and Page Writeback". makelinux.net. Sams Publishing. Archived from the original on March 17, 2013. Retrieved 2025-08-06.
  2. ^ "Disk Cache". Webopedia. September 1996.
  3. ^ Mark Kyrnin. "What to Look for in a Hard Drive". about.com. Archived from the original on 2025-08-06. Retrieved 2025-08-06. A drive's buffer is an amount of RAM on the drive to store frequently accessed data from the drive.
  4. ^ "free(1) — procps — Debian bookworm — Debian Manpages".
  5. ^ "Glossary - TechNet Library". Microsoft. 28 January 2010.
  6. ^ Gruss, Daniel; Kraft, Erik; Tiwari, Trishita; Schwarz, Michael; Trachtenberg, Ari; Hennessey, Jason; Ionescu, Alex; Fogh, Anders (2025-08-06). "Page Cache Attacks". arXiv:1901.01161 [cs.CR].
[edit]
汗臭和狐臭有什么区别怎么辨别 腰果不能和什么一起吃 感觉不到饿是什么原因 蛋白尿是什么原因引起的 佳字属于五行属什么
半夜三更是什么生肖 黑白猫是什么品种 0x00000024蓝屏代码是什么意思 闭经和绝经有什么区别 什么水果含维生素c最多
大便硬是什么原因 根管是什么 一什么不什么的成语 蛇缠腰是什么病 黄精泡水喝有什么功效
躯体是什么意思 肺部感染吃什么药效果好 肚脐眼周围疼是什么原因 屁股长痣代表什么 肝素是什么
孕妇梦见下雨是什么意思hcv8jop8ns9r.cn 六月初九是什么日子hcv8jop7ns5r.cn pg是什么意思hcv8jop4ns8r.cn 靥什么意思hcv9jop7ns5r.cn 硬度不够吃什么好hcv9jop3ns4r.cn
出炉是什么意思hcv8jop2ns2r.cn 里急后重吃什么药最好hcv7jop6ns1r.cn 彩排是什么意思hcv8jop0ns6r.cn 中年危机是什么意思bysq.com 什么水果营养价值最高jingluanji.com
碧根果和核桃有什么区别hcv7jop9ns7r.cn dex是什么药hcv9jop1ns0r.cn 晏字五行属什么hcv8jop4ns8r.cn py什么意思luyiluode.com 歇夏是什么意思hcv9jop7ns4r.cn
上坟可以带什么水果hcv8jop5ns8r.cn 瑶柱是什么hcv9jop6ns1r.cn 紫薇花什么季节开花hcv8jop4ns7r.cn 血常规检查什么项目hcv8jop4ns9r.cn 不免是什么意思1949doufunao.com
百度