SlideShare a Scribd company logo
1 of 22
Download to read offline
1 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
O P E R A T I N G S Y S T E M S
Module 1 : Introduction
• What is an operating system?
• Simple Batch Systems
• Multiprogramming Batched Systems
• Time-Sharing Systems
• Personal-Computer Systems
• Parallel Systems
• Distributed Systems
• Real -Time Systems
2 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
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.
3 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Computer System Components
1. Hardware – provides basic computing resources (CPU, memory,
I/O devices).
2. Operating system – controls and coordinates the use of the
hardware among the various application programs for the various
users.
3. Applications programs – define the ways in which the system
resources are used to solve the computing problems of the users
(compilers, database systems, video games, business
programs).
4. Users (people, machines, other computers).
4 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Abstract View of System Components
5 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Operating System Definitions
• Resource allocator – manages and allocates resources.
• Control program – controls the execution of user programs and
operations of I/O devices .
• Kernel – the one program running at all times (all else being
application programs).
6 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Simple Batch Systems
• Hire an operator
• User  operator
• Add a card reader
• Reduce setup time by batching similar jobs
• Automatic job sequencing – automatically transfers control from
one job to another. First rudimentary operating system.
• Resident monitor
– initial control in monitor
– control transfers to job
– when job completes control transfers back to monitor
7 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Memory Layout for a Simple Batch System
8 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Control Cards
• Problems
1. How does the monitor know about the nature of the job
(e.g., Fortran versus Assembly) or which program to
execute?
2. How does the monitor distinguish
(a) job from job?
(b) data from program?
• Solution
– Introduce control cards
9 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Control Cards (Cont.)
• Special cards that tell the resident monitor which programs to run
$JOB
$FTN
$RUN
$DATA
$END
• Special characters distinguish control cards from data or program
cards:
$ in column 1
// in column 1 and 2
709 in column1
10 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Control Cards (Cont.)
• Parts of resident monitor
– Control card interpreter – responsible for reading and
carrying out instructions on the cards.
– Loader – loads systems programs and applications
programs into memory.
– Device drivers – know special characteristics and properties
for each of the system’s I/O devices.
• Problem: Slow Performance – I/O and CPU could not overlap ;
card reader very slow.
• Solution: Off-line operation – speed up computation by loading
jobs into memory from tapes and card reading and line printing
done off-line.
11 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Spooling
• Overlap I/O of one job with computation of another job. While
executing one job, the OS.
– Reads next job from card reader into a storage area on the
disk (job queue).
– Outputs printout of previous job from disk to printer.
• Job pool – data structure that allows the OS to select which job to
run next in order to increase CPU utilization.
12 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Multiprogrammed Batch Systems
Several jobs are kept in main memory at the same time, and the
CPU is multiplexed among them.
13 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
OS Features Needed for Multiprogramming
• I/O routine supplied by the system.
• Memory management – the system must allocate the memory to
several jobs.
• CPU scheduling – the system must choose among several jobs
ready to run.
• Allocation of devices.
14 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Time-Sharing Systems–Interactive Computing
• The CPU is multiplexed among several jobs that are kept in
memory and on disk (the CPU is allocated to a job only if the job
is in memory).
• A job is swapped in and out of memory to the disk.
• On-line communication between the user and the system is
provided; when the operating system finishes the execution of
one command, it seeks the next “control statement” not from a
card reader, but rather from the user’s keyboard.
• On-line system must be available for users to access data and
code.
15 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Personal-Computer Systems
• Personal computers – computer system dedicated to a single
user.
• I/O devices – keyboards, mice, display screens, small printers.
• User convenience and responsiveness.
• Can adopt technology developed for larger operating system’
often individuals have sole use of computer and do not need
advanced CPU utilization of protection features.
16 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Migration of Operating-System Concepts and Features
17 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Parallel Systems
• Multiprocessor systems with more than one CPU in close
communication.
• Tightly coupled system – processors share memory and a clock;
communication usually takes place through the shared memory.
• Advantages of parallel system:
– Increased throughput
– Economical
– Increased reliability
 graceful degradation
 fail-soft systems
