Chapter 1: Introduction

Slides:



Advertisements
Similar presentations
Information Technology, The Internet, and You
Advertisements

CMSC 421: Principles of Operating Systems Section 0202 Instructor: Dipanjan Chakraborty Office: ITE 374
Chapter 1: Introduction
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
1.2 地理信息技术在区域 地理环境研究中的应用. 地理信息技术: 指获取、管理、分析和 应用地理空间信息的现 代技术的总称。 应用:资源调查、环境监测、自然灾害防御监测、国 土资源管理、国土开规划等。 地理信息 : 遥感 (RS) 、全球定位系统 (GPS) 和地理信息系统 (GIS)
信息科学部 “ 十一五 ” 计划期间 优先资助领域 信息科学部 秦玉文 2006 年 2 月 24 日.
1/16/2008CSCI 315 Operating Systems Design1 Introduction Notice: The slides for this lecture have been largely based on those accompanying the textbook.
1/18/2008CSCI 315 Operating Systems Design1 Computer System Structures Notice: The slides for this lecture have been largely based on those accompanying.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
习题课( 1 ) 进程管理及调度. 复习 进程概念、描述及状态 进程概念、描述及状态 进程的同步与互斥及应用 进程的同步与互斥及应用 管程机制 管程机制 进程通信 进程通信 进程调度算法 进程调度算法 进程死锁 进程死锁 线程 线程.
College of Computer and Information Science Chapter 1 Information Technology, The Internet, and You.
Operating Systems ( 操作系统原理 ) Text book: Text book:  Dinosaur book (恐龙书)  操作系统概念 ( 中译本 ) Teacher: Teacher:  郑扣根( Zheng Kougen )  Prof. Dr. Mr. … 
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
第 1 章 计算机概述 1.1 计算机简介 1.2 计算机的软 / 硬件系统. 1.1 计算机简介 微型计算机又称个人计算机 (PC) ,现在已经得 到了广泛的应用和普及。从外观上看,微型计算机 由主机、显示器、键盘和鼠标组成。
1 5/25/2016 操作系统课件 教材: 《操作系统概念(第六版 影印版)》 【原书名】 Operating System Concepts(Sixth Edition) [ 原书信息 ] Operating System Concepts(Sixth Edition) [ 原书信息 ] 【原出版社】
Thanks to Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction n What is an Operating System? n Mainframe Systems.
Chapter 1. Introduction What is an Operating System? Mainframe Systems
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
1 张惠娟 副教授 实用操作系统概念. 2 内容框架 概述 体系结构 进程管理 内存管理 文件管理 外设管理.
1 Operating System Overview Chapter 2. 2 Operating System  A program that controls the execution of application programs  An interface between applications.
 H.M.BILAL Operating System Concepts.  What is an Operating System?  Mainframe Systems  Desktop Systems  Multiprocessor Systems  Distributed Systems.
المحاضرة الاولى Operating Systems. The general objectives of this decision explain the concepts and the importance of operating systems and development.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
Silberschatz, Galvin and Gagne  Operating System Concepts Lectured by Dr. Lican Huang
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
计算机专业英语. 一、 Vocabulary( 词汇 ) (一) Translate the following words and expressions into Chinese 。 ( 写出下列词组的汉语。) 1.central processing unit ( CPU ) 2.title.
Operating System. Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
1.1 Sandeep TayalCSE Department MAIT 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Multiprocessor Systems Distributed.
1 文件的查找. 2 回收站的管理 3 磁盘管理 格式化软盘 复制文件到软盘 整理磁盘碎片 4 格式化软盘.
计算机应用基础课件 考试形式:平时成绩( 40% ) + 期末考试成绩 ( 60% ) 考试内容:指法练习( 10 分) windows 操作( 10 分) word2003 操作( 25 分) excel2003 操作( 15 分) powerpoint 操作( 10 分) 上网及发送电子邮件( 10.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
上机任务 认真查看课件内容,理解: ① ① I/O 接口的含义 ② ② I/O 端口与编址 上网查阅资料,至少找一篇 “I/O 接口 ” 有关的技术 资料(比如显卡、或声卡、网卡、磁盘控制器等 ) 的工作原理)并仔细阅读,扩展知识面。
SME.USTB Human Factors 人机工程学 By Wei Dong Department of Industry Design, SME, USTB.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
Introduction to Operating Systems Concepts
Applied Operating System Concepts
Chapter 1: Introduction
Chapter 1: Introduction
Introduction to Basic OS Concepts
Operating Systems Lecture 2.
Chapter 1: Introduction
云计算入门 Introduction to Cloud Computing GESC1001
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
חוברת שקפים להרצאות של ד"ר יאיר ויסמן מבוססת על אתר האינטרנט:
Operating System Concepts
Chapter 1: Introduction
Operating Systems Lecture 2.
云计算入门 Introduction to Cloud Computing GESC1001
Introduction to Operating Systems
Language Processors Application Domain – ideas concerning the behavior of a software. Execution Domain – Ideas implemented in Computer System. Semantic.
Introduction to Operating Systems
Subject Name: Operating System Concepts Subject Number:
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Operating System Concepts
Chapter 1: Introduction
Presentation transcript:

