SlideShare a Scribd company logo
Chapter-1: Introduction
Md. Umor Faruk Jahangir
Student of Dept. of CSE
Sylhet International University
Operating System
 What is an Operating System ?
• An Operating System is a software which maintains the
computer hardware and makes the relationship between
an user and a Computer
• 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
Four Components of a Computer System ?
Role of operating system ?
• They are two types:
From user view
From system view
From User view
1.The goal of the Operating System is to maximize the work and
minimize the effort of the user.
2.Most of the systems are designed to be operated by single user,
however in some systems multiple users can share resources, memory.
In these cases Operating System is designed to handle available
resources among multiple users and CPU efficiently.
3.Operating System must be designed by taking both usability and
efficient resource utilization into view.
4.In embedded systems(Automated systems) user view is not present.
5.Operating System gives an effect to the user as if the processor is
dealing only with the current task, but in background processor is
dealing with several processes.
From System view
1.From the system point of view Operating System is a program involved with the hardware.
2.Operating System is allocator, which allocate memory, resources among various processes.It
controls the sharing of resources among programs.
3.It prevents improper usage, error and handle deadlock conditions.
4.It is a program that runs all the time in the system in the form of Kernel.
5.It controls application programs that are not part of Kernel.
Storage-Device Hierarchy ?
Storage Structure ?
• Main memory – only large storage media that the CPU can access directly
– Random access
– Typically volatile
• Secondary storage – extension of main memory that provides large
nonvolatile storage capacity
• Magnetic disks – rigid metal or glass platters covered with magnetic
recording material
– Disk surface is logically divided into tracks, which are subdivided into
sectors
– The disk controller determines the logical interaction between the
device and the computer
• Solid-state disks – faster than magnetic disks, nonvolatile
– Various technologies
– Becoming more popular
How a Modern Computer Works ?
I/O structure
To start an I/O operation, the device driver
loads the appropriate registers
within the device controller.
The device controller examines the registers to
determine what action to take.
 The controller starts the transfer of data from
the device to its local buffer.
 Once the transfer of data is complete, the
device controller informs the device driver via an
interrupt that it has finished its operation.
The device driver then returns control to the
operating system , possibly returning the data or
a pointer to the data if the operation was a read.
Computer-System Architecture ?
• Most systems use a single general-purpose processor (PDAs through
mainframes)
– Most systems have special-purpose processors as well
• Multiprocessors systems growing in use and importance
– Also known as parallel systems, tightly-coupled systems
– Advantages include:
1. Increased throughput
2. Economy of scale
3. Increased reliability – graceful degradation or fault tolerance
– Two types:
1. Asymmetric Multiprocessing
2. Symmetric Multiprocessing
Process Management ?
• Creating and deleting both user and system
processes
• Suspending and resuming processes
• Providing mechanisms for process synchronization
• Providing mechanisms for process communication
• Providing mechanisms for deadlock handling
Memory Management ?
 Keeping track of which parts of
memory are currently being used and by
whom
Deciding which processes (or parts
thereof) and data to move into and out
of memory
Allocating and deallocating memory
space as needed
Storage Management ?
 File system management
 Mass storage management
 Caching
I/O systems
File system management ?
 Creating and deleting files and
directories
 Primitives to manipulate files and dirs
 Mapping files onto secondary storage
Backup files onto stable (non-volatile)
storage media
Mess storage management ?
 Free-space management
 Storage allocation
 Disk scheduling
I/O System ?
• I/O system responsible for
– Memory management of I/O including buffering ,
caching , spooling
– General device-driver interface
– Drivers for specific hardware devices

More Related Content

What's hot

Os views
Os viewsOs views
System components (os)
System components (os)System components (os)
System components (os)
snegacmr
 
Operating System BCA 301
Operating System BCA 301Operating System BCA 301
Operating System BCA 301
cpjcollege
 
Operating System Lecture 3
Operating System Lecture 3Operating System Lecture 3
Operating System Lecture 3
Dr. Ahmed J. Obaid
 
OPERATING SYSTEM
OPERATING SYSTEM OPERATING SYSTEM
OPERATING SYSTEM
Khehra Saab
 
Desktop and multiprocessor systems
Desktop and multiprocessor systemsDesktop and multiprocessor systems
Desktop and multiprocessor systems
V.V.Vanniaperumal College for Women
 
Os lecture 6
Os lecture 6Os lecture 6
Os lecture 6
Dr. Ahmed J. Obaid
 
Operating systems
Operating systemsOperating systems
Operating systemsJoshuaIgo
 
Ch1
Ch1Ch1
Operating System Introduction
Operating System IntroductionOperating System Introduction
Operating System Introduction
Sravani Kommuri
 
OPERATING SYSTEM
OPERATING SYSTEMOPERATING SYSTEM
OS - Ch1
OS - Ch1OS - Ch1
OS - Ch1sphs
 
Operating system notes ch1
Operating system notes ch1Operating system notes ch1
Operating system notes ch1
Emmanuel Damka
 

What's hot (17)

Chapter02 new
Chapter02 newChapter02 new
Chapter02 new
 
Os views
Os viewsOs views
Os views
 
System components (os)
System components (os)System components (os)
System components (os)
 
Operating System BCA 301
Operating System BCA 301Operating System BCA 301
Operating System BCA 301
 
Operating System Lecture 3
Operating System Lecture 3Operating System Lecture 3
Operating System Lecture 3
 
OPERATING SYSTEM
OPERATING SYSTEM OPERATING SYSTEM
OPERATING SYSTEM
 
Ch1
Ch1Ch1
Ch1
 
8
88
8
 
Opearating System
Opearating  SystemOpearating  System
Opearating System
 
Desktop and multiprocessor systems
Desktop and multiprocessor systemsDesktop and multiprocessor systems
Desktop and multiprocessor systems
 
Os lecture 6
Os lecture 6Os lecture 6
Os lecture 6
 
Operating systems
Operating systemsOperating systems
Operating systems
 
Ch1
Ch1Ch1
Ch1
 
Operating System Introduction
Operating System IntroductionOperating System Introduction
Operating System Introduction
 
OPERATING SYSTEM
OPERATING SYSTEMOPERATING SYSTEM
OPERATING SYSTEM
 
OS - Ch1
OS - Ch1OS - Ch1
OS - Ch1
 
Operating system notes ch1
Operating system notes ch1Operating system notes ch1
Operating system notes ch1
 

Similar to Operating system Chapter One

Os concepts
Os conceptsOs concepts
Os concepts
Sudheesh P Enathu
 
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
Mark John Lado, MIT
 
Module 1 Introduction.ppt
Module 1 Introduction.pptModule 1 Introduction.ppt
Module 1 Introduction.ppt
shreesha16
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
HarshitKoshta2
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
KrishRaj48
 
OS.pptx
OS.pptxOS.pptx
OS.pptx
abclara
 
list of all Functions of operating system.pptx
list of all Functions of operating system.pptxlist of all Functions of operating system.pptx
list of all Functions of operating system.pptx
ErAnjuBala
 
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
ssuser6aef00
 
Unit 4 Real Time Operating System
Unit 4 Real Time Operating SystemUnit 4 Real Time Operating System
Unit 4 Real Time Operating System
Dr. Pankaj Zope
 
OS_MD_1.pdf
OS_MD_1.pdfOS_MD_1.pdf
OS_MD_1.pdf
GauravDagar13
 
Overview Of Operating System and its Basics
Overview Of Operating System and its BasicsOverview Of Operating System and its Basics
Overview Of Operating System and its Basics
Chandrakant Divate
 
Overview Of Operating Systems and its Basics
Overview Of Operating Systems and its BasicsOverview Of Operating Systems and its Basics
Overview Of Operating Systems and its Basics
Chandrakant Divate
 
Module-1.ppt operating system unit 1 notes
Module-1.ppt operating system unit 1 notesModule-1.ppt operating system unit 1 notes
Module-1.ppt operating system unit 1 notes
FaizanAhmad293255
 
OperatingSystemFeature.pptx
OperatingSystemFeature.pptxOperatingSystemFeature.pptx
OperatingSystemFeature.pptx
CharuJain396881
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptx
akhilagajjala
 
R20CSE2202-OPERATING-SYSTEMS .pdf
R20CSE2202-OPERATING-SYSTEMS        .pdfR20CSE2202-OPERATING-SYSTEMS        .pdf
R20CSE2202-OPERATING-SYSTEMS .pdf
cVan3
 
unit1 part1.ppt
unit1 part1.pptunit1 part1.ppt
unit1 part1.ppt
suresh554942
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
Prof. Dr. K. Adisesha
 

Similar to Operating system Chapter One (20)

Os concepts
Os conceptsOs concepts
Os concepts
 
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
 
Os1
Os1Os1
Os1
 
Operating system
Operating systemOperating system
Operating system
 
Module 1 Introduction.ppt
Module 1 Introduction.pptModule 1 Introduction.ppt
Module 1 Introduction.ppt
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
OS.pptx
OS.pptxOS.pptx
OS.pptx
 
list of all Functions of operating system.pptx
list of all Functions of operating system.pptxlist of all Functions of operating system.pptx
list of all Functions of operating system.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
 
Unit 4 Real Time Operating System
Unit 4 Real Time Operating SystemUnit 4 Real Time Operating System
Unit 4 Real Time Operating System
 
