SlideShare a Scribd company logo
1 of 62
By
S.DIVYA
Assistant Professor
Dept. of CSE, VJIT
Course Outcomes:
1. Understand the basic functions of Operating systems and
system calls.
2. Analyze process scheduling and synchronization.
3. Understand the concepts of memory management.
4. Examine the concepts of MASS storage structure
5. Compare different protection methods of OS and
understand the deadlock concepts.
At the end of the course, student will be able to:
Operating System
Introduction
UNIT – I
Chap_1
TEXT BOOKS
1. Abraham Silberchatz, Peter B. Galvin, Greg Gagne 8th Edition
2. W. Stallings, 6th Edition,
Contents
What is an operating System?
Operating Systems Objectives and functions
OS Structure
OS Operations
Evolution of Operating Systems
What is an Operating System?
• A program that acts as an intermediary between a
user of a computer and the computer hardware
• Operating system goals:
Execute user programs and make solving user
problems easier
Make the computer system convenient to use
Use the computer hardware in an efficient manner
Operating System Objectives
• To make the computer system convenient to use in an efficient
manner.
• To provide users a convenient interface to use the computer system.
• To act as an intermediary between the hardware and its users,
making it easier for the users to access and use other resources.
• To manage the resources of a computer system.
• To keep track of who is using which resource, granting resource
requests, and mediating conflicting requests from different programs
and users.
• To provide efficient and fair sharing of resources among users and
programs.
Operating System Functions
An operating system has three main
functions:
(1) Manage the computer's resources, such as the
central processing unit, memory, disk drives,
and printers
(2) Establish a user interface, and
(3) Execute and provide services for applications
software.
Following are some of important functions
of an operating System
• Memory Management
• Processor Management
• Device Management
• File Management
• Security
• Control over system performance
• Job accounting
• Error detecting aids
• Coordination between other software and users
a. Memory Management
• Memory management refers to management of Primary Memory or
Main Memory. Main memory is a large array of words or bytes where
each word or byte has its own address.
• Main memory provides a fast storage that can be accessed directly by
the CPU. For a program to be executed, it must in the main memory.
• An Operating System does the following activities for memory
management −
 Keeps tracks of primary memory, i.e., what part of it are in use by
whom, what part are not in use.
 In multiprogramming, the OS decides which process will get memory
when and how much.
 Allocates the memory when a process requests it to do so.
 De-allocates the memory when a process no longer needs it or has been
terminated.
b. Processor Management
• In multiprogramming environment, the OS decides which
process gets the processor when and for how much time.
This function is called process scheduling.
• An Operating System does the following activities for
processor management −
 Keeps tracks of processor and status of process. The program
responsible for this task is known as traffic controller.
 Allocates the processor (CPU) to a process.
 De-allocates processor when a process is no longer required.
c. Device Management
• An Operating System manages device communication via
their respective drivers.
• It does the following activities for device management −
 Keeps tracks of all devices. Program responsible for this task is
known as the I/O controller.
 Decides which process gets the device when and for how much time.
 Allocates the device in the efficient way.
 De-allocates devices.
d. File Management
• A file system is normally organized into directories for easy
navigation and usage. These directories may contain files
and other directions.
• An Operating System does the following activities for file
management −
 Keeps track of information, location, uses, status etc. The collective
facilities are often known as file system.
 Decides who gets the resources.
 Allocates the resources.
 De-allocates the resources.
