What is an Operating System?
 
1. Referee
  – Manage sharing of resources, Protection, Isolation
  » Resource allocation, isolation, communication
2. Illusionist
  – Provide clean, easy to use abstractions of physical resources
    » Infinite memory, dedicated machine
    » Higher level objects: files, users, messages
  » Masking limitations, virtualization
3. Glue
  – Common services
    » Storage, Window system, Networking
    » Sharing, Authorization
    »Look and feel

Four fundamental OS concepts

1. Thread
  – Single unique execution context
  – Program Counter, Registers, Execution Flags, Stack
2. Address Space w/ Translation
  – Programs execute in an address space that is distinct from the memory space of the physical machine
3. Process
  – An instance of an executing program is a process consisting of an address space and one or more threads of control
4. Dual Mode operation/Protection
  – Only the “system” has the ability to access certain resources
  – The OS and the hardware are protected from user programs and user programs are isolated from one another by controlling the translation from program virtual addresses to machine physical addresses

ps: difference between threads 与 processes

  - process encapsulate one or more threads sharing process resources
  - Processes provides memory protection, threads more efficient than processes 

Some other BIG OS Concepts

  • Interrupt handlers (including syscall and trap)

   • File System

    – Integrates processes, users, cwd, protection

  • Key Layers: OS Lib, Syscall, Subsystem, Driver
    – User handler on OS descriptors
  • Process control
    – fork, wait, signal, exec
  • Communication through sockets
  • Client-Server Protocol

转载于:https://www.cnblogs.com/whuyt/p/4864075.html

Lecture 2 Introduction相关推荐

  1. (To Learn More) ML Lecture 0-1: Introduction of Machine Learning

    ML Lecture 0-1: Introduction of Machine Learning 视频链接:https://www.youtube.com/watch?v=CXgbekl66jc \q ...

  2. Lecture 1:Introduction to Systems Analysis and Design

    Lecture 1 PartA1: Introduction to Systems Analysis and Design 重点: PartA1: information technology inf ...

  3. cs224 -Lecture 1:Introduction and Word Vectors

    1.课程介绍 了解有效的现代深度学习方法: - 首先回顾一些基础知识,然后介绍NLP中的关键方法:递归网络,注意力机制等: 了解人类语言的全貌,以及理解和产生语言的困难: 理解并有能力为NLP中的主要 ...

  4. [1天搞懂深度学习] 读书笔记 lecture I:Introduction of deep learning

    - 通常机器学习,目的是,找到一个函数,针对任何输入:语音,图片,文字,都能够自动输出正确的结果. - 而我们可以弄一个函数集合,这个集合针对同一个猫的图片的输入,可能有多种输出,比如猫,狗,猴子等, ...

  5. Lecture 002-LP introduction

    Outline •LP preliminaries •LP history •LP algorithms •LPstandard form ------------------------------ ...

  6. CS269I:Incentives in Computer Science 学习笔记 Lecture 13:Introduction to Auctions(拍卖简介)

    Lecture 13 Introduction to Auctions(拍卖简介) 1 Preamble(前言) 为什么计算机科学家要关心拍卖?直到最近(甚至可能仍然),提到拍卖,我们脑海中联想到的图 ...

  7. [深度学习基础] 斯坦福CS231n李飞飞计算机视觉Lecture 1笔记

    前言:目前做深度学习也有一段时间了,系统的知识也学了很多,但是大多数都是自己在网上所获得的零散的知识,最近看了李飞飞的斯坦福网上公开课,觉得可以好好的巩固一下基础,对每个Lecture做一下笔记,De ...

  8. MIT 6.824 l01 Introduction

    6.824 2020 Lecture 1: Introduction 6.824: Distributed Systems Engineering What is a distributed syst ...

  9. 『UC Berkeley CS267』Lesson1: Introduction and Overview

    Lecture1 视频链接:CS267 (Sp22) - Lecture 1: Introduction and Overview - YouTube 不会完全记录课程内容,具体内容可以看知乎文章:U ...

最新文章

  1. c++ 测试串口速率_Raspberry Pi Zero W:串口(UART)的配置和使用
  2. 常微分方程I ODE的例子1 弹簧的振动、RLC电路与单摆
  3. 子组件获取父组件的值,将这个值作为状态值保存
  4. linux内核杂记(15)-系统调用(2)
  5. 分类变量如何设置变量值的显示顺序
  6. ubuntu15.10下code::blocks设置运行窗口为gnome命令行
  7. [HNOI2016]网络(树链剖分+线段树+大根堆)
  8. JAVA实现一个图片上传预览功能
  9. 互联网晚报 | 9月20日 星期一 | 阿里淘菜菜新增“找好友微信代付”入口;百度进军货运赛道;北京环球度假区今起正式开放...
  10. leetcode - 55. 跳跃游戏
  11. 带你读Paper丨分析ViT尚存问题和相对应的解决方案
  12. proxytable代理不生效_深圳劳动纠纷律师为你解答劳动合同没有盖章是否生效
  13. 凸优化有关的数值线性代数知识二:求解已经因式分解的矩阵的线性方程组
  14. VS2015/VS2017必须在WINDOWS10上安装
  15. Windows下telnet工具使用
  16. 以下哪些属于计算机应用领域,以下哪些计算机的应用领域?()
  17. 网络用语html,最新网络用语
  18. 通过大数据来卸载清理电脑垃圾的软件,到底有多牛?Revo Uninstaller Pro 中文官方网站正版特惠
  19. 从阿里外包到年薪40W+的高级测试工程师,我的2年转行经历...
  20. Oracle什么情况使用omf,从参数取值看Oracle OMF特性

热门文章

  1. 一个很简单的淡入淡出相册 (转)
  2. hs300 quant
  3. if you are alone with your mac connected to Internet
  4. Question for recommendation system, which is a baseline
  5. 最终在学校的职业发展目标
  6. 2021的第一个offer来自mbzuai
  7. SaaS新模式:业务、财务与支付无缝对接
  8. 加工费采购订单批准后禁止更改订单数量
  9. 解决外部工具链接CRM失败的问题
  10. nyoj 174 Max Sequence(最大子串和变形)