Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Doubt regarding CPU scheduling

Status
Not open for further replies.

horace1

Advanced Member level 5
Joined
Nov 18, 2008
Messages
2,123
Helped
596
Reputation
1,188
Reaction score
573
Trophy points
1,393
Location
Norwich, UK
Activity points
13,071
perhaps these are just different names for the same thing and it varies from operating system to operating system.
A scheduler control the execution of programs in a multiprogramming environment, i.e. in a single processor system decides which program of those able to run can execute using the CPU. For example
1. priority based - in a real time system tasks will be assigned priorities based on how critial they are. The scheduler runs the highest priority process that can run
2. in a time share system programs may run in a round robin system where each program gets a time slice to execute - so long as they are not too mant programs they all appear to run at the same time.

Some operating systems run multi-level round robin system with high priority tasks (e.g. IO bound) in the top level and low priority (e.g. CPU bound) in the bottom. If nothing can run in the top level round robin it moves down the priorities until it finds one it can run. If nothing can run the CPU idle task runs.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top