SlideShare a Scribd company logo
1 of 13
WINDOWS XP
SCHEDULING
BY-
SHIVANI MONGA(3034)
SHUBHAM GUPTA(3126)
Scheduling
It is a key concept in computer multitasking,
multiprocessing operating system and real-time
operating system designs.
Refers to the way processes are assigned to run
on the available CPU
This assignment is carried out by softwares
known as a scheduler and a dispatcher.
The process scheduling algorithms
used by an operating system reflect its
primary performance objectives.
Windows XP- real time processing and
User-perceived performance
• All processes receive a priority boost after
a wait event, but processes that have
experienced a keyboard I/O wait get a larger
boost than those that have experienced a
disk I/O wait.
• “Foreground “ processes given a higher
priority.
Windows XP distinguishes between the
foreground processes that is currently selected
on the screen and the background processes
that are not currently selected.
The strategy tends to give good response times
to interactive threads that are using the mouse
and windows.
The I/O devices are kept busy.
WINDOWS XP
SCHEDULING
 Windows xp uses a quantum-based,
preemptive priority scheduling algorithm.
 Threads are scheduled rather than processes.
 Since the preemptive priority algorithm is
implemented with multiple queues, it can also
be considered a multiple feedback queue
algorithm.
 However, each class of thread is normally
restricted to a small band of 5 priority levels.
 Preemption can occur for any of 4 reasons:
 Higher priority thread becomes ready
 Thread terminates
 Time quantum exhausted
 Thread performs a blocking system call, such
as for I/O , in which case it leaves the READY
state and enters the WAITING state.
The scheduler is called a dispatcher.
 Priorities are divided into two classes:
 Variable class: priorities 1 to 15
 Real-time class: priorities 16 to 31
 There is a queue for each priority.
 The dispatcher traverses the set of queues from
highest to lowest until it finds a thread that is
ready to run.
 If there are no processes ready to run, the
dispatcher executes the idle thread.
PRIORITIES
 Processe are given a priority class upon creation:
 REAL_TIME_PRIORITY_CLASS
 HIGH_PRIORITY_CLASS
 ABOVE_NORMAL_PRIORITY_CLASS
 NORMAL_PRIORITY_CLASS
 BELOW_NORMAL_PRIORITY_CLASS
 IDLE_PRIORITY_CLASS
 Priorities in all classes except the
REAL_TIME_PRIORITY class can change.
Thank You…!!!

More Related Content

What's hot

17 cpu scheduling and scheduling criteria
17 cpu scheduling and scheduling criteria 17 cpu scheduling and scheduling criteria
17 cpu scheduling and scheduling criteria
myrajendra
 
Slides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And GagneSlides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And Gagne
sarankumar4445
 
Unix memory management
Unix memory managementUnix memory management
Unix memory management
Tech_MX
 
Process management in os
Process management in osProcess management in os
Process management in os
Sumant Diwakar
 
Multithreading computer architecture
 Multithreading computer architecture  Multithreading computer architecture
Multithreading computer architecture
Haris456
 

What's hot (20)

Fixed partitioning of memory
Fixed partitioning of memoryFixed partitioning of memory
Fixed partitioning of memory
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
 
Windows process-scheduling
Windows process-schedulingWindows process-scheduling
Windows process-scheduling
 
Os Threads
Os ThreadsOs Threads
Os Threads
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating system
 
17 cpu scheduling and scheduling criteria
17 cpu scheduling and scheduling criteria 17 cpu scheduling and scheduling criteria
17 cpu scheduling and scheduling criteria
 
OS Structure
OS StructureOS Structure
OS Structure
 
Process synchronization in Operating Systems
Process synchronization in Operating SystemsProcess synchronization in Operating Systems
Process synchronization in Operating Systems
 
Slides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And GagneSlides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And Gagne
 
Unix memory management
Unix memory managementUnix memory management
Unix memory management
 
Multithreading
MultithreadingMultithreading
Multithreading
 
Priority Scheduling
Priority Scheduling  Priority Scheduling
Priority Scheduling
 
Priority scheduling algorithms
Priority scheduling algorithmsPriority scheduling algorithms
Priority scheduling algorithms
 
OS Process and Thread Concepts
OS Process and Thread ConceptsOS Process and Thread Concepts
OS Process and Thread Concepts
 
Process management in os
Process management in osProcess management in os
Process management in os
 
System call
System callSystem call
System call
 
Cpu scheduling in operating System.
Cpu scheduling in operating System.Cpu scheduling in operating System.
Cpu scheduling in operating System.
 
Virtual memory ppt
Virtual memory pptVirtual memory ppt
Virtual memory ppt
 
Multithreading computer architecture
 Multithreading computer architecture  Multithreading computer architecture
Multithreading computer architecture
 
Operating Systems - "Chapter 5 Process Synchronization"
Operating Systems - "Chapter 5 Process Synchronization"Operating Systems - "Chapter 5 Process Synchronization"
Operating Systems - "Chapter 5 Process Synchronization"
 

Similar to windows xp scheduling

Operating System.ppt
Operating System.pptOperating System.ppt
Operating System.ppt
NitihyaAshwinC
 
Chapter 2 (Part 2)
Chapter 2 (Part 2) Chapter 2 (Part 2)
Chapter 2 (Part 2)
rohassanie
 
