CS162 - Lecture 1: OS basics

  1. Program vs. Process
    Program are things your write
    Process is the instance of the program that is running.
    Software load to Memory, Processor assign register to Memory, Program become executing entity(process)
  2. Context Switch
    Processor change working things rapidly, give you a sense that running multiple things at the same time
  3. Scheduling, Protection
    Scheduling: Which process use processor
    (can be fair share, but when there are lot of process, things will be slow)
    Protection: Prevent cross flow of information
  4. I/O
    Providing a virtual abstraction of the devices to the processes that are running
    (43%-50% 的crash 是由Device Driver 导致的,因为它的开发是由第三方完成,而不是OS writer, quality 不一定好)

TextBook:
https://download.csdn.net/download/qq_39412935/10842898

在这里插入图片描述

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_39412935/article/details/84955854