What is an operating system?

Size: px
Start display at page:

Download "What is an operating system?"

Transcription

1 What is an operating system? slide 1 "Peterson and Silbershatz" "We can view anoperating system as a resource allocator. Acomputer system has many resources (hardware and software) that may be required to solve a problem: CPU time, memory space, file storage space, I/O devices, and so on. The operating system acts as the manager ofthese resources and allocates them to specific programs and users asnecessary for their tasks. Since there may be many, possibly conflicting requests for resources, the operating system must decide which requests are allocated resources to operate the computer system efficiently and fairly."

2 Windows NT slide 2 many elements influenced the design of Windows NT it provides the same type of GUI found in the earlier Windows products including the use of windows pull down menus point and click interaction

3 NT components slide 3 internal interaction is inspired by the Mach operating system, which is in turn based on UNIX highly modular can execute on a variety of hardware platforms supports applications written for a variety of other operating systems as with virtually all operating systems, NT separates application oriented software from operating system software. (Kernel mode and user mode)

4 Design goals of NT slide 4 like any commercial operating system, Windows NT is the result of a complex interaction between idealized goals and market-driven realities Compatibility it should support a wide range of existing software and legacy hardware. (DOS, Windows 3.1 compatibility) Robustness it should resist attacks of naive or malicious users, individual programs should be isolated from each other Portability it should run on a wide variety of current and future hardware platforms

5

6 Design goals of NT slide 6 Extendibility it should be possible to add new features and support new I/O devices Performance it should give reasonable performance on commonly available hardware. Take advantage of multiprocessing hardware

7 Major building blocks of NT slide 7 Overall architecture of the NT kernel mode components

8 Hardware abstraction layer slide 8 HAL is a thin layer of software that presents the rest of the system with an abstract model of any hardware that is not part of the CPU HAL exposes a well defined set of functions that manage such items as: Off chip caches Timers I/O buses Device registers Interrupt controllers DMA controllers various system components use these HAL functions to interact with CPU hardware HAL routines make the kernel and device drivers binary compatible across platforms with the same CPU architecture

9

10 Kernel slide 10 consists of the most fundamental components of the operating system manages scheduling and context switching exception and interrupt handling multiprocessor synchronization Executive the most complex kernel mode component in Windows NT implement many ofthe basic functions normally associated with an operating system (Process manager, virtual memory manager, I/O manager, system call interface) the executive uses the HAL to interact with any CPU hardware

11 Layered device drivers in NT slide 11 the term driver normally refers to a piece of code that manages some peripheral or device NT takes a more flexible approach allows several driver layers to exist between an application program and hardware Device drivers manage actual data transfer and control operations for a specific type of physical device includes starting stopping I/O, handling interrupts and handling errors Intermediate drivers

12 NT allows you to place any number of layers on top of a physical device driver intermediate layers provide a way of extending the capabilities of the I/O system without having to modify the drivers below them

13 Example: Fault tolerant disk driver slide 13 is implemented as a layer that sits between the file system and drivers for any physical disks. intermediate drivers separate hardware specific operations from more general management issues here the intermediate driver isreferred to as a class driver and the hardware driver iscalled a port driver this structure makes it easier to target a wider range of hardware since only the port code needs to be rewritten

14 File system drivers (FSDs) slide 14 the following FSDs are supplied by Microsoft: Type Description FAT NTFS HPFS CSFS MSFS NPFS RDR Windows 95 extended MSDOS file system Windows NT high reliability file system OS/2 high performance file system ISO 9660 CDROM file system Mailshot file system Named pipe file system LAN Manager redirector unfortunately, you cannot develop file system drivers using the standard NT device driver kit also note the absence of NFS.

15

16 Device driver slide 16

17 UNIX vs NT slide 17 NT available on other architectures Alpha, Mips, Power PC UNIX also available on other architectures, all of the above and more NT will run all Windows 3.1 software and MSDOS software UNIX may or may not depending on version, vendor generally unlikely

18 UNIX vs NT slide 18 both NT and UNIX (Solaris, Sequent) will operate with multiple processors both OSs have TCP/IP and associated utilities in different forms NT doesn t have NFS though (which considered slow, but open!) nevertheless much research has been done to improve NFS performance both OSs support filesystems with long filenames NT will easily integrate with Novell, MACOS UNIX needs extra packages (eg samba) which has to be configured by an expert

19 UNIX vs NT slide 19 UNIX is still more flexible in resource sharing share any peripheral across the network all peripherals are as files, files can be on the network etc Windows NT NTFS is faster than NFS UNIX buffer cache is superior to NT thus it is not clear which OS will be faster! measure it! TCP/IP code is more mature than NT, witness problems in J111

20 UNIX vs NT slide 20 NT is much easier to manage NT is much easier to install NT is more tolerant of different hardware devices due to the HAL

21 Network (Unix) slide 21 UNIX started life as a research project within AT&T in 1970 since that time it has grown in popularity and functionality there are some excellent books available which describe UNIX Berny Goodheart & James Cox, "The magic garden explained", Prentice-Hall. Smoot Carl-Mitchell & John S. Quarterman, "Practical Internetworking with TCP/IP and UNIX", Addison Wesley. W.Richard Stevens, "UNIX Network Programming", Prentice-Hall.

22 UNIX networking history slide 22 the first networking functionality added to UNIX wasuucp (UNIX to UNIX copy) in 1976 provided a mechanism to transfer files from different UNIX machines which typically only had modem connectivity implemented was a batch-oriented system that was typically used between systems remote printing and were added in the Berkeley release of the Version 7 UNIX for the PDP-11 (called 2.x BSD) (Berkeley Standard Distribution) TCP/IP was released in 1981 in the 4.1 BSD UNIX

23 Unix history slide 23 TCP/IP opened the flood gates for networked applications NFS - network file system remote job execution remote login, telnet, ftp, R tools talk remote procedure calls and XDR news client server computing

