SlideShare a Scribd company logo
ADVANCED OPERATING SYSTEM
UNIT - I
What is an Operating System
• An Operating System (OS) is a type of software that acts as an
interface between a computer's hardware and its users (or
application software).
• It manages hardware resources, provides essential services for
software applications, and ensures the smooth functioning of the
system.
Key Functions of an Operating System
 Resource Management:
•Manages hardware resources like CPU, memory, storage, and I/O devices.
•Allocates resources efficiently to ensure optimal performance.
 Process Management:
•Handles the execution of processes, including multitasking and process synchronization.
•Manages process creation, termination, and scheduling.
 Memory Management:
•Controls the allocation and deallocation of memory to processes.
•Tracks free and used memory, and ensures no overlap or corruption.
 File System Management:
• Provides a structure for storing and organizing files on storage devices.
• Manages file access, permissions, and directories.
 Device Management:
• Acts as an intermediary between hardware devices and software applications.
• Includes device drivers to control hardware components.
 Security and Access Control:
• Protects the system from unauthorized access and threats.
• Implements authentication, encryption, and access permissions.
 User Interface:
• Provides interfaces for user interaction, such as Command-Line
• Interface (CLI) or Graphical User Interface (GUI).
Mainframe Operating System
 A mainframe operating system is software that manages the resources and activities
of large, and powerful mainframe computers.
 The mainframe operating system is designed so that it can handle multiple jobs
simultaneously.
 To deal with large amounts of transactions is one of their features which is why they
are used by large organizations such as banks, and governments.
 For example, IBM z/OS, and IBM z/VSE. The services provided by the mainframe
operating system are:
Mainframe Operating System
 They perform operations like clustering and partitioning.
 They act as the base for extensive applications.
 It divides the jobs into different batches.
 It provides data security and efficient task management.
 It performs a large amount of transactions.
Applications of Mainframe Operating System
 Mainframe operating systems are used by governments in domains like education, health,
defense, and infrastructure development because of their scalability and availability.
 It is used by transportation systems like railways, and airlines to manage their operations.
 It is used by enterprises that have to handle large databases every minute because of its high
processing power and flexibility.
 Used by banks and financial institutions to handle large amounts of transactions made by credit
cards and other mediums because they provide reliability, compatibility, and high security.
Advantages of Mainframe Operating System
 Mainframe operating system have very high and massive processing power.
 They are scalable and can handle large scale of users and applications.
 They are fault tolerant and reliable.
 They provide great security measures to protect the system from hacking and other cyber security
threats.
Disadvantages of Mainframe Operating System
 Mainframe operating system are very costly so only large institutions can afford them.
 They are very complex to operate. Specialized knowledge is required to use it.
 Mainframe Operating System aren't flexible.
 They aren't available so easily.
Advantages of Mainframe Operating System
 Mainframe operating system have very high and massive processing power.
 They are scalable and can handle large scale of users and applications.
 They are fault tolerant and reliable.
 They provide great security measures to protect the system from hacking and other cyber security
threats.
Disadvantages of Mainframe Operating System
 Mainframe operating system are very costly so only large institutions can afford them.
 They are very complex to operate. Specialized knowledge is required to use it.
 Mainframe Operating System aren't flexible.
 They aren't available so easily.
Process Scheduling
 Process scheduling is the activity of the process manager that handles the removal of the running
process from the CPU and the selection of another process based on a particular strategy.
 Process scheduling is an essential part of a Multiprogramming operating system. Such operating
systems allow more than one process to be loaded into the executable memory at a time and the
loaded process shares the CPU using time multiplexing.
Categories of Scheduling
Non-Preemptive: In this case, a process’s resource cannot be taken before the
process has finished running. When a running process finishes and transitions to
a waiting state, resources are switched.
Preemptive: In this case, the OS assigns resources to a process for a
predetermined period. The process switches from running state to ready state or
from waiting state to ready state during resource allocation. This switching
happens because the CPU may give other processes priority and substitute the
currently active process for the higher priority process.
Types of Process Schedulers
Long Term or Job Scheduler
Short-Term or CPU Scheduler
Medium-Term Scheduler
Long Term or Job Scheduler
 It brings the new process to the ‘Ready State’. It controls the Degree of Multi-