18 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Parallel Systems (Cont.)
• Symmetric multiprocessing (SMP)
– Each processor runs an identical copy of the operating
system.
– Many processes can run at once without performance
deterioration.
– Most modern operating systems support SMP
• Asymmetric multiprocessing
– Each processor is assigned a specific task; master
processor schedules and allocates work to slave processors.
– More common in extremely large systems
19 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Symmetric Multiprocessing Architecture
20 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Real-Time Systems
• Often used as a control device in a dedicated application such as
controlling scientific experiments, medical imaging systems,
industrial control systems, and some display systems.
• Well-defined fixed-time constraints.
• Hard real-time system.
– Secondary storage limited or absent, data stored in short-term
memory, or read-only memory (ROM)
– Conflicts with time-sharing systems, not supported by general-
purpose operating systems.
• Soft real-time system
– Limited utility in industrial control or robotics
– Useful in applications (multimedia, virtual reality) requiring
advanced operating-system features.
21 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Distributed Systems
• Distribute the computation among several physical processors.
• Loosely coupled system – each processor has its own local
memory; processors communicate with one another through
various communications lines, such as high-speed buses or
telephone lines.
• Advantages of distributed systems.
– Resources Sharing
– Computation speed up – load sharing
– Reliability
– Communications
22 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/
Distributed Systems (Cont.)
• Network Operating System
– provides file sharing
– provides communication scheme
– runs independently from other computers on the network
• Distributed Operating System
– less autonomy between computers
– gives the impression there is a single operating system
controlling the network.

More Related Content

What's hot

Real Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsReal Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsHariharan Ganesan
 
The survey on real time operating systems (1)
The survey on real time operating systems (1)The survey on real time operating systems (1)
The survey on real time operating systems (1)manojkumarsmks
 
Operating System Introduction - Definition, Working, Components
Operating System Introduction - Definition, Working, ComponentsOperating System Introduction - Definition, Working, Components
Operating System Introduction - Definition, Working, ComponentsNithesh Shetty
 
Os rtos.ppt
Os rtos.pptOs rtos.ppt
Os rtos.pptrahul km
 
Real Time Kernels
Real Time KernelsReal Time Kernels
Real Time KernelsArnav Soni
 
RTOS implementation
RTOS implementationRTOS implementation
RTOS implementationRajan Kumar
 
Unit 4 Real Time Operating System
Unit 4 Real Time Operating SystemUnit 4 Real Time Operating System
Unit 4 Real Time Operating SystemDr. Pankaj Zope
 
Rtos princples adn case study
Rtos princples adn case studyRtos princples adn case study
Rtos princples adn case studyvanamali_vanu
 
REAL TIME OPERATING SYSTEM PART 1
REAL TIME OPERATING SYSTEM PART 1REAL TIME OPERATING SYSTEM PART 1
REAL TIME OPERATING SYSTEM PART 1Embeddedcraft Craft
 
11. operating-systems-part-2
11. operating-systems-part-211. operating-systems-part-2
11. operating-systems-part-2Muhammad Ahad
 

What's hot (20)

Real Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsReal Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systems
 
The survey on real time operating systems (1)
The survey on real time operating systems (1)The survey on real time operating systems (1)
The survey on real time operating systems (1)
 
RT linux
RT linuxRT linux
RT linux
 
Operating System Introduction - Definition, Working, Components
Operating System Introduction - Definition, Working, ComponentsOperating System Introduction - Definition, Working, Components
Operating System Introduction - Definition, Working, Components
 
Os rtos.ppt
Os rtos.pptOs rtos.ppt
Os rtos.ppt
 
Real Time Kernels
Real Time KernelsReal Time Kernels
Real Time Kernels
 
RTOS implementation
RTOS implementationRTOS implementation
RTOS implementation
 
How to choose an RTOS?
How to choose an RTOS?How to choose an RTOS?
How to choose an RTOS?
 
Unit 4 Real Time Operating System
Unit 4 Real Time Operating SystemUnit 4 Real Time Operating System
Unit 4 Real Time Operating System
 
Rtos princples adn case study
Rtos princples adn case studyRtos princples adn case study
Rtos princples adn case study
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating System
 
Ch1
Ch1Ch1
Ch1
 
Processors
ProcessorsProcessors
Processors
 
Rtos
RtosRtos
Rtos
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
 
REAL TIME OPERATING SYSTEM PART 1
REAL TIME OPERATING SYSTEM PART 1REAL TIME OPERATING SYSTEM PART 1
REAL TIME OPERATING SYSTEM PART 1
 
11. operating-systems-part-2
11. operating-systems-part-211. operating-systems-part-2
11. operating-systems-part-2
 
Embedded system - embedded system programming
Embedded system - embedded system programmingEmbedded system - embedded system programming
Embedded system - embedded system programming
 
Os2
Os2Os2
Os2
 
RTOS Basic Concepts
RTOS Basic ConceptsRTOS Basic Concepts
RTOS Basic Concepts
 

Similar to Operating System-Ch1 introduction

Similar to Operating System-Ch1 introduction (20)

Ch1
Ch1Ch1
Ch1
 
Operating System-Ch2 computer system structures
Operating System-Ch2 computer system structuresOperating System-Ch2 computer system structures
Operating System-Ch2 computer system structures
 
Operating System Unit 1
Operating System Unit 1Operating System Unit 1
Operating System Unit 1
 
Galvin-operating System(Ch1)
Galvin-operating System(Ch1)Galvin-operating System(Ch1)
Galvin-operating System(Ch1)
 
EE469-ch1.pptx
EE469-ch1.pptxEE469-ch1.pptx
EE469-ch1.pptx
 
EE469-ch1.pptx
EE469-ch1.pptxEE469-ch1.pptx
EE469-ch1.pptx
 
OS_MD_1.pdf
OS_MD_1.pdfOS_MD_1.pdf
OS_MD_1.pdf
 
Operating System Overview.pdf
Operating System Overview.pdfOperating System Overview.pdf
Operating System Overview.pdf
 
ch1.ppt
ch1.pptch1.ppt
ch1.ppt
 
intro, definitions, basic laws+.pptx
intro, definitions, basic laws+.pptxintro, definitions, basic laws+.pptx
intro, definitions, basic laws+.pptx
 
Operating system lecture1
Operating system lecture1Operating system lecture1
Operating system lecture1
 
Operating System
Operating SystemOperating System
Operating System
 
Operating system
Operating systemOperating system
Operating system
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 
9781285096551_PPT_ch01.pptx
9781285096551_PPT_ch01.pptx9781285096551_PPT_ch01.pptx
9781285096551_PPT_ch01.pptx
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
Lec 3
Lec 3 Lec 3
Lec 3
 
Embedded systems introduction
Embedded systems introductionEmbedded systems introduction
Embedded systems introduction
 
Embedded Systems Introduction
Embedded Systems IntroductionEmbedded Systems Introduction
Embedded Systems Introduction
 
19EICN
19EICN19EICN
19EICN
 

More from Syaiful Ahdan

Sertifikat EC00202128391
 Sertifikat EC00202128391 Sertifikat EC00202128391
Sertifikat EC00202128391Syaiful Ahdan
 
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...Syaiful Ahdan
 
Sertifikat ec00202059774
Sertifikat ec00202059774Sertifikat ec00202059774
Sertifikat ec00202059774Syaiful Ahdan
 
Sertifikat ec00202059775
Sertifikat ec00202059775Sertifikat ec00202059775
Sertifikat ec00202059775Syaiful Ahdan
 
Sertifikat EC00202045078
Sertifikat EC00202045078Sertifikat EC00202045078
Sertifikat EC00202045078Syaiful Ahdan
 
Sertifikat EC00202044723
 Sertifikat EC00202044723 Sertifikat EC00202044723
Sertifikat EC00202044723Syaiful Ahdan
 
Sertifikat EC00202023523
Sertifikat EC00202023523Sertifikat EC00202023523
Sertifikat EC00202023523Syaiful Ahdan
 
Sertifikat EC00201826309
Sertifikat EC00201826309Sertifikat EC00201826309
Sertifikat EC00201826309Syaiful Ahdan
 
Sertifikat EC00202023149
Sertifikat EC00202023149Sertifikat EC00202023149
Sertifikat EC00202023149Syaiful Ahdan
 
Sertifikat EC00202022868
Sertifikat EC00202022868Sertifikat EC00202022868
Sertifikat EC00202022868Syaiful Ahdan
 
Sertifikat EC00202021343
Sertifikat EC00202021343Sertifikat EC00202021343
Sertifikat EC00202021343Syaiful Ahdan
 
Sertifikat EC00202022755
Sertifikat EC00202022755Sertifikat EC00202022755
Sertifikat EC00202022755Syaiful Ahdan
 
Sertifikat EC00201987196
Sertifikat EC00201987196Sertifikat EC00201987196
Sertifikat EC00201987196Syaiful Ahdan
 
Sertifikat EC00201856484
Sertifikat EC00201856484Sertifikat EC00201856484
Sertifikat EC00201856484Syaiful Ahdan
 
Sertifikat EC00201856352
Sertifikat EC00201856352Sertifikat EC00201856352
Sertifikat EC00201856352Syaiful Ahdan
 
Sertifikat EC00201856994
Sertifikat EC00201856994Sertifikat EC00201856994
Sertifikat EC00201856994Syaiful Ahdan
 
Sertifikat EC00201856895
Sertifikat EC00201856895Sertifikat EC00201856895
Sertifikat EC00201856895Syaiful Ahdan
 
Meeting 2 introdcution network administrator
Meeting 2   introdcution network administratorMeeting 2   introdcution network administrator
Meeting 2 introdcution network administratorSyaiful Ahdan
 

More from Syaiful Ahdan (20)

Sertifikat EC00202128391
 Sertifikat EC00202128391 Sertifikat EC00202128391
Sertifikat EC00202128391
 
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
 
Sertifikat ec00202059774
Sertifikat ec00202059774Sertifikat ec00202059774
Sertifikat ec00202059774
 
Sertifikat ec00202059775
Sertifikat ec00202059775Sertifikat ec00202059775
Sertifikat ec00202059775
 
Sertifikat EC00202045078
Sertifikat EC00202045078Sertifikat EC00202045078
Sertifikat EC00202045078
 
Sertifikat EC00202044723
 Sertifikat EC00202044723 Sertifikat EC00202044723
Sertifikat EC00202044723
 
Sertifikat EC00202023523
Sertifikat EC00202023523Sertifikat EC00202023523
Sertifikat EC00202023523
 
Sertifikat EC00201826309
Sertifikat EC00201826309Sertifikat EC00201826309
Sertifikat EC00201826309
 
Sertifikat EC00202023149
Sertifikat EC00202023149Sertifikat EC00202023149
Sertifikat EC00202023149
 
Sertifikat EC00202022868
Sertifikat EC00202022868Sertifikat EC00202022868
Sertifikat EC00202022868
 
Sertifikat EC00202021343
Sertifikat EC00202021343Sertifikat EC00202021343
Sertifikat EC00202021343
 
Sertifikat EC00202022755
Sertifikat EC00202022755Sertifikat EC00202022755
Sertifikat EC00202022755
 
Sertifikat EC00201987196
Sertifikat EC00201987196Sertifikat EC00201987196
Sertifikat EC00201987196
 
Sertifikat EC00201856484
Sertifikat EC00201856484Sertifikat EC00201856484
Sertifikat EC00201856484
 
Sertifikat EC00201856352
Sertifikat EC00201856352Sertifikat EC00201856352
Sertifikat EC00201856352
 
Sertifikat EC00201856994
Sertifikat EC00201856994Sertifikat EC00201856994
Sertifikat EC00201856994
 
Sertifikat EC00201856895
Sertifikat EC00201856895Sertifikat EC00201856895
Sertifikat EC00201856895
 
Meeting 2 introdcution network administrator
Meeting 2   introdcution network administratorMeeting 2   introdcution network administrator
Meeting 2 introdcution network administrator
 
Pertemuan 5
Pertemuan 5Pertemuan 5
Pertemuan 5
 
Pertemuan 4
Pertemuan 4Pertemuan 4
Pertemuan 4
 

Recently uploaded

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 

Recently uploaded (20)

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 