24 UNIX networking history slide 24 the Berkeley releases of UNIX 4.1 BSD and 4.2 BSD provided the first UNIX systems with widespread network support ( ) many Computer Science departments started to buy more than one VAXwith Ethernet cards and so created UNIX LANs April BSD was released June 1988 a revision of the 4.3 BSD referred to as the Tahoe distribution was meant to be an interim release for testing by experienced users importantly it contained source code which was not licensed by AT&T so you could legally use the source code for your own products reference software was available for TCP/IP & sockets

25 UNIX network services slide 25 rexd remote job execution daemon allows a user to say: on floppsie gcc -g largeprogram.c theon command makes the C compiler execute on a machine called floppsie all input/output has to be rerouted tofloppsie in order that the compilation will work. telnet -the ability to login into another machine NFS -Network file system. RPC -Remote procedure call package (1984)

26 normally uses thexdr facility and it is an interprocess communication mechanism that allows programmers to write client-server based applications

27 UNIX networking facilities slide 27 sockets -introduced in 1982 with 4.1 BSD. Another interprocess communication mechanism (low level) which allows one process to communicate with another process. These processes maybe on the same machine or on opposite sides of the world. Sockets consist on five primitives:socket,bind,listen, connect andaccept today hundreds of client/servers use above primitives (pop2, pop3, imap, smtp), news, R commands, lpd, nfs, ftp, telnet, news, finger, cvs, http

28 Networking examples slide 28 pop2 pop3 imap smtp news Rcommands lpd nfs ftp telnet finger cvs http client client server client discussion groups remote commands networked printing networked file system file transfer protocol remote login user description & profile networked source code access hypertext protocol

29 Networking examples slide 29 examine the file/etc/services for a full description

30 Atypical UNIX network slide 30 UNIX is an open system many vendors: SUNOS, ULTRIX, AT&T UNIX SVr4, GNU/Linux, BSD386 some free! (Source code, compilers, debuggers, editors, network applications etc) its popularity in the early days was due in part to its no cost availability this has now turned full circle with the advent of GNU/Linux and BSD386 open system as interfaces to applications, client/servers are published important to note amajor difference between UNIX and other operating systems (Novell) is that clients and servers onunix look almost identical

31 possible that they are the same except for some files in/etc (configuration files) Atypical UNIX network slide 31 client/server distinction occurs at the user level not the system level

32 Atypical UNIX network slide 32 workstation local disk workstation local disk ethernet and IP workstation local disk configuration is very flexible

33 Unix configuration slide 33 could be a disadvantage as system administrators have to fight their way through many different options for various components just to perform simple operations it is possible that all machines are configured identically (except for their hostname, IP address etc) could configure the network operating systems so that all local disks can be seen by all machines

34 Atypical UNIX network slide 34 alternatively machines could be very different (ie could build distinct client/server model similar to Novell) one machine has the common file system one machine has the system executables

35 Disadvantages slide 35 complexity flexibility requires system administrators be disciplined otherwise overall system may become unmanageable when more machines are added harder to configure than other operating systems getting better (Solaris, GNU/Linux brands often use Gtk) but complexity still remains few graphical tools to identify installation errors however the problems are being addressed

36 NFS configuration example slide 36 can network file systems between different architectures little endian, big endian - it makes no difference NFS design is built from three main parts: a protocol, a server and a client nfs client nfs protocol nfs server

37 NFS configuration example slide 37 components fit into the ISO-7 layer model Level 7 Application NFS Level 6 Presentation XDR Level 5 Session RPC Level 4 Transport TCP UDP Level 3 Network IP Level 2 Data Link Logical Level 1 Physical Link Ethernet

38 NFS example slide 38 suppose we have two machines floppsie mcgreg / / bin home usr home usr bin X386 fred bin include our task is to allow machinefloppsie see directory /home/gmulley

39 NFS example slide 39 tellfloppsie where this directory resides edit/etc/fstab on floppsie and add the following line mcgreg:/home /home/mcgreg nfs (remote fs mount point type mount options)

40 NFS example slide 40 need to tell machinemcgreg that/home is exported and that floppsie is allowed to see it edit/etc/exportfs onmcgreg and add the following line /home / (rw) floppsie(rw)

41 Plan 9 from Bell Labs slide 41 MOVIE GOOFS AND INTERESTING FACTS LIST Version 3.9 (October 1993) Acollection of film flubs, cinematic slip-ups, movie mistakes, Hollywood howlers, etc etc. Compiled by Murray Chapman and Michael Gaines (render1@teak.njit.edu) Found by the users of USENET. #Plan 9 from Outer Space -Bela Lugosi died two days into the shooting of this turkey. He was replaced by the director s wife s chiropractor, who was significantly taller than Lugosi, and played the part with a cape covering his face. -Internationally recognised as the worst movie ever made.

42 Plan 9 from Bell Labs slide 42 Plan 9 from Bell Labs is a network operating system and it is composed of separate machines acting as CPU servers file servers terminals it is built from distinct specialised components rather than similar general purpose components high performance general purpose components cost a lot of money workstations are too slow and IO bound for fast compilation too expensive just to be used as a windowing system

43 Plan 9 from Bell Labs slide 43 Plan 9 approach is based on distributed specialisation would better address issues: cost effectiveness maintenance performance reliability and security

44 Plan 9 from Bell Labs slide 44 radical steps taken build a completely new system Ccompiler, operating system, network software, command interpreter, window system and terminal! authors credentials? Rob Pike -famous for many ofunix concepts during the early years Ken Thompson - wrote the first C compiler. Then worked on translating UNIX from assembler to C AT&T - birth place of UNIX - so wealthy that the USA divided AT&T into two because of its power

45 Plan 9 slide 45 different from other research and commercial operating systems. It lacks features often associated with other research network operating systems process migration lightweight processes distributed file caching personalised workstations support for X windows

