chapter 9

作者: Wilbur_ | 来源:发表于2021-07-20 08:34 被阅读0次

什么是 write-back vs write-through (需要回去看第6章)

The data on disk is partitioned into blocks that serve as the transfer units between the disk and the main memory. Virtual memory systems handle this by partitioning the virtual memory into fixed-size blocks called virtual pages(VPs). Physical memory is partitioned into physical pages also P bytes in size.

所以pages就是对应disk上面的partition, 是transfer units between disk and main memory

These capabilities are provided by a combination of operating system software, address translation hardware in the MMU (memory management unit), and a data structure stored in physical memory known as a page table that maps virtual pages to physical pages. The address translation hardware

In virtual memory parlance, a DRAM cache miss is known as a page fault.

真的要首先理解各种名词……不然看起来感觉很高深,实际上只是个定义

Figure 9.6 shows the state of our example page table before the fault.

The CPU has referenced a word in VP 3, which is not cached in DRAM. The address translation hardware reads PTE 3 from memory, infers from the valid bit that VP 3 is not cached, and triggers a page fault exception. The page fault exception invokes a page fault exception handler in the kernel, which selects a victim page

这里exception就是第八章讲到的exception,是计算机实现进程切换的底层原理。让program counter 转移到另一个位置的实现方法

image.png

相关文章

  • Week 1 Note

    Words and Expressions (Chapter1-9) Chapter 1&2 (The Trans...

  • Chapter 9

    Mrs. Wilson说自己嫁给Mr. Wilson只是因为以为他是个绅士,但刚结婚她就意识到自己错了;她还讲述了...

  • Chapter——9

    路上风很大 行人匆匆 神色几许 我不知道他们的故事 奔波的理由 就像我 低着头赶路 偶尔抬头 被风迷了眼

  • chapter 9

    1. 内容## 本章讲了一些代码调优的技巧 1.1 一些调优方法### 整数取模(取模运算时间大于加减法执行时间)...

  • Chapter 9

    这一部分在Oceania was at war with Eastasia中展开! ally vt.1[ally ...

  • chapter 9

    陆薇和夏一诺收拾好下楼的时候大厅里已经有好多人在那了吃早饭了。陆薇望了一眼外面已经不下雨了,可能因为年代久远的关系...

  • Chapter 9

    爱自己 非暴力沟通最重要的应用也许在于-爱护自己。如何培养对自己的爱呢?转变自我评价的方式是一个重要方式。如果自我...

  • Chapter 9

    Employ 使忙碌 Entreaty 乞求 恳求 mix more in 更多融入 showery 阵雨的 so...

  • Chapter 9

    第一幕 人物 湘琴 直树 子瑜 皓谦 事件 牵手逃跑 皓谦想演一出英雄救美人,结果认错人,被人打。慌忙之...

  • Chapter 9

    Chapter 9: On-policy Prediction with Approximation From t...

网友评论

      本文标题:chapter 9

      本文链接:https://www.haomeiwen.com/subject/iwzwpltx.html