Skip to content

Commit

Permalink
Deployed de02643 with MkDocs version: 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
IsshikiHugh committed Jan 9, 2024
1 parent d8f5619 commit bf9a99d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions cour_note/D3QD_OperatingSystem/Unit1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@
<article class="md-content__inner md-typeset">
<h1 id="unit-1-进程管理--process-management">Unit 1: 进程管理 | Process Management<a class="headerlink" href="#unit-1-进程管理--process-management" title="Permanent link"></a></h1>
<div style="margin-top: -30px; font-size: 0.75em; opacity: 0.7;">
<p><span class="twemoji"><svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10h-2a8 8 0 0 1-8 8 8 8 0 0 1-8-8 8 8 0 0 1 8-8V2m6.78 1a.69.69 0 0 0-.48.2l-1.22 1.21 2.5 2.5L20.8 5.7c.26-.26.26-.7 0-.95L19.25 3.2c-.13-.13-.3-.2-.47-.2m-2.41 2.12L9 12.5V15h2.5l7.37-7.38-2.5-2.5Z"></path></svg></span> 约 7267 个字 <span class="twemoji"><svg viewbox="0 0 640 512" xmlns="http://www.w3.org/2000/svg"><!--! Font Awesome Free 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc.--><path d="M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3l89.3 89.4-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"></path></svg></span> 60 行代码 <span class="twemoji"><svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 20c4.42 0 8-3.58 8-8s-3.58-8-8-8-8 3.58-8 8 3.58 8 8 8m0-18c5.5 0 10 4.5 10 10s-4.5 10-10 10C6.47 22 2 17.5 2 12S6.5 2 12 2m.5 11H11V7h1.5v4.26l3.7-2.13.75 1.3L12.5 13Z"></path></svg></span> 预计阅读时间 37 分钟</p>
<p><span class="twemoji"><svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10h-2a8 8 0 0 1-8 8 8 8 0 0 1-8-8 8 8 0 0 1 8-8V2m6.78 1a.69.69 0 0 0-.48.2l-1.22 1.21 2.5 2.5L20.8 5.7c.26-.26.26-.7 0-.95L19.25 3.2c-.13-.13-.3-.2-.47-.2m-2.41 2.12L9 12.5V15h2.5l7.37-7.38-2.5-2.5Z"></path></svg></span> 约 7283 个字 <span class="twemoji"><svg viewbox="0 0 640 512" xmlns="http://www.w3.org/2000/svg"><!--! Font Awesome Free 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc.--><path d="M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3l89.3 89.4-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"></path></svg></span> 60 行代码 <span class="twemoji"><svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 20c4.42 0 8-3.58 8-8s-3.58-8-8-8-8 3.58-8 8 3.58 8 8 8m0-18c5.5 0 10 4.5 10 10s-4.5 10-10 10C6.47 22 2 17.5 2 12S6.5 2 12 2m.5 11H11V7h1.5v4.26l3.7-2.13.75 1.3L12.5 13Z"></path></svg></span> 预计阅读时间 37 分钟</p>
</div>
<h2 id="进程">进程<a class="headerlink" href="#进程" title="Permanent link"></a></h2>
<p>一段本质上程序是静态的、存储在硬盘上的指令数据,而当它附带运行程序所需要的必要信息进入内存,得到相关资源后,它成为一个动态的、与计算机资源互动的实体,这个实体就是<strong>进程(process)</strong></p>
Expand Down Expand Up @@ -1763,7 +1763,7 @@ <h4 id="算法--shortest-job-first-sjf--shortest-remaining-time-first-srtf">算
</input></input></div>
</details>
<h4 id="算法--round-robin-rr">算法 | Round-Robin (RR)<a class="headerlink" href="#算法--round-robin-rr" title="Permanent link"></a></h4>
<p>RR 调度就是使用<a href="./Unit0.md/time-sharing">分时技术</a>后的 FCFS 调度,因此它也是<strong>非抢占式</strong>的。每一个进程最多连续执行一个时间片的长度,完成后被插入到 FIFO ready queue 的末尾,并取出 FIFO ready queue 的队首进行执行。</p>
<p>RR 调度是使用<a href="./Unit0.md/time-sharing">分时技术</a>的调度算法。由于时间片到期后,操作系统会强制停止进程,因此它是<strong>抢占式</strong>的。每一个进程最多连续执行一个时间片的长度,完成后被插入到 FIFO ready queue 的末尾,并取出 FIFO ready queue 的队首进行执行。</p>
<p>我们之前提到<a href="./Unit0.md/time-sharing">分时</a>的时候也说过,分时技术通过优化响应时间解决了用户交互问题,RR 调度虽然相比 SJF 有了更长的等待时间,但是有了更短的响应时间,而实际直接影响用户交互问题的应该是响应时间。</p>
<p>一个需要注意的是,RR 调度有一个“超参数”,即时间片的长度。理论上,时间片约短,响应时间越短;但更短的时间片将带来更频繁的进程切换,从而带来更多的 dispatch latency。</p>
<h4 id="算法--priority-scheduling">算法 | Priority Scheduling<a class="headerlink" href="#算法--priority-scheduling" title="Permanent link"></a></h4>
Expand Down Expand Up @@ -1851,7 +1851,7 @@ <h3 id="多线程模型">多线程模型<a class="headerlink" href="#多线程
<small>

最后更新:
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">2024年1月9日 18:24:34</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">2024年1月9日 20:37:31</span>
<br/>
创建日期:
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-datetime">2023年10月5日 18:01:43</span>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ <h1 id="欢迎">欢迎!<a class="headerlink" href="#欢迎" title="Permanent l
<div class="admonition info">
<p class="admonition-title">站点统计</p>
<p><center>
本站目前共 96 页,累计 230333 字!
本站目前共 96 页,累计 230349 字!
</center></p>
</div>
</article>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit bf9a99d

Please sign in to comment.