46 Plan 9 slide 46 built around CPU servers (large multiprocessors) file servers terminals (bitmap screen, mouse & computer running a window system 8 1/2) sharing of computing and storage services provide a sense of community for a group of programmers cost effective simplifies management and administration

47 CPU Servers slide 47 in 1990 the production CPU server was a Silicon Graphics Power Series machine with four 25 MHz MIPS processors 128 Mbyte memory no disk 20 Mbyte/sec DMA interface to the file server Ethernet network interface

48 CPU Servers slide 48 operating system has conventional process model using fork exec primitives new processes are run on a new processor whenever possible (similar to Amoeba in this respect) processors similar to disk blocks buy more disk space when you run out buy more processors as well CPU servers have no local disk

49 File Servers slide 49 Plan 9 file server is a modest two processor 64 Megabyte of memory 600 Megabytes of hard disk 300 Gigabyte juke box of write-once optical disk (WORM) it interfaces to the CPU servers through the 20 Mbyte/sec DMA links

50 File Servers slide 50 file server interfaces to other terminals through conventional networks file server presents a file system to its clients not an array of disk drives different from Windows in this respect. cfa: b: c: d: e: f:

51 File Server (continued) slide 51 file system actually resides on WORM the modest 600 Mbyte drive only acts as a cache file server client Mbyte Mbyte Gbyte RAM disk worm

52 File Server Security and Backup slide 52 once a day the file tree is frozen and split old files can be accessed through normal file operations /1990/0401/usr/rob/doc/plan9.ms this scheme permits users to compare files against old versions using traditional tools applied to a normal file system permissions are the same security remains intact

53 Plan 9 Network Structure slide 53 Ethernet 20 Mb/s DS-1 DMA GNOT File Server CPU Server

54 GNOT terminal slide 54 specialist terminal whose specification is: 25 MHz x colour display keyboard and mouse 4..8 Mbytes of memory 2Mbit/sec packet switched network connects a GNOT tothe CPU servers terminal does not handle compilation might run a text editor though

55 Plan 9 GNOT slide 55 cheap enough so that each person can have 2 1atwork 1athome

56 Plan 9 code size statistics slide 56 window software written from scratch 81/2 source is 60K bytes including source for xterm equivalent roughly functionality of X windows (no colour) 3860 lines of code and compiles in 10 seconds compare to X windows! Plan 9 is small! the kernel is 3647 lines of C code it takes 10 seconds to compile and 10 seconds to load

Network File System (NFS)

Network File System (NFS) Network File System (NFS) slide 1 References: Douglas Comer, Internetworking with TCP/IP, p430-432 Simson Garfinkel and Gene Spafford, Practical UNIX and Internet Security, p605-631 NFS is used by GNU/Linux

More information

Network File System. Network File System (NFS) NFS Advantages. Network File System Disadvantages

Network File System. Network File System (NFS) NFS Advantages. Network File System Disadvantages Network File System (NFS) slide 1 Network File System slide 2 References: Douglas Comer, Internetworking with TCP/IP, p430-432 Simson Garfinkel and Gene Spafford, Practical UNIX and Internet Security,

More information

Mailman. Fetchmail and NT (ems3) Mailman. Fetchmail script. handles mailing lists web based and based

Mailman. Fetchmail and NT (ems3) Mailman. Fetchmail script. handles mailing lists web based and  based Fetchmail and NT (ems3) slide 1 Mailman slide 2 University mail server isems3 auser joe has an account jbloggs on corporate also maintains a film mailing list requires three accounts film@glam.ac.uk: post

More information

Operating Systems: Internals and Design Principles. Chapter 2 Operating System Overview Seventh Edition By William Stallings

Operating Systems: Internals and Design Principles. Chapter 2 Operating System Overview Seventh Edition By William Stallings Operating Systems: Internals and Design Principles Chapter 2 Operating System Overview Seventh Edition By William Stallings Operating Systems: Internals and Design Principles Operating systems are those

More information

Systems Programming. The Unix/Linux Operating System

Systems Programming. The Unix/Linux Operating System Systems Programming The Unix/Linux Operating System 1 What is UNIX? A modern computer operating system Operating system: a program that acts as an intermediary between a user of the computer and the computer

More information

SMD149 - Operating Systems

SMD149 - Operating Systems SMD149 - Roland Parviainen October 31, 2005 1 / 54 Overview Course Information Roland Parviainen E-mail: rolle@csee.ltu.se, rolle@parviainen.org Phone: 070-5317170 Office:? Web: http://parviainen.org 2

More information

Roland Parviainen Phone: Office:? Web:

Roland Parviainen    Phone: Office:? Web: SMD149 - Roland Parviainen October 31, 2005 Roland Parviainen E-mail: rolle@csee.ltu.se, rolle@parviainen.org Phone: 070-5317170 Office:? Web: http://parviainen.org 1/54 2/54 Outline Course Objectives

More information

Topics. Operating System. What is an Operating System? Let s Get Started! What is an Operating System? Where in the Book are we?

Topics. Operating System. What is an Operating System? Let s Get Started! What is an Operating System? Where in the Book are we? Topics Operating System What is an OS? OS History OS Concepts OS Structures Introduction Let s Get Started! What is an Operating System? What are some OSes you know? Guess if you are not sure Pick an OS

More information

An Operating System History of Operating Systems. Operating Systems. Autumn CS4023

An Operating System History of Operating Systems. Operating Systems. Autumn CS4023 Operating Systems Autumn 2017-2018 Outline 1 2 What is an Operating System? From the user s point of view an OS is: A program that acts as an intermediary between a user of a computer and the computer

More information

CSC 453 Operating Systems

CSC 453 Operating Systems CSC 453 Operating Systems Lecture 1: An Introduction What Is an Operating System? An operating system is the software that serves as an interface between the user (or his/her software applications) and

More information

Design Overview of the FreeBSD Kernel CIS 657