e. Security
By means of password and similar other techniques,
it prevents unauthorized access to programs and data.
f. Control over system performance
Recording delays between request for a service and
response from the system.
g. Job accounting
Keeping track of time and resources used by various
jobs and users.
h. Error detecting aids
Production of dumps, traces, error messages, and
other debugging and error detecting aids.
i. Coordination between other software's and users
Coordination and assignment of compilers,
interpreters, assemblers and other software to the
various users of the computer systems.
Computer System Structure
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
Four Components of a Computer System
What Operating Systems Do ?
o Depends on the point of view
o Users want convenience, ease of use and good performance
o Don’t care about resource utilization
o But shared computer such as mainframe or minicomputer
must keep all users happy
o Users of dedicate systems such as workstations have dedicated
resources but frequently use shared resources from servers
o Handheld computers are resource poor, optimized for usability
and battery life
o Some computers have little or no user interface, such as embedded
computers in devices and automobiles
Operating System Definition
• OS is a resource allocator
▫ Manages all resources
▫ Decides between conflicting requests for
efficient and fair resource use
• OS is a control program
▫ Controls execution of programs to prevent
errors and improper use of the computer
Operating System Definition (Cont.)
• Is a software program designed to act as an interface between
the user and the computer
• It is a collection of program and utilities
• It controls the computer hardware, manages the system
resources, and supervises the interaction between the system
and the user
• “The one program running at all times on the computer” is
the kernel.
• Everything else is either
▫ a system program (ships with the operating system) , or
▫ an application program.
Computer Startup
• 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
Computer System Organization
• Computer-system operation
▫ One or more CPUs, device controllers connect through common bus
providing access to shared memory
▫ Concurrent execution of CPUs and devices competing for memory
cycles
Computer-System Operation
• I/O devices and the CPU can execute concurrently
• Each device controller is in charge of a particular device
type
• Each device controller has a local buffer
• CPU moves data from/to main memory to/from local
buffers
• I/O is from the device to local buffer of controller
• Device controller informs CPU that it has finished its
operation by causing an interrupt
Common Functions of Interrupts
• Interrupt transfers control to the interrupt service routine
generally, through the interrupt vector, which contains
the addresses of all the service routines
• Interrupt architecture must save the address of the
interrupted instruction
• A trap or exception is a software-generated interrupt
caused either by an error or a user request
• An operating system is interrupt driven
Interrupt Handling
• The operating system preserves the state of the CPU by
storing registers and the program counter
• Determines which type of interrupt has occurred:
▫ polling
▫ vectored interrupt system
• Separate segments of code determine what action should
be taken for each type of interrupt
Interrupt Timeline
I/O Structure
• After I/O starts, control returns to user program only upon I/O completion
▫ Wait instruction idles the CPU until the next interrupt
▫ Wait loop (contention for memory access)
▫ At most one I/O request is outstanding at a time, no simultaneous I/O
processing
• After I/O starts, control returns to user program without waiting for I/O
completion
▫ System call – request to the OS to allow user to wait for I/O
completion
▫ Device-status table contains entry for each I/O device indicating its
type, address, and state
▫ OS indexes into I/O device table to determine device status and to
modify table entry to include interrupt
Storage Definitions and Notation Review
The basic unit of computer storage is the bit. A bit can contain one of two values, 0 and 1.
All other storage in a computer is based on collections of bits. Given enough bits, it is
amazing how many things a computer can represent: numbers, letters, images, movies,
sounds, documents, and programs, to name a few. A byte is 8 bits, and on most computers
it is the smallest convenient chunk of storage. For example, most computers don’t have an
instruction to move a bit but do have one to move a byte. A less common term is word,
which is a given computer architecture’s native unit of data. A word is made up of one or
more bytes. For example, a computer that has 64-bit registers and 64-bit memory
addressing typically has 64-bit (8-byte) words. A computer executes many operations in its
native word size rather than a byte at a time.
Computer storage, along with most computer throughput, is generally measured and
manipulated in bytes and collections of bytes.
A kilobyte, or KB, is 1,024 bytes
a megabyte, or MB, is 1,0242 bytes
a gigabyte, or GB, is 1,0243 bytes
a terabyte, or TB, is 1,0244 bytes
a petabyte, or PB, is 1,0245 bytes
Computer manufacturers often round off these numbers and say that a megabyte is 1
million bytes and a gigabyte is 1 billion bytes. Networking measurements are an exception
to this general rule; they are given in bits (because networks move data a bit at a time).
Storage Structure
• Main memory
▫ Random access
▫ Typically volatile
• Secondary storage
• Hard disks
Storage Hierarchy
• Storage systems organized in hierarchy
▫ Speed
▫ Cost
▫ Volatility
• Caching
• Device Driver
Storage-Device Hierarchy
How a Modern Computer Works
A von Neumann architecture
Computer-System Architecture
• single general-purpose processor
• Multiprocessors systems growing in use and importance
▫ Advantages include:
1. Increased throughput
2. Increased reliability – graceful degradation or fault tolerance
▫ Two types:
1. Asymmetric Multiprocessing
2. Symmetric Multiprocessing
Symmetric Multiprocessing Architecture
A Dual-Core Design
• Multi-chip and multicore
• Systems containing all chips
▫ Chassis containing multiple separate systems
Clustered Systems
• Like multiprocessor systems, but multiple systems working
together
▫ Usually sharing storage via a storage-area network (SAN)
▫ Provides a high-availability service which survives failures
 Asymmetric clustering has one machine in hot-standby mode
 Symmetric clustering has multiple nodes running
applications, monitoring each other
▫ Some clusters are for high-performance computing (HPC)
 Applications must be written to use parallelization
▫ Some have distributed lock manager (DLM) to avoid conflicting
operations
Clustered Systems
General structure of a clustered system.
Operating System Structure
• Multiprogramming(Batch system) needed for efficiency
▫ job scheduling
• Timesharing (multitasking)
▫ Response time should be < 1 second
▫ Each user has at least one program executing in memory process
▫ If several jobs ready to run at the same time  CPU scheduling
▫ If processes don’t fit in memory, swappingmoves them in and out to run
Memory Layout for Multiprogrammed System
Overview of OS
Operating-System Operations
• Interrupt driven (hardware and software)
▫ Hardware interrupt by one of the devices
▫ Software interrupt (exception or trap):
 Software error (e.g., division by zero)
 Request for operating system service
 Other process problems include infinite loop, processes
modifying each other or the operating system
Operating-System Operations (cont.)
• Dual-mode operation allows OS to protect itself
and other system components
▫ User mode and kernel mode
▫ Mode bit provided by hardware
• Increasingly CPUs support multi-mode operations
Transition from User to Kernel Mode
• Timer to prevent infinite loop / process hogging
resources
Computing Environments - Traditional
• Stand-alone general purpose machines
• But blurred as most systems interconnect with others (i.e., the
Internet)
• Portals provide web access to internal systems
• Network computers (thin clients) are like Web terminals
• Mobile computers interconnect via wireless networks
• Networking becoming ubiquitous – even home systems use firewalls
to protect home computers from Internet attacks
Evolution of Operating Systems
a. Simple Batch
• The users of a batch operating system do not interact with the
computer directly.
• Each user prepares his job on an off-line device like punch cards
and submits it to the computer operator.
• To speed up processing, jobs with similar needs are batched
together and run as a group.
• The programmers leave their programs with the operator and the
operator then sorts the programs with similar requirements into
batches.
• OS will responsible to track from one job to another.
Punch Cards
• Punch Card Reader
Advantages
•Batch processing takes much of the work of the operator to the computer.
•Increased performance as a new job get started as soon as the previous job is finished,
without any manual intervention.
Disadvantages
Difficult to debug program.
A job could enter an infinite loop.
Due to lack of protection scheme, one batch job can affect pending jobs.
b. Multiprogramming
• Sharing the processor, when two or more programs reside
in memory at the same time, is referred
as multiprogramming.
• Multiprogramming assumes a single shared processor.
• Multiprogramming increases CPU utilization by
organizing jobs so that the CPU always has one to execute.
Advantages
•High and efficient CPU utilization.
•User feels that many programs are
allotted CPU almost simultaneously.
Disadvantages
•CPU scheduling is required.
•To accommodate many jobs in memory,
memory management is required.
Activities:
• The operating system keeps several
jobs in memory at a time.
• This set of jobs is a subset of the jobs
kept in the job pool.
• The operating system picks and begins
to execute one of the jobs in the
memory.
• Multiprogramming operating systems
monitor the state of all active
programs and system resources using
memory management programs to
ensures that the CPU is never idle,
unless there are no jobs to process.
c. Time Shared/Multitasking System
• Multitasking is when multiple jobs are executed by the
CPU simultaneously by switching between them.
• Switches occur so frequently that the users may interact
with each program while it is running.
The user gives instructions to the operating system or to a
program directly, and receives an immediate response.
The OS handles multitasking in the way that it can handle
multiple operations/executes multiple programs at a time.
Multitasking Operating Systems are also known as Time-
sharing systems
• A time-shared operating system uses the concept of CPU scheduling and
multiprogramming to provide each user with a small portion of a
time-shared CPU.
• Each user has at least one separate program in memory.
d. Personal Computer
• A personal computer (PC) is a multi-
purpose computer whose size, capabilities, and price
make it feasible for individual use.[1
• Personal computers are intended to be operated directly
by an end user, rather than by a computer expert
or technician.
• Unlikelarge, costly minicomputers and mainframes, time-
sharing by many people at the same time is not used with
personal computers.
e. Parallel processing
• Parallel processing is a method in computing of
running two or more processors (CPUs) to handle
separate parts of an overall task.
• Breaking up different parts of a task among
multiple processors will help reduce the amount of
time to run a program.
• Any system that has more than one CPU can perform
parallel processing, as well as multi-core processors
which are commonly found on computers today
f. Distributed Computing
o Collection of separate, possibly heterogeneous, systems
networked together
 Network is a communications path, TCP/IP most
common
Local Area Network (LAN)
Wide Area Network (WAN)
Metropolitan Area Network (MAN)
Personal Area Network (PAN)
o Network Operating System provides features
between systems across network
Computing Environments – Client-Server
n Client-Server Computing
l Many systems now servers, responding to requests generated
by clients
 Compute-server system provides an interface to client to
request services (i.e., database)
 File-server system provides interface for clients to store
and retrieve files
Computing Environments - Peer-to-Peer
• Another model of distributed
system
• P2P does not distinguish
clients and servers
▫ Instead all nodes are
considered peers
▫ May each act as client, server
or both
▫ Node must join P2P network
▫ Examples include Napster and
Gnutella, Voice over IP
(VoIP) such as Skype
Computing Environments – Cloud Computing
• Delivers computing, storage, even apps as a service across a network
• Logical extension of virtualization because it uses virtualization as the base for it
functionality.
▫ Amazon EC2 has thousands of servers, millions of virtual machines, petabytes of
storage available across the Internet, pay based on usage
• Many types
▫ Public cloud – available via Internet to anyone willing to pay
▫ Private cloud – run by a company for the company’s own use
▫ Hybrid cloud – includes both public and private cloud components
▫ Software as a Service (SaaS) – one or more applications available via the Internet
(i.e., word processor)
▫ Platform as a Service (PaaS) – software stack ready for application use via the
Internet (i.e., a database server)
▫ Infrastructure as a Service (IaaS) – servers or storage available over Internet (i.e.,
storage available for backup use)
g. Real-Time Embedded Systems
• Real-time embedded systems most prevalent form of
computers
▫ Vary considerable, special purpose, limited purpose OS,
real-time OS
▫ Use expanding
• Many other special computing environments as well
▫ Some have OSes, some perform tasks without an OS
• Real-time OS has well-defined fixed time constraints
▫ Processing must be done within constraint
▫ Correct operation only if constraints met
h. Open-Source Operating Systems
• Operating systems made available in source-code format rather than
just binary closed-source
• Counter to the copy protection and Digital Rights
Management (DRM) movement
• Started by Free Software Foundation (FSF), which has
“copyleft” GNU Public License (GPL)
• Examples include GNU/Linux and BSD UNIX (including core of
Mac OS X), and many more
• Can use VMM like VMware Player (Free on Windows), Virtualbox
(open source and free on many platforms -
http://www.virtualbox.com)
▫ Use to run guest operating systems for exploration

More Related Content

What's hot

Operating Systems: Device Management
Operating Systems: Device ManagementOperating Systems: Device Management
Operating Systems: Device ManagementDamian T. Gordon
 
Cpu scheduling in operating System.
Cpu scheduling in operating System.Cpu scheduling in operating System.
Cpu scheduling in operating System.Ravi Kumar Patel
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory managementrprajat007
 
Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)Gaurav Aggarwal
 
introduction To Operating System
introduction To Operating Systemintroduction To Operating System
introduction To Operating SystemLuka M G
 
Operating Systems
Operating SystemsOperating Systems
Operating Systemsvampugani
 
6 multiprogramming & time sharing
6 multiprogramming & time sharing6 multiprogramming & time sharing
6 multiprogramming & time sharingmyrajendra
 
Memory management
Memory managementMemory management
Memory managementcpjcollege
 
CS4109 Computer System Architecture
CS4109 Computer System ArchitectureCS4109 Computer System Architecture
CS4109 Computer System Architecturektosri
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategiesSHREEHARI WADAWADAGI
 
Multi processor scheduling
Multi  processor schedulingMulti  processor scheduling
Multi processor schedulingShashank Kapoor
 
Semophores and it's types
Semophores and it's typesSemophores and it's types
Semophores and it's typesNishant Joshi
 
Operating system structures
Operating system structuresOperating system structures
Operating system structuresMohd Arif
 
Process management in os
Process management in osProcess management in os
Process management in osSumant Diwakar
 
Process management in os
Process management in osProcess management in os
Process management in osMiong Lazaro
 

What's hot (20)

Operating Systems: Device Management
Operating Systems: Device ManagementOperating Systems: Device Management
Operating Systems: Device Management
 
Cpu scheduling in operating System.
Cpu scheduling in operating System.Cpu scheduling in operating System.
Cpu scheduling in operating System.
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory management
 
Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)
 
