Wednesday, June 07, 2006 “Unix is user friendly … it’s just picky about it’s friends”. - Anonymous.

Slides:



Advertisements
Similar presentations
Operating System.
Advertisements

Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
Operating System Structure
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
What You Will Learn Components of a computer’s system software The importance of an operating system Functions of an operating system Types of user interfaces.
Tuesday, June 06, 2006 I hear and I forget, I see and I remember, I do and I understand. -Chinese Proverb.
Operating Systems: Software in the Background
Architectural Support for Operating Systems. Announcements Most office hours are finalized Assignments up every Wednesday, due next week CS 415 section.
© 2004, D. J. Foreman 1 Computer Organization. © 2004, D. J. Foreman 2 Basic Architecture Review  Von Neumann ■ Distinct single-ALU & single-Control.
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Operating Systems - Introduction S H Srinivasan
1 Operating Systems Ch An Overview. Architecture of Computer Hardware and Systems Software Irv Englander, John Wiley, Bare Bones Computer.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
Topic 1 – What is an OS? 1 CS502 Spring 2006 What is an Operating System? Characteristics –Large, complex set of programs –Long-lived, evolutionary –Worked.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
Input / Output CS 537 – Introduction to Operating Systems.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Operating Systems Operating System
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
Computer Organization
hardware and operating systems basics.
Lesson 6 Operating Systems and Software
INTRODUCTION TO COMPUTING CHAPTER NO. 03. Operating Systems and Utility Programs Functions of Operating Systems Types of Operating Systems (Standalone.
Chapter 4 System Software.
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
OPERATING SYSTEM OVERVIEW. Contents Basic hardware elements.
Chapter 1. Introduction What is an Operating System? Mainframe Systems
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
Operating Systems.
 Introduction to Operating System Introduction to Operating System  Types Of An Operating System Types Of An Operating System  Single User Single User.
LINUX System : Lecture 2 OS and UNIX summary Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
CSC 322 Operating Systems Concepts Lecture - 3: by Ahmed Mumtaz Mustehsan Special Thanks To: Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
CS 1308 Computer Literacy and the Internet. Introduction  Von Neumann computer  “Naked machine”  Hardware without any helpful user-oriented features.
Computer and Information Science Computer Software Computer Software Chapter 1.2.
WEEK 1 COURSE INTRODUCTION INTRODUCTION TO OPERATING SYSTEMS OPERATING SYSTEM STRUCTURES Operating Systems CS3013 / CS502.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
How Hardware and Software Work Together
Computing and the Web Operating Systems. Overview n What is an Operating System n Booting the Computer n User Interfaces n Files and File Management n.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
Operating Systems TexPREP Summer Camp Computer Science.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
CH10 Input/Output DDDData Transfer EEEExternal Devices IIII/O Modules PPPProgrammed I/O IIIInterrupt-Driven I/O DDDDirect Memory.
We will focus on operating system concepts What does it do? How is it implemented? Apply to Windows, Linux, Unix, Solaris, Mac OS X. Will discuss differences.
1.4 Hardware Review. CPU  Fetch-decode-execute cycle 1. Fetch 2. Bump PC 3. Decode 4. Determine operand addr (if necessary) 5. Fetch operand from memory.
Outcome 1: Describe the structure and function of an operating system.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Basic UNIX Concepts. Why We Need an Operating System (OS) OS interacts with hardware and manages programs. A safe environment for programs to run is required.
1 Lecture 1: Computer System Structures We go over the aspects of computer architecture relevant to OS design  overview  input and output (I/O) organization.
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Lab #1: UNIX crash course Introduction: History of Operating Systems Lesson #1: Navigating directories Lesson #2: Creating and editing files with emacs.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Systems Software / The Operating System CSC October 14, 2010.
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.
Copyright © 2003 by Prentice Hall 1 Computers: Tools for an Information Age Chapter 3 Operating Systems: Software in the Background BSM025 Computers.
The operating system may be loaded into the computers memory in two ways.  it is already present in ROM (so is permanent, immediately accessible and.
Introduction to Operating Systems Concepts
Computers: Tools for an Information Age
Operating System & Application Software
Chapter Objectives In this chapter, you will learn:
Operating System Review
Operating System.
Technology Literacy Hardware.
TexPREP Summer Camp Computer Science
Operating System Review
Chapter-1 Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions.
Presentation transcript:

Wednesday, June 07, 2006 “Unix is user friendly … it’s just picky about it’s friends”. - Anonymous

§Course URL §Folder on indus \\indus\Common\cs381m05 §Read course policies on the website! CS 381 : Operating Systems

Some design issues I/O Space §Special IN/OUT instructions (use of assembly code) §Calling procedure adds overhead to I/O Memory mapped Con: l Uses up some memory space l Caching of device registers should not be done! l Multiple buses Pro l No extra protection needed to keep user processes from doing I/O

Unix §Initial project turned into multimillion dollar industry involving universities, government organizations, multinational corporations. §Late 1980s … l AT&T (System V) and UC, Berkeley, (BSD) incompatible versions l IEEE standard for UNIX POSIX (defines minimal system call interface)

Unix §A multi-user, time-sharing operating system. §It can have many users logged into a system simultaneously, each running many programs.

Unix §Command based interface §Al most all UNIX systems support a windowing system as well l X-Windows l Developed at MIT

§Linux l Underlying structure common to UNIX §Versions subsequent to MS-DOS included many advanced features taken from UNIX. §Our discussion shall apply to different versions/clones of UNIX like BSD, System V, Linux etc. (Sun Solaris has its own variant of UNIX).

Linux Linux availability across a wide spectrum of platforms Distributions implemented on 64-bit architecture processors. §Large enterprise servers §Medium sized and small servers, workstations §Desktops §Laptops §Small intelligent devices.

l IBM Linux-based wrist watch.

Mainframe Operating Systems §Major organizations §Huge I/O capacity §Batch l Processes not requiring user interaction (payroll processing, sales reporting …) §Transaction Processing l Small requests e.g. bank system, airline systems §Time Sharing l large number of remote users Example: OS/390

Server Operating Systems §Major organizations §High end web-servers, commerce sites, file service etc. §UNIX, Windows Server, LINUX

Speechome Project, MIT l Massive petabyte (one million gigabyte) disk storage system at the Media Lab at MIT

§Multiprocessor Operating Systems §Real Time Operating Systems §Embedded Operating Systems l Simple OS: One program, one user, one machine l Examples: embedded controllers such as nintendo, cars, elevators, cellphones …

§Programmed I/O l User program makes a system call l That is translated into a procedure call for the relevant device driver l Device driver starts I/O and keeps polling the device to see if it is done (device busy status check). l When device is done it puts the data where needed. l OS returns control to user program Ways to do I/O Disadvantage?

Programmed I/O Con: §Busy waiting l Tying up CPU until I/O is done l Busy waiting is inefficient Ways to do I/O

Programmed I/O Con: Busy waiting l Tying up CPU until I/O is done l Busy waiting is inefficient Pro: §Easy to implement l Embedded systems Ways to do I/O

Interrupt Driven I/O §Driver starts the device and asks it to give it an interrupt when it is done. Ways to do I/O

Interrupt Driven I/O For example: Read from Disk Interrupt signal causes the CPU to stop what it is doing and use the interrupt number to start a interrupt service handler When the handler is done control is returned to previously running user program Information of interrupted program is saved before hand.

Direct Memory Access (DMA) Ways to do I/O

§BIOS (Basic Input Output System) is a program that resides on the motherboard. §Can read from keyboard, write to disk, write to screen etc. BIOS

§Checks how much memory is installed, keyboard etc installed or not. §Scans buses and detects devices. §Determines boot device from the list stored in CMOS memory. BIOS

§First sector from boot device is read into memory and executed. l This gives information about which partition is active. l From there a boot loader is read which loads the OS §The OS queries the BIOS to get configuration information and checks if each device has a device driver l One all device drivers founds loads them in kernel starts login program. BIOS

§First sector from boot device is read into memory and executed. l This gives information about which partition is active. l From there a boot loader is read which loads the OS §The OS queries the BIOS to get configuration information and checks if each device has a device driver l One all device drivers founds loads them in kernel starts login program. BIOS

Memory On chip cache Optical disks, EEPROM, flash RAM