Design Overview of the FreeBSD Kernel CIS 657 Design Overview of the FreeBSD Kernel CIS 657 Organization of the Kernel Machine-independent 86% of the kernel (80% in 4.4BSD) C code Machine-dependent 14% of kernel Only 0.6% of kernel in assembler (2%

More information

History of FreeBSD. FreeBSD Kernel Facilities

History of FreeBSD. FreeBSD Kernel Facilities History of FreeBSD FreeBSD Kernel Facilities 1979 3BSD Added virtual memory to UNIX/32V 1981 4.1BSD 1983 4.2BSD Final release from Berkeley DARPA UNIX project 1986 4.3BSD 1988 4.3BSD Tahoe 1989 4.3BSD

More information

Topics. Operating System I. What is an Operating System? Let s Get Started! What is an Operating System? OS History.

Topics. Operating System I. What is an Operating System? Let s Get Started! What is an Operating System? OS History. Topics Operating System I What is an OS? OS History OS Concepts OS Structures Introduction Let s Get Started! What is an Operating System? What are some OSes you know? Pick an OS you know: What are some

More information

Windows 7 Overview. Windows 7. Objectives. The History of Windows. CS140M Fall Lake 1

Windows 7 Overview. Windows 7. Objectives. The History of Windows. CS140M Fall Lake 1 Windows 7 Overview Windows 7 Overview By Al Lake History Design Principles System Components Environmental Subsystems File system Networking Programmer Interface Lake 2 Objectives To explore the principles

More information

Introduction to OS (cs1550)

Introduction to OS (cs1550) Introduction to OS (cs1550) Why take this class? Why with Mosse? it s mandatory it s a great class it s a great prof it s easy (NOT!!!! do not fool thyself!) it s good for you Life is not life anymore

More information

Contents. * All rights reserved, Tei-Wei Kuo, National Taiwan University, 2003.

Contents. * All rights reserved, Tei-Wei Kuo, National Taiwan University, 2003. Contents 1. Preface/Introduction Standardization and Implementation File I/O Standard I/O Library Files and Directories System Data Files and Information Environment of a Unix Process Process Control Signals

More information

ELEC 377 Operating Systems. Week 1 Class 2

ELEC 377 Operating Systems. Week 1 Class 2 Operating Systems Week 1 Class 2 Labs vs. Assignments The only work to turn in are the labs. In some of the handouts I refer to the labs as assignments. There are no assignments separate from the labs.

More information

Operating System. Operating System Overview. Layers of Computer System. Operating System Objectives. Services Provided by the Operating System

Operating System. Operating System Overview. Layers of Computer System. Operating System Objectives. Services Provided by the Operating System Operating System Operating System Overview Chapter 2 A program that controls the execution of application programs An interface between applications and hardware 1 2 Operating System Objectives Layers

More information

Operating System Overview. Operating System

Operating System Overview. Operating System Operating System Overview Chapter 2 1 Operating System A program that controls the execution of application programs An interface between applications and hardware 2 1 Operating System Objectives Convenience

More information

ANSAwise - Distributed and Networked Operating Systems

ANSAwise - Distributed and Networked Operating Systems Poseidon House Castle Park Cambridge CB3 0RD United Kingdom TELEPHONE: Cambridge (01223) 515010 INTERNATIONAL: +44 1223 515010 FAX: +44 1223 359779 E-MAIL: apm@ansa.co.uk Training ANSAwise - Distributed

More information

OPERATING SYSTEMS UNIT - 1

OPERATING SYSTEMS UNIT - 1 OPERATING SYSTEMS UNIT - 1 Syllabus UNIT I FUNDAMENTALS Introduction: Mainframe systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered Systems Real Time Systems Handheld Systems -

More information

Introduction to Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Introduction to Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University Introduction to Operating Systems Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics What is OS? History of OS 2 What is OS? (1) Application

More information

Last Class: OS and Computer Architecture. Last Class: OS and Computer Architecture

Last Class: OS and Computer Architecture. Last Class: OS and Computer Architecture Last Class: OS and Computer Architecture System bus Network card CPU, memory, I/O devices, network card, system bus Lecture 4, page 1 Last Class: OS and Computer Architecture OS Service Protection Interrupts

More information

Chapter 11: File System Implementation

Chapter 11: File System Implementation Chapter 11: File System Implementation Chapter 11: File System Implementation File-System Structure File-System Implementation Directory Implementation Allocation Methods Free-Space Management Efficiency

More information

OS Structure. Kevin Webb Swarthmore College January 25, Relevant xkcd:

OS Structure. Kevin Webb Swarthmore College January 25, Relevant xkcd: OS Structure Kevin Webb Swarthmore College January 25, 2018 Relevant xkcd: One of the survivors, poking around in the ruins with the point of a spear, uncovers a singed photo of Richard Stallman. They

More information

Operating-System Structures

Operating-System Structures Recap Chapter 2: Operating-System Structures Presented By: Dr. El-Sayed M. El-Alfy Note: Most of the slides are compiled from the textbook and its complementary resources From: OS by Tanenbaum, 2008 March

More information

Chapter 11: File System Implementation

Chapter 11: File System Implementation Chapter 11: File System Implementation Chapter 11: File System Implementation File-System Structure File-System Implementation Directory Implementation Allocation Methods Free-Space Management Efficiency

More information

OS - Introduction Ezio Bartocci Institute for Computer Engineering

OS - Introduction Ezio Bartocci Institute for Computer Engineering TECHNISCHE UNIVERSITÄT WIEN Fakultät für Informatik Cyber-Physical Systems Group OS - Introduction Ezio Bartocci Institute for Computer Engineering ezio.bartocci@tuwien.ac.at Operative System What is it?

More information

The Operating System Machine Level

The Operating System Machine Level The Operating System Machine Level Wolfgang Schreiner Research Institute for Symbolic Computation (RISC-Linz) Johannes Kepler University Wolfgang.Schreiner@risc.uni-linz.ac.at http://www.risc.uni-linz.ac.at/people/schreine

More information

Chapter 11: Implementing File Systems

Chapter 11: Implementing File Systems Chapter 11: Implementing File-Systems, Silberschatz, Galvin and Gagne 2009 Chapter 11: Implementing File Systems File-System Structure File-System Implementation ti Directory Implementation Allocation

More information

Design Overview of the FreeBSD Kernel. Organization of the Kernel. What Code is Machine Independent?

Design Overview of the FreeBSD Kernel. Organization of the Kernel. What Code is Machine Independent? Design Overview of the FreeBSD Kernel CIS 657 Organization of the Kernel Machine-independent 86% of the kernel (80% in 4.4BSD) C C code Machine-dependent 14% of kernel Only 0.6% of kernel in assembler

More information

Introduction to Computer Systems and Operating Systems

Introduction to Computer Systems and Operating Systems Introduction to Computer Systems and Operating Systems Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University msryu@hanyang.ac.kr Topics Covered 1. Computer History 2. Computer System

More information

Chapter 11: Implementing File-Systems

Chapter 11: Implementing File-Systems Chapter 11: Implementing File-Systems Chapter 11 File-System Implementation 11.1 File-System Structure 11.2 File-System Implementation 11.3 Directory Implementation 11.4 Allocation Methods 11.5 Free-Space

More information

FAQ: Real-World Networks

FAQ: Real-World Networks Question 1: What are client-side and server-side processes? Answer 1: The terms client-side and server-side are sometimes called frontend (client) and back-end (server) processes (Davis & Rajkumar, 2004).

More information

Operating Systems CS3502 Spring 2018

Operating Systems CS3502 Spring 2018 Operating Systems CS3502 Spring 2018 Presented by Dr. Guoliang Liu Department of Computer Science College of Computing and Software Engineering Kennesaw State University Computer Systems See Appendix G

More information

Operating System Study Material

Operating System Study Material The operating system works as a mediator between hardware, application software and user. Operating systems are programs that coordinate computer resources, provide an interface between users and the computer,

More information

SOFTWARE ARCHITECTURE

SOFTWARE ARCHITECTURE 1 SOFTWARE ARCHITECTURE Tatsuya Hagino hagino@sfc.keio.ac.jp Slide URL https://vu5.sfc.keio.ac.jp/slide/ 2 Lecture Slide System Please access to: https://vu5.sfc.keio.ac.jp/slide/ Select: Software Architecture

More information

Lecture 1 Introduction (Chapter 1 of Textbook)

Lecture 1 Introduction (Chapter 1 of Textbook) Bilkent University Department of Computer Engineering CS342 Operating Systems Lecture 1 Introduction (Chapter 1 of Textbook) Dr. İbrahim Körpeoğlu http://www.cs.bilkent.edu.tr/~korpe 1 References The slides

More information

OS structure. Process management. Major OS components. CSE 451: Operating Systems Spring Module 3 Operating System Components and Structure

OS structure. Process management. Major OS components. CSE 451: Operating Systems Spring Module 3 Operating System Components and Structure CSE 451: Operating Systems Spring 2012 Module 3 Operating System Components and Structure Ed Lazowska lazowska@cs.washington.edu Allen Center 570 The OS sits between application programs and the it mediates

More information

Misc. Third Generation Batch Multiprogramming. Fourth Generation Time Sharing. Last Time Evolution of OSs

Misc. Third Generation Batch Multiprogramming. Fourth Generation Time Sharing. Last Time Evolution of OSs Third Generation Batch Multiprogramming Misc. Problem: but I/O still expensive; can happen in middle of job Idea: have a pool of ready jobs in memory, switch to one when another needs I/O When one job

More information

Introduction. CS3026 Operating Systems Lecture 01

Introduction. CS3026 Operating Systems Lecture 01 Introduction CS3026 Operating Systems Lecture 01 One or more CPUs Device controllers (I/O modules) Memory Bus Operating system? Computer System What is an Operating System An Operating System is a program

More information

A Comparison of Two Distributed Systems: Amoeba & Sprite. By: Fred Douglis, John K. Ousterhout, M. Frans Kaashock, Andrew Tanenbaum Dec.

A Comparison of Two Distributed Systems: Amoeba & Sprite. By: Fred Douglis, John K. Ousterhout, M. Frans Kaashock, Andrew Tanenbaum Dec. A Comparison of Two Distributed Systems: Amoeba & Sprite By: Fred Douglis, John K. Ousterhout, M. Frans Kaashock, Andrew Tanenbaum Dec. 1991 Introduction shift from time-sharing to multiple processors

More information

Introduction to Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Introduction to Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University Introduction to Operating Systems Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Why OS? 2 What is an OS? Software that converts hardware into

More information

Chapter 11: Implementing File Systems

Chapter 11: Implementing File Systems Chapter 11: Implementing File Systems Chapter 11: File System Implementation File-System Structure File-System Implementation Directory Implementation Allocation Methods Free-Space Management Efficiency

More information

The Host Environment. Module 2.1. Copyright 2006 EMC Corporation. Do not Copy - All Rights Reserved. The Host Environment - 1

The Host Environment. Module 2.1. Copyright 2006 EMC Corporation. Do not Copy - All Rights Reserved. The Host Environment - 1 The Host Environment Module 2.1 2006 EMC Corporation. All rights reserved. The Host Environment - 1 The Host Environment Upon completion of this module, you will be able to: List the hardware and software

More information

Administrative Details. CS 140 Final Review Session. Pre-Midterm. Plan For Today. Disks + I/O. Pre-Midterm, cont.

Administrative Details. CS 140 Final Review Session. Pre-Midterm. Plan For Today. Disks + I/O. Pre-Midterm, cont. Administrative Details CS 140 Final Review Session Final exam: 12:15-3:15pm, Thursday March 18, Skilling Aud (here) Questions about course material or the exam? Post to the newsgroup with Exam Question

More information

Course and Unix Intro

Course and Unix Intro Course and Unix Intro Comp-206 : Introduction to Software Systems Lecture 1 Alexandre Denault Computer Science McGill University Fall 2006 Instructor Alexandre Denault Graduate student, working in the

More information

Chapter 14 Operating Systems

Chapter 14 Operating Systems Chapter 14 Operating Systems Ref Page Slide 1/54 Learning Objectives In this chapter you will learn about: Definition and need for operating system Main functions of an operating system Commonly used mechanisms

More information

Chapter 14 Operating Systems

Chapter 14 Operating Systems Chapter 14 Systems Ref Page Slide 1/54 Learning Objectives In this chapter you will learn about: Definition and need for operating Main functions of an operating Commonly used mechanisms for: Process management

More information

Downloaded from various sources on the NET

Downloaded from various sources on the NET Overview Computers. Hardware components of a Computer. Purpose and functions of computer operating systems. Evolution of computer operating systems. Operating systems available today. Downloaded from various

More information

CSCI 2132 Software Development. Lecture 2: Introduction to UNIX and Unix-like Operating Systems

CSCI 2132 Software Development. Lecture 2: Introduction to UNIX and Unix-like Operating Systems CSCI 2132 Software Development Lecture 2: Introduction to UNIX and Unix-like Operating Systems Instructor: Vlado Keselj Faculty of Computer Science Dalhousie University 7-Sep-2018 (2) CSCI 2132 1 Previous

More information

Copyright 2006 Prentice-Hall. All rights reserved. 1

Copyright 2006 Prentice-Hall. All rights reserved. 1 PC Basics CPSC 100 Hardware Software Networking Copyright 2006 Prentice-Hall. All rights reserved. 1 Objectives Identify basic components of a computer (hardware) Gain insight into how computers work (software)

More information

OPERATING SYSTEM. Chapter 12: File System Implementation

OPERATING SYSTEM. Chapter 12: File System Implementation OPERATING SYSTEM Chapter 12: File System Implementation Chapter 12: File System Implementation File-System Structure File-System Implementation Directory Implementation Allocation Methods Free-Space Management

More information

Fundamental Concepts and History

Fundamental Concepts and History Fundamental Concepts and History Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University msryu@hanyang.ac.kr Topics Covered I. Fundamental Concepts II. Evolution of OS 2 Key Concepts

More information

Chapter 11: Implementing File Systems

Chapter 11: Implementing File Systems Chapter 11: Implementing File Systems Operating System Concepts 99h Edition DM510-14 Chapter 11: Implementing File Systems File-System Structure File-System Implementation Directory Implementation Allocation

More information

Operating Systems. Minati De. Lecture 1: Introduction. Department of Mathematics, Indian Institute of Technology Delhi, India.

Operating Systems. Minati De. Lecture 1: Introduction. Department of Mathematics, Indian Institute of Technology Delhi, India. Operating Systems Minati De Department of Mathematics, Indian Institute of Technology Delhi, India. Lecture 1: Introduction Course Logistics Text Books: Operating Systems: Principles and Practice 2nd Edition

More information

Data Block. Data Block. Copy A B C D P HDD 0 HDD 1 HDD 2 HDD 3 HDD 4 HDD 0 HDD 1

Data Block. Data Block. Copy A B C D P HDD 0 HDD 1 HDD 2 HDD 3 HDD 4 HDD 0 HDD 1 RAID Network RAID File System 1) Takashi MATSUMOTO 1) ( 101-8430 2{1{2 E-mail:tmatsu@nii.ac.jp) ABSTRACT. The NRFS is a brand-new kernel-level subsystem for a low-cost distributed le system with fault-tolerant

More information

Process Time. Steven M. Bellovin January 25,

Process Time. Steven M. Bellovin January 25, Multiprogramming Computers don t really run multiple programs simultaneously; it just appears that way Each process runs to completion, but intermixed with other processes Process 1 6 ticks Process 2 Process

More information

AQA GCSE Computer Science PLC

AQA GCSE Computer Science PLC 1 - Fundamentals of Algorithms Useful Websites BBC Bite Size Cambridge GCSE Exam Dates https://www.bbc.co.uk/education/subjects/z34k7ty Paper 1 14/05/2018 am https://www.cambridgegcsecomputing.org/ Paper

More information

(Refer Slide Time: 1:26)

(Refer Slide Time: 1:26) Information Security-3 Prof. V Kamakoti Department of Computer science and Engineering Indian Institute of Technology Madras Basics of Unix and Network Administration Operating Systems Introduction Mod01,

More information

CS 153 Design of Operating Systems

CS 153 Design of Operating Systems CS 153 Design of Operating Systems Winter 19 Lecture 2: Historical perspective Instructor: Nael Abu-Ghazaleh Last time What is an OS? What roles does it play? Today: Historic evolution of Operating Systems

More information

ZENworks for Desktops Preboot Services

ZENworks for Desktops Preboot Services 3.2 Novell ZENworks for Desktops Preboot Services DEPLOYMENT www.novell.com Legal Notices Novell, Inc. makes no representations or warranties with respect to the contents or use of this documentation,

More information

Operating Systems. Operating System Structure. Lecture 2 Michael O Boyle

Operating Systems. Operating System Structure. Lecture 2 Michael O Boyle Operating Systems Operating System Structure Lecture 2 Michael O Boyle 1 Overview Architecture impact User operating interaction User vs kernel Syscall Operating System structure Layers Examples 2 Lower-level

More information

Operating System For Computer Science & Information Technology By www.thegateacademy.com Syllabus Syllabus for Operating System Processes, Threads, Inter Process Communication, Concurrency and Synchronization,

More information

Chapter 3: Client-Server Paradigm and Middleware

Chapter 3: Client-Server Paradigm and Middleware 1 Chapter 3: Client-Server Paradigm and Middleware In order to overcome the heterogeneity of hardware and software in distributed systems, we need a software layer on top of them, so that heterogeneity

More information

Distributed Systems Exam 1 Review Paul Krzyzanowski. Rutgers University. Fall 2016

Distributed Systems Exam 1 Review Paul Krzyzanowski. Rutgers University. Fall 2016 Distributed Systems 2015 Exam 1 Review Paul Krzyzanowski Rutgers University Fall 2016 1 Question 1 Why did the use of reference counting for remote objects prove to be impractical? Explain. It s not fault

More information

OS DESIGN PATTERNS II. CS124 Operating Systems Fall , Lecture 4

OS DESIGN PATTERNS II. CS124 Operating Systems Fall , Lecture 4 OS DESIGN PATTERNS II CS124 Operating Systems Fall 2017-2018, Lecture 4 2 Last Time Began discussing general OS design patterns Simple structure (MS-DOS) Layered structure (The THE OS) Monolithic kernels

More information

Introduction to Operating Systems (Part II)

Introduction to Operating Systems (Part II) Introduction to Operating Systems (Part II) Amir H. Payberah amir@sics.se Amirkabir University of Technology (Tehran Polytechnic) Amir H. Payberah (Tehran Polytechnic) Introduction 1393/6/24 1 / 45 Computer

More information

File-System Structure

File-System Structure Chapter 12: File System Implementation File System Structure File System Implementation Directory Implementation Allocation Methods Free-Space Management Efficiency and Performance Recovery Log-Structured

More information

-Device. -Physical or virtual thing that does something -Software + hardware to operate a device (Controller runs port, Bus, device)

-Device. -Physical or virtual thing that does something -Software + hardware to operate a device (Controller runs port, Bus, device) Devices -Host -CPU -Device -Controller device) +memory +OS -Physical or virtual thing that does something -Software + hardware to operate a device (Controller runs port, Bus, Communication -Registers -Control

More information

OPERATING SYSTEMS CS136

OPERATING SYSTEMS CS136 OPERATING SYSTEMS CS136 Jialiang LU Jialiang.lu@sjtu.edu.cn Based on Lecture Notes of Tanenbaum, Modern Operating Systems 3 e, 1 Chapter 5 INPUT/OUTPUT 2 Overview o OS controls I/O devices => o Issue commands,

More information

OPERATING SYSTEM. Functions of Operating System:

OPERATING SYSTEM. Functions of Operating System: OPERATING SYSTEM Introduction: An operating system (commonly abbreviated to either OS or O/S) is an interface between hardware and user. OS is responsible for the management and coordination of activities

More information

Chapter 2 Computer-System Structure

Chapter 2 Computer-System Structure Contents 1. Introduction 2. Computer-System Structures 3. Operating-System Structures 4. Processes 5. Threads 6. CPU Scheduling 7. Process Synchronization 8. Deadlocks 9. Memory Management 10. Virtual

More information

NETW3005 Operating Systems Lecture 1: Introduction and history of O/Ss

NETW3005 Operating Systems Lecture 1: Introduction and history of O/Ss NETW3005 Operating Systems Lecture 1: Introduction and history of O/Ss General The Computer Architecture section SFDV2005 is now complete, and today we begin on NETW3005 Operating Systems. Lecturers: Give

More information

Some popular Operating Systems include Linux Operating System, Windows Operating System, VMS, OS/400, AIX, z/os, etc.

Some popular Operating Systems include Linux Operating System, Windows Operating System, VMS, OS/400, AIX, z/os, etc. An Operating System (OS) is an interface between computer user and computer hardware. An operating system is software which performs all the basic tasks like file management, memory management, process

More information

The modularity requirement

The modularity requirement The modularity requirement The obvious complexity of an OS and the inherent difficulty of its design lead to quite a few problems: an OS is often not completed on time; It often comes with quite a few

More information

Module 23: Windows NT. Windows NT

Module 23: Windows NT. Windows NT Module 23: Windows NT History Design Principles System Components Environmental Subsystems File System Networking Programmer Interface Operating System Concepts 23.1 Silberschatz and Galvin c 1998 Windows

More information

Reference Models. 7.3 A Comparison of the OSI and TCP/IP Reference Models

Reference Models. 7.3 A Comparison of the OSI and TCP/IP Reference Models Reference Models Contains 7.1 The OSI Reference Model 7.1.1 The Physical Layer 7.1.2 The Data Link Layer 7.1.3 The Network Layer 7.1.4 The Transport Layer 7.1.5 The Session Layer 7.1.6 The Presentation

More information

Operating System: Chap13 I/O Systems. National Tsing-Hua University 2016, Fall Semester

Operating System: Chap13 I/O Systems. National Tsing-Hua University 2016, Fall Semester Operating System: Chap13 I/O Systems National Tsing-Hua University 2016, Fall Semester Outline Overview I/O Hardware I/O Methods Kernel I/O Subsystem Performance Application Interface Operating System

More information

OPERATING SYSTEMS: Lesson 1: Introduction to Operating Systems

OPERATING SYSTEMS: Lesson 1: Introduction to Operating Systems OPERATING SYSTEMS: Lesson 1: Introduction to Jesús Carretero Pérez David Expósito Singh José Daniel García Sánchez Francisco Javier García Blas Florin Isaila 1 Why study? a) OS, and its internals, largely

More information

Chapter 12 File-System Implementation

Chapter 12 File-System Implementation Chapter 12 File-System Implementation 1 Outline File-System Structure File-System Implementation Directory Implementation Allocation Methods Free-Space Management Efficiency and Performance Recovery Log-Structured

More information

Module 23: Windows NT

Module 23: Windows NT Module 23: Windows NT History Design Principles System Components Environmental Subsystems File System Networking Programmer Interface Operating System Concepts 23.1 Silberschatz and Galvin c 1998 Windows

More information

Internetworking With Tcp Ip 6th Edition File Type

Internetworking With Tcp Ip 6th Edition File Type We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or by storing it on your computer, you have convenient answers with internetworking with

More information

Announcements. Reading: Chapter 16 Project #5 Due on Friday at 6:00 PM. CMSC 412 S10 (lect 24) copyright Jeffrey K.

Announcements. Reading: Chapter 16 Project #5 Due on Friday at 6:00 PM. CMSC 412 S10 (lect 24) copyright Jeffrey K. Announcements Reading: Chapter 16 Project #5 Due on Friday at 6:00 PM 1 Distributed Systems Provide: access to remote resources security location independence load balancing Basic Services: remote login

More information

Distributed Systems Principles and Paradigms

Distributed Systems Principles and Paradigms Distributed Systems Principles and Paradigms Chapter 03 (version February 11, 2008) Maarten van Steen Vrije Universiteit Amsterdam, Faculty of Science Dept. Mathematics and Computer Science Room R4.20.

More information

Lecture Topics. Announcements. Today: Operating System Overview (Stallings, chapter , ) Next: Processes (Stallings, chapter

Lecture Topics. Announcements. Today: Operating System Overview (Stallings, chapter , ) Next: Processes (Stallings, chapter Lecture Topics Today: Operating System Overview (Stallings, chapter 2.1-2.4, 2.8-2.10) Next: Processes (Stallings, chapter 3.1-3.6) 1 Announcements Consulting hours posted Self-Study Exercise #3 posted

More information

The Operating System Machine Level

The Operating System Machine Level The Operating System Machine Level Wolfgang Schreiner Research Institute for Symbolic Computation (RISC-Linz) Johannes Kepler University Wolfgang.Schreiner@risc.uni-linz.ac.at http://www.risc.uni-linz.ac.at/people/schreine

More information

COSC243 Part 2: Operating Systems

COSC243 Part 2: Operating Systems COSC243 Part 2: Operating Systems Lecture 14: Introduction, and history of operating systems Zhiyi Huang Dept. of Computer Science, University of Otago Zhiyi Huang (Otago) COSC243 Lecture 14 1 / 27 General

More information

Reserves time on a paper sign-up sheet. Programmer runs his own program. Relays or vacuum tube hardware. Plug board or punch card input.

Reserves time on a paper sign-up sheet. Programmer runs his own program. Relays or vacuum tube hardware. Plug board or punch card input. Introduction & Ch1 Two Roles of an Operating System Extended Machine or virtual machine Device drivers, Processes, File systems, Networking protocols. Resource Manager Allocates and enforces Memory, Disk

More information

Introduction to Operating System

Introduction to Operating System Introduction to Operating System An operating system is a program which manages all the computer hardware. It provides the base for application program and acts as an intermediary between a user and the

More information

C 1. Recap. CSE 486/586 Distributed Systems Distributed File Systems. Traditional Distributed File Systems. Local File Systems.

C 1. Recap. CSE 486/586 Distributed Systems Distributed File Systems. Traditional Distributed File Systems. Local File Systems. Recap CSE 486/586 Distributed Systems Distributed File Systems Optimistic quorum Distributed transactions with replication One copy serializability Primary copy replication Read-one/write-all replication

More information

What are some common categories of system calls? What are common ways of structuring an OS? What are the principles behind OS design and

What are some common categories of system calls? What are common ways of structuring an OS? What are the principles behind OS design and What are the services provided by an OS? What are system calls? What are some common categories of system calls? What are the principles behind OS design and implementation? What are common ways of structuring

More information

Processes & Threads. Process Management. Managing Concurrency in Computer Systems. The Process. What s in a Process?

Processes & Threads. Process Management. Managing Concurrency in Computer Systems. The Process. What s in a Process? Process Management Processes & Threads Managing Concurrency in Computer Systems Process management deals with several issues: what are the units of execution how are those units of execution represented

More information

DISTRIBUTED FILE SYSTEMS & NFS

DISTRIBUTED FILE SYSTEMS & NFS DISTRIBUTED FILE SYSTEMS & NFS Dr. Yingwu Zhu File Service Types in Client/Server File service a specification of what the file system offers to clients File server The implementation of a file service

More information

4. Basic IP Support Protocols

4. Basic IP Support Protocols 4. Basic IP Support Protocols There are a number of protocols that support the operation of IP. This section will only discuss the most basic three: ICMP, RARP, and ARP. Other more sophisticated protocols

More information

Chapter 10: File System Implementation

Chapter 10: File System Implementation Chapter 10: File System Implementation Chapter 10: File System Implementation File-System Structure" File-System Implementation " Directory Implementation" Allocation Methods" Free-Space Management " Efficiency

More information

CHAPTER 1: OPERATING SYSTEM FUNDAMENTALS

CHAPTER 1: OPERATING SYSTEM FUNDAMENTALS CHAPTER 1: OPERATING SYSTEM FUNDAMENTALS What is an operating system? A collection of software modules to assist programmers in enhancing system efficiency, flexibility, and robustness An Extended Machine

More information

Chapter 1. Historical Background

Chapter 1. Historical Background If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside. -- Robert

More information

[08] IO SUBSYSTEM 1. 1

[08] IO SUBSYSTEM 1. 1 [08] IO SUBSYSTEM 1. 1 OUTLINE Input/Output (IO) Hardware Device Classes OS Interfaces Performing IO Polled Mode Interrupt Driven Blocking vs Non-blocking Handling IO Buffering & Strategies Other Issues

More information

Operating System. Operating Systems Structure Chapter 2. Services Provided by the OS. Evolution of an Operating System

Operating System. Operating Systems Structure Chapter 2. Services Provided by the OS. Evolution of an Operating System Operating System Operating Systems Structure Chapter 2 1 Is a control program that controls the execution of application programs OS must relinquish control to user programs and regain it safely and efficiently

More information