Skip to content

Instantly share code, notes, and snippets.

@Xilesun
Last active February 3, 2018 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Xilesun/74879dd5e34ecc220a2fde69c9491920 to your computer and use it in GitHub Desktop.
Save Xilesun/74879dd5e34ecc220a2fde69c9491920 to your computer and use it in GitHub Desktop.
操作系统笔记
  • Computer system

    • hardware
      • CPU
      • memory
      • I/O devices
    • operating system
    • application programs
    • users
  • Computer system

    • hardware
    • software
    • data
  • bootstrap program (in ROM or EEPROM): load the os and start executing it.

  • main memory (RAM)

    • too small to store data permanently
    • lose its contents when power is turned off
  • secondary store: magnetic disks and so on

  • I/O: os -> devices driver -> device controller -> device

  • A modern computer system (interrupt driven):

A modern computer system (interrupt driven)

  • multiprocessing systems

    • asymmetric (master - slave), SunOS v4
    • symmetric (SMP, peers), Solaris, Win, MacOS, Linux
  • 多核CPU VS. 多个CPU

  • System kinds

    • multiprogrammed system
    • Time shared (multitasked) system
    • interactive (hands-on) computer system
  • process: A program loaded into memory and executing

  • mainframe 大型机
  • interrupt mechannism 中断机制
  • register 寄存器
  • von Neumann architecture 冯诺伊曼体系
  • graceful degradation 优雅降级
  • fault tolerant 程序容错
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment