SlideShare ist ein Scribd-Unternehmen logo
1 von 15
The Windows Scheduler Peter Shirley-Quirk
The Windows Scheduler ,[object Object],[object Object],[object Object],[object Object]
What is a scheduler?  ,[object Object],[object Object],[object Object],[object Object],[object Object]
How does Windows Scheduler work? ,[object Object],[object Object],[object Object],[object Object]
When is a thread Ready to run? Figure 3-19, Inside Microsoft Windows 2000, Third Edition by David A. Solomon and Mark E. Russinovich
Context switching (1)  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Context switching (2) ,[object Object],[object Object],[object Object],[object Object],[object Object]
Process Priority Classes The Process Priority Class is under the designer’s control Can be read or set using System.Diagnostics.Process.PriorityClass AboveNormal Time-critical tasks that must be executed immediately e.g. the Task List dialog High BelowNormal E.g. multimedia applications RealTime E.g. screen saver, indexer etc.  Idle No special scheduling needs. Normal
Where does the priority come from? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
When does the scheduler boost the priority? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Resolving priority inversion ,[object Object],[object Object],[object Object],[object Object],A B C Wait Ready Time Priority A
What if there’s more than one processor? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Multi-Processor Architecture ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Some final thoughts ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
More information ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Weitere ähnliche Inhalte

Was ist angesagt?

Linux process management
Linux process managementLinux process management
Linux process management
Raghu nath
 
Process management in os
Process management in osProcess management in os
Process management in os
Miong Lazaro
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
Rohit Joshi
 
Operating system interview question
Operating system interview questionOperating system interview question
Operating system interview question
sriram saravanan
 

Was ist angesagt? (20)

Rtos Concepts
Rtos ConceptsRtos Concepts
Rtos Concepts
 
Vxworks
VxworksVxworks
Vxworks
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process Concepts
 
Lecture 5 process concept
Lecture 5   process conceptLecture 5   process concept
Lecture 5 process concept
 
Operating Systems Part II-Process Scheduling, Synchronisation & Deadlock
Operating Systems Part II-Process Scheduling, Synchronisation & DeadlockOperating Systems Part II-Process Scheduling, Synchronisation & Deadlock
Operating Systems Part II-Process Scheduling, Synchronisation & Deadlock
 
Linux process management
Linux process managementLinux process management
Linux process management
 
Operating system - Process and its concepts
Operating system - Process and its conceptsOperating system - Process and its concepts
Operating system - Process and its concepts
 
Real Time Operating System Concepts
Real Time Operating System ConceptsReal Time Operating System Concepts
Real Time Operating System Concepts
 
Chapter 19 - Real Time Systems
Chapter 19 - Real Time SystemsChapter 19 - Real Time Systems
Chapter 19 - Real Time Systems
 
Process management in os
Process management in osProcess management in os
Process management in os
 
Introduction to Real-Time Operating Systems
Introduction to Real-Time Operating SystemsIntroduction to Real-Time Operating Systems
Introduction to Real-Time Operating Systems
 
Rtos part2
Rtos part2Rtos part2
Rtos part2
 
MicroC/OS-II
MicroC/OS-IIMicroC/OS-II
MicroC/OS-II
 
Introduction to Operating System (Important Notes)
Introduction to Operating System (Important Notes)Introduction to Operating System (Important Notes)
Introduction to Operating System (Important Notes)
 
Process management
Process managementProcess management
Process management
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
Operating system interview question
Operating system interview questionOperating system interview question
Operating system interview question
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
 
Process management os concept
Process management os conceptProcess management os concept
Process management os concept
 

Andere mochten auch

Processes and Threads in Windows Vista
Processes and Threads in Windows VistaProcesses and Threads in Windows Vista
Processes and Threads in Windows Vista
Trinh Phuc Tho
 
Manuel Martinez
Manuel MartinezManuel Martinez
Manuel Martinez
lavelada
 