Chapter 1: Introduction Operating Systems: What and Why?

What is Operating Systems? The concept of operating system is pretty straightforward: A piece of software that manages a computer, making computer’s hardware resources accessible to software through a consistent set of interfaces. An OS is usually designed for Abstracting away the hardware Providing a consistent set of interfaces Creating over entire ecosystems

What is Operating Systems? Some Concepts with Operating Systems Mac、Linux、Windows、Android、iOS 虚拟化 内存、cpu、设备、网络 分布式对象 分布式内存/文件 规模计算 Mapreduce 数据中心 实时和多媒体

Why Study Operating Systems? Run the computer in an efficient manner How a program is structured so that an operating system can run. A big picture of how each layer of a computer is related to the other, from hardware to software. …... How to write an operating system from scratch by reading hardware datasheets. In the real world, it works like that. You won’t be able to consult Google for a quick answer. A big picture of how each layer of a computer is related to the other, from hardware to software. Write code independently. It’s pointless to copy and paste code. Real learning happens when you solve problems on your own. Some examples are given to kick start, but most problems are yours to conquer. However, the solutions are available online for you to examine after giving a good try. Linux as a development environment and how to use common tools for low-level programming. Understand x86 assembly in-depth. How a program is structured so that an operating system can run. How to debug a program running directly on hardware with gdb and QEMU. Linking and loading on bare metal x86_64, with pure C. No standard library. No runtime overhead. 授人以鱼,不如授人以渔

Increasing Software Complexity From MIT’s 6.033 course

Functionality comes with great complexity! Pentium IV Chipset Proc Caches Busses Memory I/O Devices: Controllers adapters Disks Displays Keyboards Networks

Sample of Computer Architecture Topics Input/Output and Storage Disks, WORM, Tape RAID Emerging Technologies Interleaving Bus protocols DRAM Coherence, Bandwidth, Latency Memory Hierarchy L2 Cache Network Communication Other Processors L1 Cache Addressing, Protection, Exception Handling VLSI Instruction Set Architecture Pipelining, Hazard Resolution, Superscalar, Reordering, Prediction, Speculation, Vector, Dynamic Compilation Pipelining and Instruction Level Parallelism

Operating Systems 中央处理机(CPU) 内存 I/O设备(键盘、显示器、鼠标) 外部设备(打印机、扫描仪、MODEM 等) 外存设备(硬盘、软盘、光盘、磁带等)

What if we didn’t have an Operating System? 人工操作 用户独占全机 CPU等待人工操作 脱机输入/输出

What if only one application? MS-DOS

What if only one application? 单道批处理系统 自动性 顺序性 单道性 资源(cpu,内存,I/O设备)利用率? 系统吞吐量?

More complex OS: Multiple Apps Multi-programming (多道程序) Problem: Run multiple applications in such a way that they are protected from one another Goal: Keep User Programs from Crashing OS Keep User Programs from Crashing each other [Keep Parts of OS from crashing other parts?] (Some of the required) Mechanisms: Address Translation Dual Mode Operation Simple Policy: Programs are not allowed to read/write memory of other Programs or of Operating System

Multi-programming (多道程序) 多道性 无序性 调度性 平均周转时间? 交互能力? 处理机/内存/I/O设备/文件/…管理?

Time-Sharing Systems–Interactive Computing The CPU is multiplexed among several jobs that are kept in memory and on disk (the CPU is allocated to a job only if the job is in memory) A job swapped in and out of memory to the disk On-line communication between the user and the system is provided When the operating system finishes the execution of one command, it seeks the next “control statement” from the user’s keyboard 多路性 独立性 及时性 交互性

Real-Time Systems Often used as a control device in a dedicated application such as controlling scientific experiments, medical imaging systems, industrial control systems, and some display systems Well-defined fixed-time constraints Real-Time systems may be either hard or soft real-time 实时控制 实时信息处理 可靠性

Real-Time Systems (Cont.) Hard real-time: Secondary storage limited or absent, data stored in short term memory, or read-only memory (ROM) Conflicts with time-sharing systems, not supported by general-purpose operating systems Soft real-time Limited utility in industrial control of robotics Integrate-able with time-share systems Useful in applications (multimedia, virtual reality) requiring tight response times

Handheld Systems Personal Digital Assistants (PDAs) Cellular telephones Issues: Limited memory Slow processors Small display screens

Migration of Operating-System Concepts and Features

OS Characteristics 并发(Concurrence) 共享(Sharing) 虚拟(Virtual) 异步(Asynchronism)

Why Study Operating Systems? Learn how to build complex systems: How can you manage complexity for future projects? Engineering issues: Why is the web so slow sometimes? Can you fix it? What features should be in the next mars Rover? How do large distributed systems work? (Kazaa, etc)

Why Study Operating Systems? Buying and using a personal computer: Why different PCs with same CPU behave differently How to choose a processor (Opteron, Itanium, Celeron, Pentium, Hexium)? [ Ok, made last one up ] Should you get Windows XP, 2000, Linux, Mac OS …? Why does Microsoft have such a bad name? Business issues: Should your division buy thin-clients vs PC? Security, viruses, and worms What exposure do you have to worry about?