programming, i.e., the number of processes present in a ready state at any point in
time.
 It is important that the long-term scheduler make a careful selection of both I/O and
CPU-bound processes. I/O-bound tasks are which use much of their time in input and
output operations while CPU-bound processes are which spend their time on the CPU.
 The job scheduler increases efficiency by maintaining a balance between the two. They
operate at a high level and are typically used in batch-processing systems.
It is responsible for selecting one process from the ready state for
scheduling it on the running state.
Note: Short-term scheduler only selects the process to schedule it
doesn’t load the process on running.
Here is when all the scheduling algorithms are used.
The CPU scheduler is responsible for ensuring no starvation due to
high burst time processes.
Short-Term or CPU Scheduler
introduction to advanced operating systems
Medium-Term Scheduler
 It is responsible for suspending and resuming the process. It mainly
does swapping (moving processes from main memory to disk and vice
versa).
 Swapping may be necessary to improve the process mix or because a
change in memory requirements has overcommitted available memory,
requiring memory to be freed up.
 It is helpful in maintaining a perfect balance between the I/O bound
and the CPU bound. It reduces the degree of multiprogramming.
introduction to advanced operating systems
Comparison Among Scheduler
Long Term Scheduler Short Term Schedular Medium Term Scheduler
It is a job scheduler It is a CPU scheduler
It is a process-swapping
scheduler.
Generally, Speed is lesser than
short term scheduler
Speed is the fastest among all
of them.
Speed lies in between both
short and long-term schedulers.
It controls the degree of
multiprogramming
It gives less control over how
much multiprogramming is
done.
It reduces the degree of
multiprogramming.
It is barely present or
nonexistent in the time-sharing
system.
It is a minimal time-sharing
system.
It is a component of systems for
time sharing.
It can re-enter the process into
memory, allowing for the
continuation of execution.
It selects those processes
which are ready to execute
It can re-introduce the process
into memory and execution can
be continued.
Context Switching
 In order for a process execution to be continued from the same point at a later
time, context switching is a mechanism to store and restore the state or context of
a CPU in the Process Control block.
 A context switcher makes it possible for multiple processes to share a single CPU
using this method.
 A multitasking operating system must include context switching among its features.
 The state of the currently running process is saved into the process control block
when the scheduler switches the CPU from executing one process to another.
 The state used to set the computer, registers, etc. for the process that will run next
is then loaded from its own PCB. After that, the second can start processing.
introduction to advanced operating systems

More Related Content

PPTX
Understanding Basics of OS
PDF
Operating system Concepts
DOCX
A brief introduction about an operating system and its architecture
PPTX
Operating system
DOCX
Basic features of distributed system
PDF
Operating System-adi.pdf
PPTX
Introduction to Operating Systems
PPT
1. Introduction to OS.ppt
Understanding Basics of OS
Operating system Concepts
A brief introduction about an operating system and its architecture
Operating system
Basic features of distributed system
Operating System-adi.pdf
Introduction to Operating Systems
1. Introduction to OS.ppt

Similar to introduction to advanced operating systems (20)

DOCX
Operating system
PPTX
Operating system
PDF
Overview and basics of Operating systems part 1
PPTX
OS.pptx
PPTX
Operating system
PPT
Operating Systems
PPTX
Advanced computer architecture lesson 1 and 2
PPTX
Different Operating system's use and advantage.pptx
PPTX
Operating System-unit 1.pptxX X A A A A A A A A A A
PDF
CSI-503 - 3. Process Scheduling
PPTX
introduction to operating system mmmmmmmmmmmmmmmmmmm
PPTX
Unit 1..............................................................
PPTX
PROJECT 3.pptx
PPTX
os assignment -individual presenation.pptx
PPT
ch1.ppt
PPTX
PPTX
Fundamental Operating System Concepts.pptx
DOCX
Operating system
PPTX
Process scheduling.pptx
DOCX
Operating system
Operating system
Operating system
Overview and basics of Operating systems part 1
OS.pptx
Operating system
Operating Systems
Advanced computer architecture lesson 1 and 2
Different Operating system's use and advantage.pptx
Operating System-unit 1.pptxX X A A A A A A A A A A
CSI-503 - 3. Process Scheduling
introduction to operating system mmmmmmmmmmmmmmmmmmm
Unit 1..............................................................
PROJECT 3.pptx
os assignment -individual presenation.pptx
ch1.ppt
Fundamental Operating System Concepts.pptx
Operating system
Process scheduling.pptx
Operating system
Ad

