操作系统导论

[美] Remzi H. Arpaci-Dusseau

出版时间

2019-05-31

ISBN

9787115508232

评分

★★★★★

标签

编程

书籍介绍
翻开这本书,你会发现操作系统并不是一堆冷冰冰的机制堆砌。作者把现代系统抽象为三个问题:如何假装独占CPU与内存(虚拟化)、如何让多个任务真正
AI导读
核心看点
  • 围绕虚拟化、并发、持久性三大核心概念展开
  • 采用对话式引入,行文幽默,深入浅出
  • 提供真实可运行代码,非伪代码,含练习
读者共识
  • 内容逻辑清晰,比传统教材更易理解
  • 翻译错误较多,排版体验有待提升
  • 入门首选,但深入需结合源码实践
精彩摘录
  • "ASIDE : SOMETIMES LIFE ISN’T PERFECT Even when you design a beautiful system, sometimes all the corner cases don’t work out exactly as you might like. Take the mkdir example above; one could redesign mkdir to have different semantics, thus making it idempotent (think about how you might do so); howe"
  • "因此我们的页的大小为 1KB(256x4字节)"
  • "DESIGN TIP : SEPARATION OF POLICY/MECHANISM In many operating systems, a common design paradigm is to separate high-level policies from their low-level mechanisms. You can think of the mechanism as providing the answer to a how question about a system; for example, how does an operating system perfo"
  • "You may have noticed this book is free and available online. There is one major reason for this: textbooks are generally too expensive. This book, we hope, represents a new wave of free materials to help those in pursuit of their education, regardless of which part of the world they come from or how"
  • "More generally, any policy (such as RR) that is fair, i.e., that evenly divides the CPU among active processes on a small time scale, will perform poorly on metrics such as turnaround time. Indeed, this is an inherent trade-off: if you are willing to be unfair, you can run shorter jobs to completion"
  • "[O11] “John Ousterhout’s Home Page” John Ousterhout Available: http://www.stanford.edu/˜ouster/ The home page of the famous Professor Ousterhout. The two co-authors of this book had the pleasure of taking graduate operating systems from Ousterhout while in graduate school; indeed, this is where the "
  • "DESIGN TIP: IF 1000 SOLUTIONS EXIST, NO GREAT ONE DOES The fact that so many different algorithms exist to try to minimize external fragmentation is indicative of a stronger underlying truth: there is no one “best” way to solve the problem. Thus, we settle for something reasonable and hope it is goo"
  • "DESIGN TIP: RAM ISN’T ALWAYS RAM The term random-access memory, or RAM, implies that you can access any part of RAM just as quickly as another. While it is generally good to think of RAM in this way, you can probably see that because of hardware/OS features such as the TLB, accessing a particular pa"
目录
第1章 关于本书的对话 1
第2章 操作系统介绍 3
2.1 虚拟化CPU 4
2.2 虚拟化内存 6
2.3 并发 7

显示全部
用户评论
蒋炎岩说过三个关键词 :专业化,复杂性,主线意识。知道自己不知道:①程序的执行过程:加载和执行-----计算机组成结构中的指令周期;②异常是操作系统内中断,java语言对其进行面向对象封装;③GUI---键盘鼠标输入和点击--I/O过程---中断和事件机制ctrl--c④库函数和系统调用---操作系统仅仅提供非常少的系统调用----shell的实现;⑤linux命令:strace命令查看相关函数的系统调用,readelf查看elf文件;不知道自己不知道①内存管理页段②线程和进程同步和死锁的条件---操作系统资源管理和相关调度算法
认真看了前两部分虚拟化和并发,持久化简单看了点(不大感兴趣
书是好书。。翻译错误一大堆。
虚拟化、并发、持久化,循序渐进的编排和短小的章节设计阅读感很好,课后习题蛮有意思的。但是中文版只能给3星,原版内容非常好,但是中文版的翻译错误多到影响阅读……
像是一位老师在你面前
翻译还有不少提升空间。
很有意思的书,最让我感到欣慰的是全篇都在讲人话,特别容易理解
调度算法和并发生产者消费者部分可谓循循善诱极其细微入门了; 虚存部分对大部分成为历史分段似乎比较侧重,io部分则谈了很多进阶的关于journal私货; 另,作者们似乎对Linux不太感冒
通过虚拟化这个角度理解操作系统的CPU、内存和存储
虚拟化(CPU/内存)、并发、持久性
下载
收藏
全部深度解读 →主题书单高分榜最近更新