123
返回列表 发新帖
楼主: yclu
跳转到指定楼层
上一主题 下一主题
收起左侧

Udacity/ud923/Intro to Operating System

🔗
 楼主| yclu 2019-2-6 17:13:54 | 只看该作者
全局:
L15 / IO Management

* OS support for I/O devices
    - Basic devices features
        - control registers: command, data transfers, and status
        - micro-controller: cpu
        - on device memory
        - other logic: A/D converters
    - devices are connected through peripheral component interconnect(PCI)
    - access device register is equal to memory load/store
    - There are two paths a device can use to reach CPU
        - Interrupt
            - pros: can be generated as soon as possible
            - cons: interrupt handling steps
        - Polling
            - pros: it's convenient for OS
            - cons: delay or CPU overhead
        - Typical device access: a user process -> kernel -> driver -> device
    - virtual file system can solve the following three challenges
        - files are on more than one device
        - devices work better with other file systems implementations
        - files are not on a local device
    - virtual file system abstractions on linux
        - file: an element on which the VFS operate
        - file descriptor: OS representation of a file
        - inode: persistent representation of a file, "index"
        - dentry: directory entry
        - superblock: file system specific information regarding the layout
回复

使用道具 举报

🔗
ilove6169 2019-2-6 18:25:51 | 只看该作者
全局:
wowmomsos 发表于 2019-2-6 01:08
同学我看了一下,xuetangx上的os课有好几门,您说的是哪门呢?

就是“操作系统(自主模式)”,是清华的老师教的,要学的话可以一块儿交流呀,我过了年还想吧里面的lab好好做一做
回复

使用道具 举报

🔗
 楼主| yclu 2019-2-7 00:04:53 | 只看该作者
全局:
L16 / System Virtualization
  • benefits of virtualization
    • consolidation: decrease cost, improve manageability

    • migration: availability, reliability

    • security

    • debugging

    • support for legacy OS



  • two main models of VM
    • Bare-metal/Hypervisor-based(type 1): virtual machine monitor(VMM), which is called hypervisor, manages all hardware resources and supports execution of VM

    • Hosted(type 2): host OS owns all the hardware



  • virtualization requirements
    • present virtual platform interfaces to VMs

    • provide isolation across VMs

    • protect guest os from apps

    • protect VMM from guest OS



  • main technical approaches in popular virtualization solutions
    • hardware protection levels, such as x86 has 4 levels

    • processor virtualization

    • binary translation

    • paravirtualization

    • memory virtualization

    • device virtualization





回复

使用道具 举报

🔗
wowmomsos 2019-2-7 00:28:04 | 只看该作者
全局:
ilove6169 发表于 2019-2-6 18:25
就是“操作系统(自主模式)”,是清华的老师教的,要学的话可以一块儿交流呀,我过了年还想吧里面的lab ...

我看了下,好像只有清华校内能访问联系资料。
可惜不是我能访问到的。
回复

使用道具 举报

🔗
 楼主| yclu 2019-2-7 22:49:57 | 只看该作者
全局:
L20 / Datacenter Technologies
  • multi-tier architectures for internet services
    • homogeneous architecture: each node can do any processing step, so that it keeps the front-end simple

    • heterogeneous architecture: different nodes/tasks/requests/data don't uniformly be accessed



  • cloud computing benefits
    • capacity scales elastically with demand

    • scaling in instantaneous, both up and down

    • cost is proportional to demand to revenue opportunity



  • separation of responsibilities
    • infrastructure as a service: Amazon EC2

    • platform as a service: Google App Engine

    • software as a service: gmail





回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表