introduction To Operating System
introduction To Operating Systemintroduction To Operating System
introduction To Operating System
 
Operating System PPT
Operating System PPTOperating System PPT
Operating System PPT
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
6 multiprogramming & time sharing
6 multiprogramming & time sharing6 multiprogramming & time sharing
6 multiprogramming & time sharing
 
Memory management
Memory managementMemory management
Memory management
 
Kernel (OS)
Kernel (OS)Kernel (OS)
Kernel (OS)
 
CS4109 Computer System Architecture
CS4109 Computer System ArchitectureCS4109 Computer System Architecture
CS4109 Computer System Architecture
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 
Os ppt
Os pptOs ppt
Os ppt
 
Multi processor scheduling
Multi  processor schedulingMulti  processor scheduling
Multi processor scheduling
 
Semophores and it's types
Semophores and it's typesSemophores and it's types
Semophores and it's types
 
Operating system structures
Operating system structuresOperating system structures
Operating system structures
 
Process management in os
Process management in osProcess management in os
Process management in os
 
Process management in os
Process management in osProcess management in os
Process management in os
 
Demand paging
Demand pagingDemand paging
Demand paging
 
Storage Structure in OS
Storage Structure in OSStorage Structure in OS
Storage Structure in OS
 

Similar to OS-Intro