OS_MD_1.pdf
OS_MD_1.pdfOS_MD_1.pdf
OS_MD_1.pdf
 
Overview Of Operating System and its Basics
Overview Of Operating System and its BasicsOverview Of Operating System and its Basics
Overview Of Operating System and its Basics
 
Overview Of Operating Systems and its Basics
Overview Of Operating Systems and its BasicsOverview Of Operating Systems and its Basics
Overview Of Operating Systems and its Basics
 
Module-1.ppt operating system unit 1 notes
Module-1.ppt operating system unit 1 notesModule-1.ppt operating system unit 1 notes
Module-1.ppt operating system unit 1 notes
 
OperatingSystemFeature.pptx
OperatingSystemFeature.pptxOperatingSystemFeature.pptx
OperatingSystemFeature.pptx
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptx
 
R20CSE2202-OPERATING-SYSTEMS .pdf
R20CSE2202-OPERATING-SYSTEMS        .pdfR20CSE2202-OPERATING-SYSTEMS        .pdf
R20CSE2202-OPERATING-SYSTEMS .pdf
 
unit1 part1.ppt
unit1 part1.pptunit1 part1.ppt
unit1 part1.ppt
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
 

Recently uploaded

FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 

Operating system Chapter One

  • 1. Chapter-1: Introduction Md. Umor Faruk Jahangir Student of Dept. of CSE Sylhet International University
  • 3.  What is an Operating System ? • An Operating System is a software which maintains the computer hardware and makes the relationship between an user and a Computer • 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
  • 4. Four Components of a Computer System ?
  • 5. Role of operating system ? • They are two types: From user view From system view
  • 6. From User view 1.The goal of the Operating System is to maximize the work and minimize the effort of the user. 2.Most of the systems are designed to be operated by single user, however in some systems multiple users can share resources, memory. In these cases Operating System is designed to handle available resources among multiple users and CPU efficiently. 3.Operating System must be designed by taking both usability and efficient resource utilization into view. 4.In embedded systems(Automated systems) user view is not present. 5.Operating System gives an effect to the user as if the processor is dealing only with the current task, but in background processor is dealing with several processes.
  • 7. From System view 1.From the system point of view Operating System is a program involved with the hardware. 2.Operating System is allocator, which allocate memory, resources among various processes.It controls the sharing of resources among programs. 3.It prevents improper usage, error and handle deadlock conditions. 4.It is a program that runs all the time in the system in the form of Kernel. 5.It controls application programs that are not part of Kernel.
  • 9. Storage Structure ? • Main memory – only large storage media that the CPU can access directly – Random access – Typically volatile • Secondary storage – extension of main memory that provides large nonvolatile storage capacity • Magnetic disks – rigid metal or glass platters covered with magnetic recording material – Disk surface is logically divided into tracks, which are subdivided into sectors – The disk controller determines the logical interaction between the device and the computer • Solid-state disks – faster than magnetic disks, nonvolatile – Various technologies – Becoming more popular
  • 10. How a Modern Computer Works ? I/O structure
  • 11. To start an I/O operation, the device driver loads the appropriate registers within the device controller. The device controller examines the registers to determine what action to take.  The controller starts the transfer of data from the device to its local buffer.  Once the transfer of data is complete, the device controller informs the device driver via an interrupt that it has finished its operation. The device driver then returns control to the operating system , possibly returning the data or a pointer to the data if the operation was a read.
  • 12. Computer-System Architecture ? • Most systems use a single general-purpose processor (PDAs through mainframes) – Most systems have special-purpose processors as well • Multiprocessors systems growing in use and importance – Also known as parallel systems, tightly-coupled systems – Advantages include: 1. Increased throughput 2. Economy of scale 3. Increased reliability – graceful degradation or fault tolerance – Two types: 1. Asymmetric Multiprocessing 2. Symmetric Multiprocessing
  • 13. Process Management ? • Creating and deleting both user and system processes • Suspending and resuming processes • Providing mechanisms for process synchronization • Providing mechanisms for process communication • Providing mechanisms for deadlock handling
  • 14. Memory Management ?  Keeping track of which parts of memory are currently being used and by whom Deciding which processes (or parts thereof) and data to move into and out of memory Allocating and deallocating memory space as needed
  • 15. Storage Management ?  File system management  Mass storage management  Caching I/O systems
  • 16. File system management ?  Creating and deleting files and directories  Primitives to manipulate files and dirs  Mapping files onto secondary storage Backup files onto stable (non-volatile) storage media
  • 17. Mess storage management ?  Free-space management  Storage allocation  Disk scheduling
  • 18. I/O System ? • I/O system responsible for – Memory management of I/O including buffering , caching , spooling – General device-driver interface – Drivers for specific hardware devices