iSchool Presentation 9/26/11
iSchool Presentation 9/26/11iSchool Presentation 9/26/11
iSchool Presentation 9/26/11
Bonnie Brzozowski
 
Critical Incident Pool Alarm
Critical Incident Pool AlarmCritical Incident Pool Alarm
Critical Incident Pool Alarm
ajones2104
 
E C C E M I C H I G A N W E E K 5
E C C E    M I C H I G A N    W E E K 5E C C E    M I C H I G A N    W E E K 5
E C C E M I C H I G A N W E E K 5
Gilmar Mattos
 
Varnish in action phpday2011
Varnish in action phpday2011Varnish in action phpday2011
Varnish in action phpday2011
Combell NV
 
Emotional Intelligence
Emotional IntelligenceEmotional Intelligence
Emotional Intelligence
ashamathew
 

Andere mochten auch (20)

Operating Systems 1 (10/12) - Scheduling
Operating Systems 1 (10/12) - SchedulingOperating Systems 1 (10/12) - Scheduling
Operating Systems 1 (10/12) - Scheduling
 
The DevOps promise: IT delivery that’s hot-off-the-catwalk and made-to-last
The DevOps promise:  IT delivery that’s hot-off-the-catwalk and made-to-lastThe DevOps promise:  IT delivery that’s hot-off-the-catwalk and made-to-last
The DevOps promise: IT delivery that’s hot-off-the-catwalk and made-to-last
 
Chrome dev tool
Chrome dev toolChrome dev tool
Chrome dev tool
 
Processes and Threads in Windows Vista
Processes and Threads in Windows VistaProcesses and Threads in Windows Vista
Processes and Threads in Windows Vista
 
Chapter6 threads
Chapter6 threadsChapter6 threads
Chapter6 threads
 
Manuel Martinez
Manuel MartinezManuel Martinez
Manuel Martinez
 
Plan For Accessibility - TODCon 2008
Plan For Accessibility - TODCon 2008Plan For Accessibility - TODCon 2008
Plan For Accessibility - TODCon 2008
 
Transmuting Fear - TEDxRheinMain, "Curiosity"
Transmuting Fear - TEDxRheinMain, "Curiosity"Transmuting Fear - TEDxRheinMain, "Curiosity"
Transmuting Fear - TEDxRheinMain, "Curiosity"
 
Banish Your Inner Critic to Unblock Creativity - Adobe Max 2015
Banish Your Inner Critic to Unblock Creativity - Adobe Max 2015Banish Your Inner Critic to Unblock Creativity - Adobe Max 2015
Banish Your Inner Critic to Unblock Creativity - Adobe Max 2015
 
iSchool Presentation 9/26/11
iSchool Presentation 9/26/11iSchool Presentation 9/26/11
iSchool Presentation 9/26/11
 
Bored But Never Boring - Media Evolution: The Conference 2013
Bored But Never Boring - Media Evolution: The Conference 2013Bored But Never Boring - Media Evolution: The Conference 2013
Bored But Never Boring - Media Evolution: The Conference 2013
 
Hop on for a quick tour of the streets of Australia
Hop on for a quick tour of the streets of AustraliaHop on for a quick tour of the streets of Australia
Hop on for a quick tour of the streets of Australia
 
Top 10 Tips for using LinkedIn
Top 10 Tips for using LinkedInTop 10 Tips for using LinkedIn
Top 10 Tips for using LinkedIn
 
Critical Incident Pool Alarm
Critical Incident Pool AlarmCritical Incident Pool Alarm
Critical Incident Pool Alarm
 
AMA SIG Social Media 11-4-09
AMA SIG Social Media 11-4-09AMA SIG Social Media 11-4-09
AMA SIG Social Media 11-4-09
 
0702 Innovationclusters
0702 Innovationclusters0702 Innovationclusters
0702 Innovationclusters
 
E C C E M I C H I G A N W E E K 5
E C C E    M I C H I G A N    W E E K 5E C C E    M I C H I G A N    W E E K 5
E C C E M I C H I G A N W E E K 5
 