os assignment -individual presenation.pptx
os assignment -individual presenation.pptxos assignment -individual presenation.pptx
os assignment -individual presenation.pptxEngrAliSarfrazSiddiq
 
Engg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdfEngg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdfnikhil287188
 
os unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systemsos unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systemsssuser6aef00
 
MK Sistem Operasi.pdf
MK Sistem Operasi.pdfMK Sistem Operasi.pdf
MK Sistem Operasi.pdfwisard1
 
4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John LadoMark John Lado, MIT
 
Operating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfOperating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfFahanaAbdulVahab
 
Operating System chapter 1.pptx
Operating System chapter 1.pptxOperating System chapter 1.pptx
Operating System chapter 1.pptxGevitaChinnaiah
 
Introduction to Operating Systems.pdf
Introduction to Operating Systems.pdfIntroduction to Operating Systems.pdf
Introduction to Operating Systems.pdfHarika Pudugosula
 
operatinndnd jdj jjrg-system-1(1) (1).pptx
operatinndnd jdj jjrg-system-1(1) (1).pptxoperatinndnd jdj jjrg-system-1(1) (1).pptx
operatinndnd jdj jjrg-system-1(1) (1).pptxkrishnajoshi70
 

Similar to OS-Intro (20)

os assignment -individual presenation.pptx
os assignment -individual presenation.pptxos assignment -individual presenation.pptx
os assignment -individual presenation.pptx
 
PROJECT 3.pptx
PROJECT 3.pptxPROJECT 3.pptx
PROJECT 3.pptx
 
OS Content.pdf
OS Content.pdfOS Content.pdf
OS Content.pdf
 
Engg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdfEngg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdf
 
OS chapter 1.pptx
OS chapter 1.pptxOS chapter 1.pptx
OS chapter 1.pptx
 
OS chapter 1.pptx
OS chapter 1.pptxOS chapter 1.pptx
OS chapter 1.pptx
 
os unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systemsos unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systems
 
MK Sistem Operasi.pdf
MK Sistem Operasi.pdfMK Sistem Operasi.pdf
MK Sistem Operasi.pdf
 
4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado
 
Operating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfOperating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdf
 
OS Intro.ppt
OS Intro.pptOS Intro.ppt
OS Intro.ppt
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
 
Operating System chapter 1.pptx
Operating System chapter 1.pptxOperating System chapter 1.pptx
Operating System chapter 1.pptx
 
Introduction to operating systems
 Introduction to operating systems Introduction to operating systems
Introduction to operating systems
 
Os unit i
Os unit iOs unit i
Os unit i
 
Introduction to Operating Systems.pdf
Introduction to Operating Systems.pdfIntroduction to Operating Systems.pdf
Introduction to Operating Systems.pdf
 
operatinndnd jdj jjrg-system-1(1) (1).pptx
operatinndnd jdj jjrg-system-1(1) (1).pptxoperatinndnd jdj jjrg-system-1(1) (1).pptx
operatinndnd jdj jjrg-system-1(1) (1).pptx
 
1. Introduction to OS.ppt
1. Introduction to OS.ppt1. Introduction to OS.ppt
1. Introduction to OS.ppt
 

Recently uploaded

Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 

Recently uploaded (20)

Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 

