Operating Systems. Operating systems  Most important program that runs on a computer  Every general-purpose (such as desktop) computer must have OS.

Slides:



Advertisements
Similar presentations
FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
Advertisements

OPERATING SYSTEM An operating system is a group of computer programs that coordinates all the activities among computer hardware devices. It is the first.
Maninder Kaur OPERATING SYSTEM Maninder Kaur 11 Oct 2010.
Operating Systems * Section A: Introduction * Section B: The importance of the operating system * Section C: Types of operating systems * Section D: Operating.
Open Source. Operating System  Application Program Interface (API) Scheduling: Defines which application to run, when to run it, and how much time. Memory.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
Intro to computers Hardware Operating System, Communication Computers PowerHardware Software OS Application COMMUNICATION.
Operating Systems: Software in the Background
Open Source Software …its not all for the techies. - Dan Coming.
Chapter 9_3 Following Instructions: Principles of Computer Operation.
1 Application & Systems Software Operating Systems – a deeper look.
2: OS Structures 1 Jerry Breecher OPERATING SYSTEMS STRUCTURES.
Memory Management 2010.
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
1 CMOS Configuration Chip. 1 Jumpers 1 Software n The intelligence of the computer n Computer programs, or instructions to perform a specific task n.
Understanding Computer Hardware Continued…. How fast is your computer? Depends on a lot of factors Depends on a lot of factors –Processor design –Clock.
Operating Systems CS208. What is Operating System? It is a program. It is the first piece of software to run after the system boots. It coordinates the.
Computer Organization and Architecture
1 DOS with Windows 3.1 and 3.11 Operating Environments n Designed to allow applications to have a graphical interface DOS runs in the background as the.
Operating System Organization
1/16/2008CSCI 315 Operating Systems Design1 Introduction Notice: The slides for this lecture have been largely based on those accompanying the textbook.
CS101 Introduction to Computing Lecture 11 Operating Systems
AN INTRODUCTION TO LINUX OPERATING SYSTEM Zihui Han.
SOFTWARE.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
Chapter 3  Manage the computer’s resources ◦ CPU ◦ Memory ◦ Disk drives ◦ Printers  Establish a user interface  Execute and provide services for applications.
Week 6 Operating Systems.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
Operating Systems.
 Introduction to Operating System Introduction to Operating System  Types Of An Operating System Types Of An Operating System  Single User Single User.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 8: Main Memory.
LINUX System : Lecture 2 OS and UNIX summary Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
INTRODUCTION SOFTWARE HARDWARE DIFFERENCE BETWEEN THE S/W AND H/W.
المحاضرة الاولى Operating Systems. The general objectives of this decision explain the concepts and the importance of operating systems and development.
Invitation to Computer Science 5 th Edition Chapter 6 An Introduction to System Software and Virtual Machine s.
B USINESS C OMPUTER A PPLICATION Eyad M. AlMassri BGMS4101 Introduction 1 Business Computer Application.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
MANAGING SOFTWARE ASSETS ~ pertemuan 6 ~ Oleh: Ir. Abdul Hayat, MTI 1[Abdul Hayat, SIM, Semester Genap 2007/2008]
1 Sec (3.2) Operating System Architecture OS. 2 Software dividing into two categories: 1. Application software 2. System Software  Operating System 
C o n f i d e n t i a l 1 Course: BCA Semester: III Subject Code : BC 0042 Subject Name: Operating Systems Unit number : 1 Unit Title: Overview of Operating.
10/8: Software What is software? –Types of software System software: Operating systems Applications Creating software –Evolution of software development.
Main Memory. Chapter 8: Memory Management Background Swapping Contiguous Memory Allocation Paging Structure of the Page Table Segmentation Example: The.
Computer Systems 1 Fundamentals of Computing
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Application Software System Software.
By Shreya Mozumdar 6B.  An operating system (OS) is a program that, after being loaded onto the computer, manages all the other programs on the computer.
Types of OS and OS Components
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
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)
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 8: Main Memory.
Computer Software. Two Major Types of SW System SW Programs that generally perform the background tasks in a computer. These programs, many times, talk.
Systems Software / The Operating System CSC October 14, 2010.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
1 OPERATING SYSTEMS. 2 CONTENTS 1.What is an Operating System? 2.OS Functions 3.OS Services 4.Structure of OS 5.Evolution of OS.
Software Requirements
Operating Systems What an Operating System is.
2. OPERATING SYSTEM 2.1 Operating System Function
Chapter 8: Main Memory.
Welcome to Linux Chap#1 Hanin Abdulrahman.
What is an Operating System?
Language Processors Application Domain – ideas concerning the behavior of a software. Execution Domain – Ideas implemented in Computer System. Semantic.
Lecture 09 & 10 Operating Systems Network, Communication, OSI.
The Main Features of Operating Systems
Lecture 3: Main Memory.
OPERATING SYSTEMS STRUCTURES
Software - Operating Systems
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Chapter 1: Introduction
Presentation transcript:

Operating Systems