Banish Your Inner Critic - HOW Interactive Conference, Boston
Banish Your Inner Critic - HOW Interactive Conference, BostonBanish Your Inner Critic - HOW Interactive Conference, Boston
Banish Your Inner Critic - HOW Interactive Conference, Boston
 
Varnish in action phpday2011
Varnish in action phpday2011Varnish in action phpday2011
Varnish in action phpday2011
 
Emotional Intelligence
Emotional IntelligenceEmotional Intelligence
Emotional Intelligence
 

Ähnlich wie The Windows Scheduler

10 Multicore 07
10 Multicore 0710 Multicore 07
10 Multicore 07
timcrack
 
Process, Threads, Symmetric Multiprocessing and Microkernels in Operating System
Process, Threads, Symmetric Multiprocessing and Microkernels in Operating SystemProcess, Threads, Symmetric Multiprocessing and Microkernels in Operating System
Process, Threads, Symmetric Multiprocessing and Microkernels in Operating System
LieYah Daliah
 
Slot02 concurrency1
Slot02 concurrency1Slot02 concurrency1
Slot02 concurrency1
Viên Mai
 

Ähnlich wie The Windows Scheduler (20)

Chorus - Distributed Operating System [ case study ]
Chorus - Distributed Operating System [ case study ]Chorus - Distributed Operating System [ case study ]
Chorus - Distributed Operating System [ case study ]
 
Multithreading 101
Multithreading 101Multithreading 101
Multithreading 101
 
Os
OsOs
Os
 
Parallel Processing (Part 2)
Parallel Processing (Part 2)Parallel Processing (Part 2)
Parallel Processing (Part 2)
 
Rtos
RtosRtos
Rtos
 
OS_module2. .pptx
OS_module2.                          .pptxOS_module2.                          .pptx
OS_module2. .pptx
 
4.Process.ppt
4.Process.ppt4.Process.ppt
4.Process.ppt
 
Rtos
RtosRtos
Rtos
 
Pthread
PthreadPthread
Pthread
 
ghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjjjjjjjjjjjj
ghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjjjjjjjjjjjjghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjjjjjjjjjjjj
ghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjjjjjjjjjjjj
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
10 Multicore 07
10 Multicore 0710 Multicore 07
10 Multicore 07
 
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncationLM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
 
Threading.pptx
Threading.pptxThreading.pptx
Threading.pptx
 
Process, Threads, Symmetric Multiprocessing and Microkernels in Operating System
Process, Threads, Symmetric Multiprocessing and Microkernels in Operating SystemProcess, Threads, Symmetric Multiprocessing and Microkernels in Operating System
Process, Threads, Symmetric Multiprocessing and Microkernels in Operating System
 
Chapter 6 os
Chapter 6 osChapter 6 os
Chapter 6 os
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
 
Unit 2 part 2(Process)
Unit 2 part 2(Process)Unit 2 part 2(Process)
Unit 2 part 2(Process)
 
Slot02 concurrency1
Slot02 concurrency1Slot02 concurrency1
Slot02 concurrency1
 
Scheduling Thread
Scheduling  ThreadScheduling  Thread
Scheduling Thread
 

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

The Windows Scheduler

  • 1. The Windows Scheduler Peter Shirley-Quirk
  • 2.
  • 3.
  • 4.
  • 5. When is a thread Ready to run? Figure 3-19, Inside Microsoft Windows 2000, Third Edition by David A. Solomon and Mark E. Russinovich
  • 6.
  • 7.
  • 8. Process Priority Classes The Process Priority Class is under the designer’s control Can be read or set using System.Diagnostics.Process.PriorityClass AboveNormal Time-critical tasks that must be executed immediately e.g. the Task List dialog High BelowNormal E.g. multimedia applications RealTime E.g. screen saver, indexer etc. Idle No special scheduling needs. Normal
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.