First lecture.  Lecture note  ELearning web site :  Abraham Silberschatz, Peter B. Galvin, Greg Gagne, “Operating.

Slides:



Advertisements
Similar presentations
Interactive lesson about operating system
Advertisements

Operating System Structures
SLC/Ver1.0/OS CONCEPTS/Oct'991INTRODUCTION What is an Operating System? Operating Structure -System Components -OS Services -System Calls & Programs -System.
3.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 3: Operating-System Structures System Components Operating System.
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 3: Operating-System Structures System Components Operating System Services.
2: OS Structures 1 Jerry Breecher OPERATING SYSTEMS STRUCTURES.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Common System Components
Os31 Chapter 3 Operating-System Structures. os32 Outlines System Components Operating System Services System Calls System Programs System Structure Virtual.
Chapter 1: Introduction
Lecture 1: Introduction CS170 Spring 2015 Chapter 1, the text book. T. Yang.
Silberschatz, Galvin and Gagne  Operating System Concepts Common System Components Process Management Main Memory Management File Management.
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
1/16/2008CSCI 315 Operating Systems Design1 Introduction Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
What do operating systems do? manage processes manage memory and computer resources provide security features execute user programs make solving user.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts What is an Operating System? A program that acts as an intermediary.
Abhinav Kamra Computer Science, Columbia University 3.1 Operating System Concepts Silberschatz, Galvin and Gagne  2002 Chapter 3: Operating-System Structures.
Introduction by Dr. Amin Danial Asham. References Operating System Concepts ABRAHAM SILBERSCHATZ, PETER BAER GALVIN, and GREG GAGNE.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 1: Introduction.
Lecture By : Rupinder Kaur Lect. IT SRS Govt. Polytechnic college Ludhiana Topic : Overview of Operating System.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz, Galvin and Gagne  Applied Operating System Concepts Chapter 3: Operating-System Structures System Components OS Services System.
CHAPTER 2 OPERATING SYSTEM OVERVIEW 1. Operating System Operating System Definition A program that controls the execution of application programs and.
OPERATING SYSTEM OVERVIEW. Contents Basic hardware elements.
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.
Four Components of a Computer System. Computer System Components Users (people, machines, other computers) Applications programs – define the ways in.
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
UNIX and Shell Programming (06CS36)
CS 1308 Computer Literacy and the Internet. Introduction  Von Neumann computer  “Naked machine”  Hardware without any helpful user-oriented features.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz and Galvin  Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services System Calls.
OPERATING SYSTEMS UNIT – I R.SOUJANYA IT Dept. UNIT I Computer System and Operating System Overview Chapter 1: IntroductionIntroduction Overview of Computer.
3.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 3: Operating-System Structures System Components Operating System.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
3.1 Operating System Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
OS, , Part I Operating - System Structures Department of Computer Engineering, PSUWannarat Suntiamorntut.
1 CSE Department MAITSandeep Tayal Operating-System Structures System Components Operating System Services System Calls System Programs System Structure.
Operating System Principles And Multitasking
UNIX and Shell Programming
Distributed System Services Fall 2008 Siva Josyula
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 3 Operating-System Structures Slide 1 Chapter 3 Operating-System Structures.
Chapter 1. Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 12, 2005 Introduction Introduction What.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
Introduction to Operating System. 1.1 What is Operating System? An operating system is a program that manages the computer hardware. It also provides.
 PROCESS MANAGEMENT  A process is a program in execution: (A program is passive, a process active.)  A process has resources (CPU time, files) and.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
Operating System (Reference : OS[Silberschatz] + Norton 6e book slides)
First lecture.  Lecture note  ELearning web site :  Abraham Silberschatz, Peter B. Galvin, Greg Gagne, “Operating System.
Cs506 First lecture. Materials Lecture note ELearning web site : Main text book : “Operating System Concepts”, 8 th edition,Auther:
System Components Operating System Services System Calls.
Operating System Structure Lecture: - Operating System Concepts Lecturer: - Pooja Sharma Computer Science Department, Punjabi University, Patiala.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edit9on Chapter 1: Introduction.
OPERATING SYSTEMS STRUCTURES Jerry Breecher 2: Operating System Structures 1.
Module 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
Introduction to Operating Systems Concepts
Module 3: Operating-System Structures
Operating System Structure
Cs506 First lecture.
Chapter 3: Operating-System Structures
Chapter 2: Operating-System Structures
Introduction to Operating Systems
Chapter 2: Operating-System Structures
Presentation transcript:

First lecture

 Lecture note  ELearning web site :  Abraham Silberschatz, Peter B. Galvin, Greg Gagne, “Operating System Concepts”, 8th edition Paperback, 2010  Vijay Shukla “ operating systems”, S K Kataria & Sons, third edition 2011

 Mid term 20%  Lab or assignments 10%  Final exam 70%   Total 100%

 The 1960’s definition of an operating system is “the software that controls the hardware”.  An operating system is the set of programs that controls a computer.  Some examples of:  operating systems are UNIX, Mach, MS-DOS, MS- Windows, Windows/NT, Chicago, OS/2, MacOS, VMS, MVS, and VM.

 Computer system can be divided into four components  Hardware – provides basic computing resources  CPU, memory, I/O devices  Operating system  Controls and coordinates use of hardware among various applications and users  Application programs – define the ways in which the system resources are used to solve the computing problems of the users  Word processors, compilers, web browsers, database systems, video games  Users  People, machines, other computers