More from BackiyalakshmiVenkat (10)

PPT
DBMS-Unit-3.0 Functional dependencies.ppt
PPT
Functional Dependencies in rdbms with examples
PPTX
database models in database management systems
PPTX
Normalization in rdbms types and examples
PPT
Introduction to Database Management Systems
PPTX
Linked list, Singly link list and its operations
PPTX
object oriented programming in PHP & Functions
PPTX
Linked Lists, Single Linked list and its operations
PPTX
Evlotion of Big Data in Big data vs traditional Business
PPTX
AN ANALYSIS OF THE REASONS FOR NON-PERFORMING ASSETS (NPAs) TO THE STATE BANK...
DBMS-Unit-3.0 Functional dependencies.ppt
Functional Dependencies in rdbms with examples
database models in database management systems
Normalization in rdbms types and examples
Introduction to Database Management Systems
Linked list, Singly link list and its operations
object oriented programming in PHP & Functions
Linked Lists, Single Linked list and its operations
Evlotion of Big Data in Big data vs traditional Business
AN ANALYSIS OF THE REASONS FOR NON-PERFORMING ASSETS (NPAs) TO THE STATE BANK...
Ad

Recently uploaded (20)

PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Insiders guide to clinical Medicine.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
RMMM.pdf make it easy to upload and study
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Pharma ospi slides which help in ospi learning
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Insiders guide to clinical Medicine.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
PPH.pptx obstetrics and gynecology in nursing
RMMM.pdf make it easy to upload and study
102 student loan defaulters named and shamed – Is someone you know on the list?
Final Presentation General Medicine 03-08-2024.pptx
Pharma ospi slides which help in ospi learning
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Pharmacology of Heart Failure /Pharmacotherapy of CHF
TR - Agricultural Crops Production NC III.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
FourierSeries-QuestionsWithAnswers(Part-A).pdf
01-Introduction-to-Information-Management.pdf
Renaissance Architecture: A Journey from Faith to Humanism
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Cell Types and Its function , kingdom of life
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf

introduction to advanced operating systems

  • 2. What is an Operating System • An Operating System (OS) is a type of software that acts as an interface between a computer's hardware and its users (or application software). • It manages hardware resources, provides essential services for software applications, and ensures the smooth functioning of the system.
  • 3. Key Functions of an Operating System  Resource Management: •Manages hardware resources like CPU, memory, storage, and I/O devices. •Allocates resources efficiently to ensure optimal performance.  Process Management: •Handles the execution of processes, including multitasking and process synchronization. •Manages process creation, termination, and scheduling.  Memory Management: •Controls the allocation and deallocation of memory to processes. •Tracks free and used memory, and ensures no overlap or corruption.
  • 4.  File System Management: • Provides a structure for storing and organizing files on storage devices. • Manages file access, permissions, and directories.  Device Management: • Acts as an intermediary between hardware devices and software applications. • Includes device drivers to control hardware components.  Security and Access Control: • Protects the system from unauthorized access and threats. • Implements authentication, encryption, and access permissions.  User Interface: • Provides interfaces for user interaction, such as Command-Line • Interface (CLI) or Graphical User Interface (GUI).
  • 5. Mainframe Operating System  A mainframe operating system is software that manages the resources and activities of large, and powerful mainframe computers.  The mainframe operating system is designed so that it can handle multiple jobs simultaneously.  To deal with large amounts of transactions is one of their features which is why they are used by large organizations such as banks, and governments.  For example, IBM z/OS, and IBM z/VSE. The services provided by the mainframe operating system are:
  • 6. Mainframe Operating System  They perform operations like clustering and partitioning.  They act as the base for extensive applications.  It divides the jobs into different batches.  It provides data security and efficient task management.  It performs a large amount of transactions.
  • 7. Applications of Mainframe Operating System  Mainframe operating systems are used by governments in domains like education, health, defense, and infrastructure development because of their scalability and availability.  It is used by transportation systems like railways, and airlines to manage their operations.  It is used by enterprises that have to handle large databases every minute because of its high processing power and flexibility.  Used by banks and financial institutions to handle large amounts of transactions made by credit cards and other mediums because they provide reliability, compatibility, and high security.
  • 8. Advantages of Mainframe Operating System  Mainframe operating system have very high and massive processing power.  They are scalable and can handle large scale of users and applications.  They are fault tolerant and reliable.  They provide great security measures to protect the system from hacking and other cyber security threats. Disadvantages of Mainframe Operating System  Mainframe operating system are very costly so only large institutions can afford them.  They are very complex to operate. Specialized knowledge is required to use it.  Mainframe Operating System aren't flexible.  They aren't available so easily.
  • 9. Advantages of Mainframe Operating System  Mainframe operating system have very high and massive processing power.  They are scalable and can handle large scale of users and applications.  They are fault tolerant and reliable.  They provide great security measures to protect the system from hacking and other cyber security threats. Disadvantages of Mainframe Operating System  Mainframe operating system are very costly so only large institutions can afford them.  They are very complex to operate. Specialized knowledge is required to use it.  Mainframe Operating System aren't flexible.  They aren't available so easily.
  • 10. Process Scheduling  Process scheduling is the activity of the process manager that handles the removal of the running process from the CPU and the selection of another process based on a particular strategy.  Process scheduling is an essential part of a Multiprogramming operating system. Such operating systems allow more than one process to be loaded into the executable memory at a time and the loaded process shares the CPU using time multiplexing.
  • 11. Categories of Scheduling Non-Preemptive: In this case, a process’s resource cannot be taken before the process has finished running. When a running process finishes and transitions to a waiting state, resources are switched. Preemptive: In this case, the OS assigns resources to a process for a predetermined period. The process switches from running state to ready state or from waiting state to ready state during resource allocation. This switching happens because the CPU may give other processes priority and substitute the currently active process for the higher priority process.
  • 12. Types of Process Schedulers Long Term or Job Scheduler Short-Term or CPU Scheduler Medium-Term Scheduler
  • 13. Long Term or Job Scheduler  It brings the new process to the ‘Ready State’. It controls the Degree of Multi- programming, i.e., the number of processes present in a ready state at any point in time.  It is important that the long-term scheduler make a careful selection of both I/O and CPU-bound processes. I/O-bound tasks are which use much of their time in input and output operations while CPU-bound processes are which spend their time on the CPU.  The job scheduler increases efficiency by maintaining a balance between the two. They operate at a high level and are typically used in batch-processing systems.
  • 14. It is responsible for selecting one process from the ready state for scheduling it on the running state. Note: Short-term scheduler only selects the process to schedule it doesn’t load the process on running. Here is when all the scheduling algorithms are used. The CPU scheduler is responsible for ensuring no starvation due to high burst time processes. Short-Term or CPU Scheduler
  • 16. Medium-Term Scheduler  It is responsible for suspending and resuming the process. It mainly does swapping (moving processes from main memory to disk and vice versa).  Swapping may be necessary to improve the process mix or because a change in memory requirements has overcommitted available memory, requiring memory to be freed up.  It is helpful in maintaining a perfect balance between the I/O bound and the CPU bound. It reduces the degree of multiprogramming.
  • 18. Comparison Among Scheduler Long Term Scheduler Short Term Schedular Medium Term Scheduler It is a job scheduler It is a CPU scheduler It is a process-swapping scheduler. Generally, Speed is lesser than short term scheduler Speed is the fastest among all of them. Speed lies in between both short and long-term schedulers. It controls the degree of multiprogramming It gives less control over how much multiprogramming is done. It reduces the degree of multiprogramming. It is barely present or nonexistent in the time-sharing system. It is a minimal time-sharing system. It is a component of systems for time sharing. It can re-enter the process into memory, allowing for the continuation of execution. It selects those processes which are ready to execute It can re-introduce the process into memory and execution can be continued.
  • 19. Context Switching  In order for a process execution to be continued from the same point at a later time, context switching is a mechanism to store and restore the state or context of a CPU in the Process Control block.  A context switcher makes it possible for multiple processes to share a single CPU using this method.  A multitasking operating system must include context switching among its features.  The state of the currently running process is saved into the process control block when the scheduler switches the CPU from executing one process to another.  The state used to set the computer, registers, etc. for the process that will run next is then loaded from its own PCB. After that, the second can start processing.