unit 1

22
Operating Systems Unit 1: – OS objectives – Mode of operation – Components – Architecture – Linux – Windows XP Operating Systems

Upload: cookie-sarwar

Post on 04-Sep-2015

215 views

Category:

Documents


0 download

DESCRIPTION

computer science

TRANSCRIPT

  • Operating SystemsUnit 1: OS objectives Mode of operation Components Architecture Linux Windows XPOperating Systems

    COP 4994 - Operating Systems

  • What Is an Operating System?Computer = set of able resourcesprocessor(s), memory, I/O & communication devicesOSenables use of resourcesmanages resourcesresources not limited to hardwareshift from: pure efficient use of resources toenhance user experience

    COP 4994 - Operating Systems

  • Mode of operationKernel:substance, core, center, essence, gist, heart, heart and soul, inwardness, marrow, meat, nub, pith, sum, nitty-gritty pieces of software that perform OS tasks

    has privileged access to resources

    COP 4994 - Operating Systems

  • Terminologykernel mode or kernel space

    user mode or user space

    system call: user mode program invokes kernel mode functionality

    COP 4994 - Operating Systems

  • Operating System ComponentsProcessor schedulerMemory managerI/O managerInterprocess communication managerFile system manager

    COP 4994 - Operating Systems

  • Operating System ArchitecturesOperating systems tend to be complexProvide many services Support variety of hardware and softwareOperating system architectures help manage this complexityOrganize operating system componentsSpecify privilege with which each component executes

    COP 4994 - Operating Systems

  • Operating System Architecturesmonolithiclayeredmicro-kerneldistributed

    COP 4994 - Operating Systems

  • Monolithic ArchitectureMonolithic operating systemEvery component contained in kerneldirect communication among all elementshighly efficientProblems:complexitynew devices, emerging technologiesenabling, protection

    COP 4994 - Operating Systems

  • Monolithic Architecture

    COP 4994 - Operating Systems

  • Layered ArchitectureGroups components that perform similar functions into layersEach layer communicates only with adjacent layerSystem calls might pass through many layers before completion

    COP 4994 - Operating Systems

  • Layered Architecture

    COP 4994 - Operating Systems

  • Microkernel ArchitectureMicrokernelprovides only small number of servicesattempt to keep kernel small and scalableHigh degree of modularityExtensible, portable and scalableIncreased level of inter-module communication

    COP 4994 - Operating Systems

  • Microkernel Architecture

    COP 4994 - Operating Systems

  • Distributed Operating SystemsNetwork operating systemRuns on one computer but allows its processes to access remote resources

    Distributed operating systemSingle OS manages resources on more than one computer

    COP 4994 - Operating Systems

  • Distributed Operating Systems

    COP 4994 - Operating Systems

  • Linux Kernel ArchitectureMonolithic kernel:Contains modular componentsProcess managementInterprocess communicationMemory managementFile system managementVFS: provides a single file system interfaceI/O managementNetworking

    COP 4994 - Operating Systems

  • Linux Kernel Architecture

    COP 4994 - Operating Systems

  • Loadable Kernel ModulesEnables code to be loaded on demandReduces the kernels memory footprint

    Kmod: a kernel subsystem that manages modules without user interventionDetermines module dependencies and loads and unloads them on demand Problem: kernel and module versions

    COP 4994 - Operating Systems

  • Windows XP Kernel ArchitectureModified microkernel has layershas modular components within layer

    MicrokernelBasic system mechanismsThread scheduling, interrupt dispatching, etc.Abstracts hardware specifics that differ between architectures

    COP 4994 - Operating Systems

  • Windows XP Kernel Architecture

    COP 4994 - Operating Systems

  • Windows XP Kernel ArchitectureExecutivemain operating system subsystems

    Environment subsystemsProvide a specific computing environment for user-mode processes:Examples: Win32, SFU, WOW64

    COP 4994 - Operating Systems

  • Agenda for next week:Chapter 3: Process ConceptsChapter 4: Thread Concepts

    Read ahead !

    COP 4994 - Operating Systems