NON-PREEMPTIVE_SCHEDULING operating system
NON-PREEMPTIVE_SCHEDULING operating systemNON-PREEMPTIVE_SCHEDULING operating system
NON-PREEMPTIVE_SCHEDULING operating system
chnrketan
 

Similar to windows xp scheduling (20)

Process scheduling in Light weight weight and Heavy weight processes.
Process scheduling in Light weight weight and Heavy weight processes.Process scheduling in Light weight weight and Heavy weight processes.
Process scheduling in Light weight weight and Heavy weight processes.
 
Windows process scheduling presentation
Windows process scheduling presentationWindows process scheduling presentation
Windows process scheduling presentation
 
In computing, scheduling is the action .
In computing, scheduling is the action .In computing, scheduling is the action .
In computing, scheduling is the action .
 
Operating System.ppt
Operating System.pptOperating System.ppt
Operating System.ppt
 
Osy ppt - Copy.pptx
Osy ppt - Copy.pptxOsy ppt - Copy.pptx
Osy ppt - Copy.pptx
 
CPU Scheduling algorithms
CPU Scheduling algorithmsCPU Scheduling algorithms
CPU Scheduling algorithms
 
Processor / CPU Scheduling
Processor / CPU SchedulingProcessor / CPU Scheduling
Processor / CPU Scheduling
 
LM10,11,12 - CPU SCHEDULING algorithms and its processes
LM10,11,12 - CPU SCHEDULING algorithms and its processesLM10,11,12 - CPU SCHEDULING algorithms and its processes
LM10,11,12 - CPU SCHEDULING algorithms and its processes
 
CPU Scheduling
CPU SchedulingCPU Scheduling
CPU Scheduling
 
CPU scheduling in Operating System Explanation
CPU scheduling in Operating System ExplanationCPU scheduling in Operating System Explanation
CPU scheduling in Operating System Explanation
 
Operating System.pptx
Operating System.pptxOperating System.pptx
Operating System.pptx
 
Section05 scheduling
Section05 schedulingSection05 scheduling
Section05 scheduling
 
Priority levels in Windows
Priority levels in WindowsPriority levels in Windows
Priority levels in Windows
 
Window scheduling algorithm
Window scheduling algorithmWindow scheduling algorithm
Window scheduling algorithm
 
Insider operating system
Insider   operating systemInsider   operating system
Insider operating system
 
Chapter 2 (Part 2)
Chapter 2 (Part 2) Chapter 2 (Part 2)
Chapter 2 (Part 2)
 
NON-PREEMPTIVE_SCHEDULING operating system
NON-PREEMPTIVE_SCHEDULING operating systemNON-PREEMPTIVE_SCHEDULING operating system
NON-PREEMPTIVE_SCHEDULING operating system
 
cpu scheduling in os
cpu scheduling in oscpu scheduling in os
cpu scheduling in os
 
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncationLM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
 
Process Management Operating Systems .pptx
Process Management        Operating Systems .pptxProcess Management        Operating Systems .pptx
Process Management Operating Systems .pptx
 

Recently uploaded

Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Recently uploaded (20)

%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 

windows xp scheduling

  • 2. Scheduling It is a key concept in computer multitasking, multiprocessing operating system and real-time operating system designs. Refers to the way processes are assigned to run on the available CPU This assignment is carried out by softwares known as a scheduler and a dispatcher.
  • 3.
  • 4. The process scheduling algorithms used by an operating system reflect its primary performance objectives. Windows XP- real time processing and User-perceived performance
  • 5. • All processes receive a priority boost after a wait event, but processes that have experienced a keyboard I/O wait get a larger boost than those that have experienced a disk I/O wait. • “Foreground “ processes given a higher priority.
  • 6. Windows XP distinguishes between the foreground processes that is currently selected on the screen and the background processes that are not currently selected. The strategy tends to give good response times to interactive threads that are using the mouse and windows. The I/O devices are kept busy.
  • 7. WINDOWS XP SCHEDULING  Windows xp uses a quantum-based, preemptive priority scheduling algorithm.  Threads are scheduled rather than processes.  Since the preemptive priority algorithm is implemented with multiple queues, it can also be considered a multiple feedback queue algorithm.  However, each class of thread is normally restricted to a small band of 5 priority levels.
  • 8.  Preemption can occur for any of 4 reasons:  Higher priority thread becomes ready  Thread terminates  Time quantum exhausted  Thread performs a blocking system call, such as for I/O , in which case it leaves the READY state and enters the WAITING state. The scheduler is called a dispatcher.
  • 9.  Priorities are divided into two classes:  Variable class: priorities 1 to 15  Real-time class: priorities 16 to 31  There is a queue for each priority.  The dispatcher traverses the set of queues from highest to lowest until it finds a thread that is ready to run.  If there are no processes ready to run, the dispatcher executes the idle thread. PRIORITIES
  • 10.  Processe are given a priority class upon creation:  REAL_TIME_PRIORITY_CLASS  HIGH_PRIORITY_CLASS  ABOVE_NORMAL_PRIORITY_CLASS  NORMAL_PRIORITY_CLASS  BELOW_NORMAL_PRIORITY_CLASS  IDLE_PRIORITY_CLASS  Priorities in all classes except the REAL_TIME_PRIORITY class can change.
  • 11.
  • 12.