The operating system comprises a set of software packages that can be used to manage interactions with the hardware.  Kernel  Shell

 The kernel:  Portion of operating system that is in main memory  which represents the operating system's basic functions such as management of memory, processes, files, main inputs/outputs and communication functionalities.

 The shell:  allowing communication with the operating system via a control language, letting the user control the peripherals without knowing the characteristics of the hardware used, management of physical addresses, etc.

 To hide details of hardware by creating abstraction  To allocate resources to processes (Manage resources)  Provide a pleasant and effective user interface

 Even though, not all systems have the same structure many modern operating systems share the same goal of supporting the following types of system components

 Process Management  Main-Memory Management  File Management  I/o Management  Secondary-Storage Management  Networking  Protection System

1- Process Management  a process is program in execution The five major activities of an operating system in regard to process management are:  Creation and deletion of user and system processes.  Suspension and resumption of processes.  A mechanism for process synchronization.  A mechanism for process communication.  A mechanism for deadlock handling.

2- Main-Memory Management  Main-Memory is a large array of words or bytes The major activities of an operating in regard to memory-management are:  Keep track of which part of memory are currently being used and by whom.  Decide which process are loaded into memory when memory space becomes available.  Allocate and de-allocate memory space as needed.

3- File Management  A file is a collected of related information defined by its creator. Computer can store files on the disk (secondary storage) The five main major activities of an operating system in regard to file management are 1. The creation and deletion of files. 2. The creation and deletion of directions. 3. The support of primitives for manipulating files and directions. 4. The mapping of files onto secondary storage. 5. The back up of files on stable storage media

4- I/O System Management  I/O subsystem hides the peculiarities of specific hardware devices from the user.

5- Secondary-Storage Management Secondary storage consists of tapes, disks, and other media. The three major activities of an operating system in regard to secondary storage management are: 1. Managing the free space available on the secondary-storage device. 2. Allocation of storage space when new files have to be written. 3. Scheduling the requests for memory access.

6- Networking  A distributed systems is a collection of processors that do not share memory, peripheral devices, or a clock.  The processors communicate with one another through communication lines called network.  The communication-network design must consider routing and connection strategies, and the problems of contention and security.

7- Protection System Protection refers to mechanism for controlling the access of programs, processes, or users to the resources defined by a computer system

8- Command Interpreter System  is an interface of the operating system with the user  The main function of a command interpreter is to get and execute the next user specified command

 Program Execution  allow the user to execute programs  I/O Operations  operating systems by providing I/O makes it convenient for the users to run programs  File System Manipulation  The output of a program may need to be written into new files or input taken from some files.

 Communications  It may be between processes running on the same computer or running on the different computers.  Error Detection  Error is one part of the system may cause malfunctioning of the complete system.

 A general-purpose computer system consists of a CPU and a number of device controllers that are connected through a common bus that provides access to the shared memory.

 Device controller for every device: Each device controller is in charge of a specific type ofdevice. Depending on the controller more than one evice may be attached.  Device driver in O.S. for every device for interface. It loads the appropriate registers within the device controller.

The Controller is a piece of hardware that lets the computer's motherboard communicate with device The driver is a piece of software that tells the operating system how to communicate with a specific bit computer hardware.

 For a computer to start running—for instance, when it is powered up or rebooted—it needs to have an initial program to run.

Power on self test(POST) Bios Sector Boot Sector Configuration Files Loading

 POST : in this step the computer checks itself to see if the basic devices(keyboard, mouse, video etc..) are connected with the processor. It sends predefined signals to these devices and expects pre-defined responses back from these devices.  BIOS : (basic input output system): part of ROM and perform checking the memory system.

 Boot Sector Reading : BIOS reads the disk sector where files are needed to start the operating system. The area of the disk where there files are located is called Boot Sector.  Once these files are loaded, few more configuration files are also required which contains what to do upon the start of computer

 Bootstrap : is a technique by which a simple computer program activates a more complicated system of programs.

 bootstrap program is loaded at power-up or reboot  Typically stored in ROM or EPROM, generally known as firmware  Initializes all aspects of system  Loads operating system kernel and starts execution

 Real-Time Embedded Systems  General-purpose computers, running standard operating systems—such as UNIX—  Special-purpose applications are hardware devices with a special-purpose embedded operating system providing just the functionality desired  A real-time system is used when rigid time requirements have been placed on the operation of a processor or the flow of data  control devices in a dedicated application or Sensors bring data to the computer.  A real-time system functions correctly only if it returns the correct result  within its time constraints

 Multimedia Systems  operating systems are designed to handle conventional data such as text files.  Multimedia data consist of audio and video files as well as conventional files.  Multimedia application often includes a combination of both

 Handheld Systems  Handheld systems include personal digital assistants (PDAs), such as Palm and Pocket- PCs, and cellular telephones.  many of which use special-purpose embedded operating systems.

 Open-Source Operating Systems  Open-source operating systems are those made available in source-code format rather than as compiled binary code.  Linux is the most famous open- source operating system, while Microsoft Windows is a well-known example of the opposite closed source approach  benefits to open-source operating systems, including a community of interested (and usually unpaid) programmers who contribute to the code by helping to debug it, analyze it, provide support, and suggest changes.  more secure than closed-source code