Operating System-Ch1 introduction

  • 1. 1 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ O P E R A T I N G S Y S T E M S Module 1 : Introduction • What is an operating system? • Simple Batch Systems • Multiprogramming Batched Systems • Time-Sharing Systems • Personal-Computer Systems • Parallel Systems • Distributed Systems • Real -Time Systems
  • 2. 2 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ 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.
  • 3. 3 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Computer System Components 1. Hardware – provides basic computing resources (CPU, memory, I/O devices). 2. Operating system – controls and coordinates the use of the hardware among the various application programs for the various users. 3. Applications programs – define the ways in which the system resources are used to solve the computing problems of the users (compilers, database systems, video games, business programs). 4. Users (people, machines, other computers).
  • 4. 4 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Abstract View of System Components
  • 5. 5 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Operating System Definitions • Resource allocator – manages and allocates resources. • Control program – controls the execution of user programs and operations of I/O devices . • Kernel – the one program running at all times (all else being application programs).
  • 6. 6 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Simple Batch Systems • Hire an operator • User  operator • Add a card reader • Reduce setup time by batching similar jobs • Automatic job sequencing – automatically transfers control from one job to another. First rudimentary operating system. • Resident monitor – initial control in monitor – control transfers to job – when job completes control transfers back to monitor
  • 7. 7 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Memory Layout for a Simple Batch System
  • 8. 8 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Control Cards • Problems 1. How does the monitor know about the nature of the job (e.g., Fortran versus Assembly) or which program to execute? 2. How does the monitor distinguish (a) job from job? (b) data from program? • Solution – Introduce control cards
  • 9. 9 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Control Cards (Cont.) • Special cards that tell the resident monitor which programs to run $JOB $FTN $RUN $DATA $END • Special characters distinguish control cards from data or program cards: $ in column 1 // in column 1 and 2 709 in column1
  • 10. 10 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Control Cards (Cont.) • Parts of resident monitor – Control card interpreter – responsible for reading and carrying out instructions on the cards. – Loader – loads systems programs and applications programs into memory. – Device drivers – know special characteristics and properties for each of the system’s I/O devices. • Problem: Slow Performance – I/O and CPU could not overlap ; card reader very slow. • Solution: Off-line operation – speed up computation by loading jobs into memory from tapes and card reading and line printing done off-line.
  • 11. 11 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Spooling • Overlap I/O of one job with computation of another job. While executing one job, the OS. – Reads next job from card reader into a storage area on the disk (job queue). – Outputs printout of previous job from disk to printer. • Job pool – data structure that allows the OS to select which job to run next in order to increase CPU utilization.
  • 12. 12 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Multiprogrammed Batch Systems Several jobs are kept in main memory at the same time, and the CPU is multiplexed among them.
  • 13. 13 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ OS Features Needed for Multiprogramming • I/O routine supplied by the system. • Memory management – the system must allocate the memory to several jobs. • CPU scheduling – the system must choose among several jobs ready to run. • Allocation of devices.
  • 14. 14 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Time-Sharing Systems–Interactive Computing • The CPU is multiplexed among several jobs that are kept in memory and on disk (the CPU is allocated to a job only if the job is in memory). • A job is swapped in and out of memory to the disk. • On-line communication between the user and the system is provided; when the operating system finishes the execution of one command, it seeks the next “control statement” not from a card reader, but rather from the user’s keyboard. • On-line system must be available for users to access data and code.
  • 15. 15 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Personal-Computer Systems • Personal computers – computer system dedicated to a single user. • I/O devices – keyboards, mice, display screens, small printers. • User convenience and responsiveness. • Can adopt technology developed for larger operating system’ often individuals have sole use of computer and do not need advanced CPU utilization of protection features.
  • 16. 16 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Migration of Operating-System Concepts and Features
  • 17. 17 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Parallel Systems • Multiprocessor systems with more than one CPU in close communication. • Tightly coupled system – processors share memory and a clock; communication usually takes place through the shared memory. • Advantages of parallel system: – Increased throughput – Economical – Increased reliability  graceful degradation  fail-soft systems
  • 18. 18 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Parallel Systems (Cont.) • Symmetric multiprocessing (SMP) – Each processor runs an identical copy of the operating system. – Many processes can run at once without performance deterioration. – Most modern operating systems support SMP • Asymmetric multiprocessing – Each processor is assigned a specific task; master processor schedules and allocates work to slave processors. – More common in extremely large systems
  • 19. 19 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Symmetric Multiprocessing Architecture
  • 20. 20 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Real-Time Systems • Often used as a control device in a dedicated application such as controlling scientific experiments, medical imaging systems, industrial control systems, and some display systems. • Well-defined fixed-time constraints. • Hard real-time system. – Secondary storage limited or absent, data stored in short-term memory, or read-only memory (ROM) – Conflicts with time-sharing systems, not supported by general- purpose operating systems. • Soft real-time system – Limited utility in industrial control or robotics – Useful in applications (multimedia, virtual reality) requiring advanced operating-system features.
  • 21. 21 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Distributed Systems • Distribute the computation among several physical processors. • Loosely coupled system – each processor has its own local memory; processors communicate with one another through various communications lines, such as high-speed buses or telephone lines. • Advantages of distributed systems. – Resources Sharing – Computation speed up – load sharing – Reliability – Communications
  • 22. 22 to 22Operating System Concepts | Silberschatz and Galvin 1999https://github.com/syaifulahdan/ Distributed Systems (Cont.) • Network Operating System – provides file sharing – provides communication scheme – runs independently from other computers on the network • Distributed Operating System – less autonomy between computers – gives the impression there is a single operating system controlling the network.