OS-Intro

  • 2. Course Outcomes: 1. Understand the basic functions of Operating systems and system calls. 2. Analyze process scheduling and synchronization. 3. Understand the concepts of memory management. 4. Examine the concepts of MASS storage structure 5. Compare different protection methods of OS and understand the deadlock concepts. At the end of the course, student will be able to:
  • 3. Operating System Introduction UNIT – I Chap_1 TEXT BOOKS 1. Abraham Silberchatz, Peter B. Galvin, Greg Gagne 8th Edition 2. W. Stallings, 6th Edition,
  • 4. Contents What is an operating System? Operating Systems Objectives and functions OS Structure OS Operations Evolution of Operating Systems
  • 5. What is an Operating System? • A program that acts as an intermediary between a user of a computer and the computer hardware • Operating system goals: Execute user programs and make solving user problems easier Make the computer system convenient to use Use the computer hardware in an efficient manner
  • 6. Operating System Objectives • To make the computer system convenient to use in an efficient manner. • To provide users a convenient interface to use the computer system. • To act as an intermediary between the hardware and its users, making it easier for the users to access and use other resources. • To manage the resources of a computer system. • To keep track of who is using which resource, granting resource requests, and mediating conflicting requests from different programs and users. • To provide efficient and fair sharing of resources among users and programs.
  • 7. Operating System Functions An operating system has three main functions: (1) Manage the computer's resources, such as the central processing unit, memory, disk drives, and printers (2) Establish a user interface, and (3) Execute and provide services for applications software.
  • 8. Following are some of important functions of an operating System • Memory Management • Processor Management • Device Management • File Management • Security • Control over system performance • Job accounting • Error detecting aids • Coordination between other software and users
  • 9. a. Memory Management • Memory management refers to management of Primary Memory or Main Memory. Main memory is a large array of words or bytes where each word or byte has its own address. • Main memory provides a fast storage that can be accessed directly by the CPU. For a program to be executed, it must in the main memory. • An Operating System does the following activities for memory management −  Keeps tracks of primary memory, i.e., what part of it are in use by whom, what part are not in use.  In multiprogramming, the OS decides which process will get memory when and how much.  Allocates the memory when a process requests it to do so.  De-allocates the memory when a process no longer needs it or has been terminated.
  • 10. b. Processor Management • In multiprogramming environment, the OS decides which process gets the processor when and for how much time. This function is called process scheduling. • An Operating System does the following activities for processor management −  Keeps tracks of processor and status of process. The program responsible for this task is known as traffic controller.  Allocates the processor (CPU) to a process.  De-allocates processor when a process is no longer required.
  • 11. c. Device Management • An Operating System manages device communication via their respective drivers. • It does the following activities for device management −  Keeps tracks of all devices. Program responsible for this task is known as the I/O controller.  Decides which process gets the device when and for how much time.  Allocates the device in the efficient way.  De-allocates devices.
  • 12. d. File Management • A file system is normally organized into directories for easy navigation and usage. These directories may contain files and other directions. • An Operating System does the following activities for file management −  Keeps track of information, location, uses, status etc. The collective facilities are often known as file system.  Decides who gets the resources.  Allocates the resources.  De-allocates the resources.
  • 13. e. Security By means of password and similar other techniques, it prevents unauthorized access to programs and data. f. Control over system performance Recording delays between request for a service and response from the system. g. Job accounting Keeping track of time and resources used by various jobs and users.
  • 14. h. Error detecting aids Production of dumps, traces, error messages, and other debugging and error detecting aids. i. Coordination between other software's and users Coordination and assignment of compilers, interpreters, assemblers and other software to the various users of the computer systems.
  • 15. Computer System Structure 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
  • 16. Four Components of a Computer System
  • 17.
  • 18. What Operating Systems Do ? o Depends on the point of view o Users want convenience, ease of use and good performance o Don’t care about resource utilization o But shared computer such as mainframe or minicomputer must keep all users happy o Users of dedicate systems such as workstations have dedicated resources but frequently use shared resources from servers o Handheld computers are resource poor, optimized for usability and battery life o Some computers have little or no user interface, such as embedded computers in devices and automobiles
  • 19. Operating System Definition • OS is a resource allocator ▫ Manages all resources ▫ Decides between conflicting requests for efficient and fair resource use • OS is a control program ▫ Controls execution of programs to prevent errors and improper use of the computer
  • 20. Operating System Definition (Cont.) • Is a software program designed to act as an interface between the user and the computer • It is a collection of program and utilities • It controls the computer hardware, manages the system resources, and supervises the interaction between the system and the user • “The one program running at all times on the computer” is the kernel. • Everything else is either ▫ a system program (ships with the operating system) , or ▫ an application program.
  • 21. Computer Startup • 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
  • 22. Computer System Organization • Computer-system operation ▫ One or more CPUs, device controllers connect through common bus providing access to shared memory ▫ Concurrent execution of CPUs and devices competing for memory cycles
  • 23. Computer-System Operation • I/O devices and the CPU can execute concurrently • Each device controller is in charge of a particular device type • Each device controller has a local buffer • CPU moves data from/to main memory to/from local buffers • I/O is from the device to local buffer of controller • Device controller informs CPU that it has finished its operation by causing an interrupt
  • 24. Common Functions of Interrupts • Interrupt transfers control to the interrupt service routine generally, through the interrupt vector, which contains the addresses of all the service routines • Interrupt architecture must save the address of the interrupted instruction • A trap or exception is a software-generated interrupt caused either by an error or a user request • An operating system is interrupt driven
  • 25. Interrupt Handling • The operating system preserves the state of the CPU by storing registers and the program counter • Determines which type of interrupt has occurred: ▫ polling ▫ vectored interrupt system • Separate segments of code determine what action should be taken for each type of interrupt
  • 27. I/O Structure • After I/O starts, control returns to user program only upon I/O completion ▫ Wait instruction idles the CPU until the next interrupt ▫ Wait loop (contention for memory access) ▫ At most one I/O request is outstanding at a time, no simultaneous I/O processing • After I/O starts, control returns to user program without waiting for I/O completion ▫ System call – request to the OS to allow user to wait for I/O completion ▫ Device-status table contains entry for each I/O device indicating its type, address, and state ▫ OS indexes into I/O device table to determine device status and to modify table entry to include interrupt
  • 28. Storage Definitions and Notation Review The basic unit of computer storage is the bit. A bit can contain one of two values, 0 and 1. All other storage in a computer is based on collections of bits. Given enough bits, it is amazing how many things a computer can represent: numbers, letters, images, movies, sounds, documents, and programs, to name a few. A byte is 8 bits, and on most computers it is the smallest convenient chunk of storage. For example, most computers don’t have an instruction to move a bit but do have one to move a byte. A less common term is word, which is a given computer architecture’s native unit of data. A word is made up of one or more bytes. For example, a computer that has 64-bit registers and 64-bit memory addressing typically has 64-bit (8-byte) words. A computer executes many operations in its native word size rather than a byte at a time. Computer storage, along with most computer throughput, is generally measured and manipulated in bytes and collections of bytes. A kilobyte, or KB, is 1,024 bytes a megabyte, or MB, is 1,0242 bytes a gigabyte, or GB, is 1,0243 bytes a terabyte, or TB, is 1,0244 bytes a petabyte, or PB, is 1,0245 bytes Computer manufacturers often round off these numbers and say that a megabyte is 1 million bytes and a gigabyte is 1 billion bytes. Networking measurements are an exception to this general rule; they are given in bits (because networks move data a bit at a time).
  • 29. Storage Structure • Main memory ▫ Random access ▫ Typically volatile • Secondary storage • Hard disks
  • 30. Storage Hierarchy • Storage systems organized in hierarchy ▫ Speed ▫ Cost ▫ Volatility • Caching • Device Driver
  • 32. How a Modern Computer Works A von Neumann architecture
  • 33. Computer-System Architecture • single general-purpose processor • Multiprocessors systems growing in use and importance ▫ Advantages include: 1. Increased throughput 2. Increased reliability – graceful degradation or fault tolerance ▫ Two types: 1. Asymmetric Multiprocessing 2. Symmetric Multiprocessing
  • 35. A Dual-Core Design • Multi-chip and multicore • Systems containing all chips ▫ Chassis containing multiple separate systems
  • 36. Clustered Systems • Like multiprocessor systems, but multiple systems working together ▫ Usually sharing storage via a storage-area network (SAN) ▫ Provides a high-availability service which survives failures  Asymmetric clustering has one machine in hot-standby mode  Symmetric clustering has multiple nodes running applications, monitoring each other ▫ Some clusters are for high-performance computing (HPC)  Applications must be written to use parallelization ▫ Some have distributed lock manager (DLM) to avoid conflicting operations
  • 37. Clustered Systems General structure of a clustered system.
  • 38. Operating System Structure • Multiprogramming(Batch system) needed for efficiency ▫ job scheduling • Timesharing (multitasking) ▫ Response time should be < 1 second ▫ Each user has at least one program executing in memory process ▫ If several jobs ready to run at the same time  CPU scheduling ▫ If processes don’t fit in memory, swappingmoves them in and out to run
  • 39. Memory Layout for Multiprogrammed System
  • 41. Operating-System Operations • Interrupt driven (hardware and software) ▫ Hardware interrupt by one of the devices ▫ Software interrupt (exception or trap):  Software error (e.g., division by zero)  Request for operating system service  Other process problems include infinite loop, processes modifying each other or the operating system
  • 42. Operating-System Operations (cont.) • Dual-mode operation allows OS to protect itself and other system components ▫ User mode and kernel mode ▫ Mode bit provided by hardware • Increasingly CPUs support multi-mode operations
  • 43. Transition from User to Kernel Mode • Timer to prevent infinite loop / process hogging resources
  • 44. Computing Environments - Traditional • Stand-alone general purpose machines • But blurred as most systems interconnect with others (i.e., the Internet) • Portals provide web access to internal systems • Network computers (thin clients) are like Web terminals • Mobile computers interconnect via wireless networks • Networking becoming ubiquitous – even home systems use firewalls to protect home computers from Internet attacks Evolution of Operating Systems
  • 45. a. Simple Batch • The users of a batch operating system do not interact with the computer directly. • Each user prepares his job on an off-line device like punch cards and submits it to the computer operator. • To speed up processing, jobs with similar needs are batched together and run as a group. • The programmers leave their programs with the operator and the operator then sorts the programs with similar requirements into batches. • OS will responsible to track from one job to another.
  • 46. Punch Cards • Punch Card Reader
  • 47. Advantages •Batch processing takes much of the work of the operator to the computer. •Increased performance as a new job get started as soon as the previous job is finished, without any manual intervention. Disadvantages Difficult to debug program. A job could enter an infinite loop. Due to lack of protection scheme, one batch job can affect pending jobs.
  • 48. b. Multiprogramming • Sharing the processor, when two or more programs reside in memory at the same time, is referred as multiprogramming. • Multiprogramming assumes a single shared processor. • Multiprogramming increases CPU utilization by organizing jobs so that the CPU always has one to execute. Advantages •High and efficient CPU utilization. •User feels that many programs are allotted CPU almost simultaneously. Disadvantages •CPU scheduling is required. •To accommodate many jobs in memory, memory management is required.
  • 49. Activities: • The operating system keeps several jobs in memory at a time. • This set of jobs is a subset of the jobs kept in the job pool. • The operating system picks and begins to execute one of the jobs in the memory. • Multiprogramming operating systems monitor the state of all active programs and system resources using memory management programs to ensures that the CPU is never idle, unless there are no jobs to process.
  • 50. c. Time Shared/Multitasking System • Multitasking is when multiple jobs are executed by the CPU simultaneously by switching between them. • Switches occur so frequently that the users may interact with each program while it is running. The user gives instructions to the operating system or to a program directly, and receives an immediate response. The OS handles multitasking in the way that it can handle multiple operations/executes multiple programs at a time. Multitasking Operating Systems are also known as Time- sharing systems
  • 51. • A time-shared operating system uses the concept of CPU scheduling and multiprogramming to provide each user with a small portion of a time-shared CPU. • Each user has at least one separate program in memory.
  • 52. d. Personal Computer • A personal computer (PC) is a multi- purpose computer whose size, capabilities, and price make it feasible for individual use.[1 • Personal computers are intended to be operated directly by an end user, rather than by a computer expert or technician. • Unlikelarge, costly minicomputers and mainframes, time- sharing by many people at the same time is not used with personal computers.
  • 53.
  • 54. e. Parallel processing • Parallel processing is a method in computing of running two or more processors (CPUs) to handle separate parts of an overall task. • Breaking up different parts of a task among multiple processors will help reduce the amount of time to run a program. • Any system that has more than one CPU can perform parallel processing, as well as multi-core processors which are commonly found on computers today
  • 55.
  • 56. f. Distributed Computing o Collection of separate, possibly heterogeneous, systems networked together  Network is a communications path, TCP/IP most common Local Area Network (LAN) Wide Area Network (WAN) Metropolitan Area Network (MAN) Personal Area Network (PAN) o Network Operating System provides features between systems across network
  • 57. Computing Environments – Client-Server n Client-Server Computing l Many systems now servers, responding to requests generated by clients  Compute-server system provides an interface to client to request services (i.e., database)  File-server system provides interface for clients to store and retrieve files
  • 58. Computing Environments - Peer-to-Peer • Another model of distributed system • P2P does not distinguish clients and servers ▫ Instead all nodes are considered peers ▫ May each act as client, server or both ▫ Node must join P2P network ▫ Examples include Napster and Gnutella, Voice over IP (VoIP) such as Skype
  • 59. Computing Environments – Cloud Computing • Delivers computing, storage, even apps as a service across a network • Logical extension of virtualization because it uses virtualization as the base for it functionality. ▫ Amazon EC2 has thousands of servers, millions of virtual machines, petabytes of storage available across the Internet, pay based on usage • Many types ▫ Public cloud – available via Internet to anyone willing to pay ▫ Private cloud – run by a company for the company’s own use ▫ Hybrid cloud – includes both public and private cloud components ▫ Software as a Service (SaaS) – one or more applications available via the Internet (i.e., word processor) ▫ Platform as a Service (PaaS) – software stack ready for application use via the Internet (i.e., a database server) ▫ Infrastructure as a Service (IaaS) – servers or storage available over Internet (i.e., storage available for backup use)
  • 60. g. Real-Time Embedded Systems • Real-time embedded systems most prevalent form of computers ▫ Vary considerable, special purpose, limited purpose OS, real-time OS ▫ Use expanding • Many other special computing environments as well ▫ Some have OSes, some perform tasks without an OS • Real-time OS has well-defined fixed time constraints ▫ Processing must be done within constraint ▫ Correct operation only if constraints met
  • 61.
  • 62. h. Open-Source Operating Systems • Operating systems made available in source-code format rather than just binary closed-source • Counter to the copy protection and Digital Rights Management (DRM) movement • Started by Free Software Foundation (FSF), which has “copyleft” GNU Public License (GPL) • Examples include GNU/Linux and BSD UNIX (including core of Mac OS X), and many more • Can use VMM like VMware Player (Free on Windows), Virtualbox (open source and free on many platforms - http://www.virtualbox.com) ▫ Use to run guest operating systems for exploration