Operating systems  Most important program that runs on a computer  Every general-purpose (such as desktop) computer must have OS to run other programs  Manages the hardware and software resources of the system  Provides stable and consistent way for applications to deal with the hardware without having to know all the details  Most common  Windows, UNIX, Macintosh  Many other OS designed for special-purpose applications  mainframes, robotics, manufacturing, real-time control systems

Managing hardware and software  Various programs and input methods compete for the attention of the central processing unit (CPU)  programs and methods demand memory, storage and input/output (I/O) bandwidth for their own purposes  OS makes sure each application gets the necessary resources while cooperating with the other applications  economizes capacity of the system to greatest benefit of users and applications.

Software  OS  Hardware

Providing consistent application interface  Important if more than one type of computer is using OS or if computer hardware is open to change  A consistent application program interface (API) allows software developer to write an application on one computer and have a high level of confidence that it will run on another computer of the same type  even if the amount of memory or the quantity of storage is different on the two machines  OS can ensure that applications continue to run when hardware upgrades and updates occur  OS and not the application is charged with managing the hardware and the distribution of its resources

Tasks of the OS  A task refers to the combination of a program being executed and bookkeeping information used by the operating system  Tasks of the OS:  Processor management  Memory management  Device management  Storage management  Application interface  User interface

Processor management  Ensuring that each process and application receives enough of the processor's time to function properly  Using as many processor cycles for real work as is possible  Processes (thread)  schedule work done by processor  CPU can only do one thing at a time  OS has to switch between different processes thousands of times a second  OS sets a certain number of CPU execution cycles to one program, after those cycles switches to another program, etc.

Memory and storage management  Each process must have enough memory in which to execute, and it can neither run into the memory space of another process nor be run into by another process  The different types of memory in the system must be used properly so that each process can run most effectively  Memory types  High-speed cache - fast, small amounts of memory available to the CPU, where cache controllers predict which data CPU will need next and pull it from main memory  Main memory - RAM  Secondary memory - disk

Paging  OS must balance the needs of the various processes with the availability of the different types of memory  Not enough memory to run all processes simultaneously  Processes not running take up space in memory  Paging: allocating physical memory to processes in fixed-size blocks called pages  Separate programs into pages and keep only a few pages of each running program in memory at one time  active pages kept in memory  inactive pages kept on disk, brought in as needed  Moving pages in and out of memory is called swapping

Thrashing  If user runs too many processes at the same time, OS will use majority of its available CPU cycles to swap between processes rather than run processes  Paging or swapping systems that are overloaded waste most of their time moving data rather than performing useful computation  Thrashing  CPU utilization, system throughput and system response time decrease resulting poor performance of a system  Risk of thrashing increases with degree of multiprogramming

Device management  Device driver  path between the operating system and (most) hardware not on computer's motherboard  translator between signals of the hardware subsystems and high-level programming languages of the OS and application programs  takes file data from OS and translates into bit streams put in specific locations on storage devices  Drivers are run when device is required, function basically like any other process  OS assigns high-priority blocks to drivers so hardware resources can be released and readied for further use as quickly as possible

Application and user interfaces  Application Program Interfaces (APIs)  allow application programmers to use functions of computer and OS without worrying about details of CPU operation  provides a consistent way for applications to use the resources of the computer system  User Interface (UI)  brings structure to the interaction between a user and the computer  program or set of programs that sits as a layer above the OS  usually a graphical user interface (GUI)

Classification  Multi-user  allows many different users to take advantage of the computer's resources simultaneously  balance requirements of users, programs have sufficient and separate resources  Single-user, multi-tasking  most desktop and laptop computers todaydesktoplaptop  single user operates many programs at same time  Single-user, single task  one user can effectively do one thing at a time  Palm OS  Real time (RTOS)  particular operation executes in precisely the same amount of time every time it occurs  machinery, scientific instruments and industrial systems

Types of operating systems

Open Source  Description of software distributed as source code under licenses that guarantee everyone the right to freely use, change, or redistribute the source code  Initiated by Bruce Perens  primary author of The Open Source Definition, the formative document of Open Source movement The basic idea behind open source is very simple: When programmers can read, redistribute, and modify the source code for a piece of software, the software evolves. People improve it, people adapt it, people fix bugs. And this can happen at a speed that, if one is used to the slow pace of conventional software development, seems astonishing.

Open Source definition  Distribution terms of open-source software must comply with the following criteria: 1. free redistribution 2. source code 3. derived works 4. integrity of the author's source code 5. no discrimination against persons or groups 6. no discrimination against fields of endeavor 7. distribution of license 8. license must not be specific to a product 9. the license must not restrict other software 10. the license must be technology-neutral

The GNU Project  Founded by Richard Stallman  Launched in 1984 to develop a complete free Unix- like operating system: GNU  GNU Manifesto  written by Stallman at start of GNU Project to ask for participation and support  GNU is free software  everyone is free to copy and redistribute it as well as make changes either large or small 

Linux  Linux is a Unix-like kernel, created by Linus Torvalds in 1991  Linux together with the GNU operating system made a complete free system: a Linux-based version of the GNU system  GNU/Linux system  GNU/Linux systems are in widespread use  estimated 20 million users  Complete, free OS

References           FOLDOC