操作系统

陈海波, 夏虞斌 等

出版时间

2023-02-01

ISBN

9787111722489

评分

★★★★★
书籍介绍
这本书最打动人的地方,是它把操作系统从一堆冷冰冰的机制里解放了出来。作者以虚拟化、并发、持久性三条主线重新组织内容,从进程引出虚拟内存再到线程,逻辑顺序比多数教材更顺。它不满足于告诉你系统
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"
下载
收藏