26292 total geeks with 3498 solutions
Recent challengers:
 Welcome, you are an anonymous user! [register] [login] Get a yourname@osix.net email address 

Articles

GEEK

User's box
Username:
Password:

Forgot password?
New account

Shoutbox
MaxMouse
It's Friday... That's good enough for me!
CodeX
non stop lolz here but thats soon to end thanks to uni, surely the rest of the world is going good?
stabat
how things are going guys? Here... boring...
CodeX
I must be going wrong on the password lengths then, as long as it was done on ECB
MaxMouse
lol... the key is in hex (MD5: of the string "doit" without the "'s) and is in lower case. Maybe i should have submitted this as a challenge!

Donate
Donate and help us fund new challenges
Donate!
Due Date: May 31
May Goal: $40.00
Gross: $0.00
Net Balance: $0.00
Left to go: $40.00
Contributors


News Feeds
The Register
Phones for the
elderly: Testers
wanted for senior
service
Lego X-wing fighter
touches down in New
York"s Times Square
Experts: Network
security
deteriorating,
privacy a lost
cause
Internet cafés
declared "illegal
businesses" in Ohio
SAP shuffles execs
to chase cloud
success
AT&T adds 61˘
"Mobility
Administrative Fee"
for users
Microsoft caves to
Google, pulls
YouTube app from
WinPhone Store
Amazon expands
Appstore reach,
gives devs more
user data
Now it gets
serious: Fracking
could RUIN BEER
Reports: New Xbox
could DOOM
second-hand games
market
Slashdot
Researcher Unlocks
Galaxy S4
Bootloader For
AT&T, Verizon
Phones
Mayor Bloomberg
Battles Fleet
Owners Over NYC
"Taxi of Tomorrow"
Schrödinger"s
Cat and RCU (Well,
Structured
Procrastination,
Actually)
Med Students
Unaware of Their
Bias Against Obese
Patients
Six Months
Developing Software
For Wearable
Computing
Human Stem Cell
Cloning Paper
Contains Reused
Images
How the Smartphone
Killed the
Three-day Weekend
Spain"s New S-80
Class Submarines
Sink, But Won"t
Float
Can the Wii U
Survive Against the
PS4 and Xbox One?
World"s Biggest
"Agile" Software
Project Close To
Failure
Article viewer

Scheduling -Part 1-



Written by:dimport
Published by:dimport
Published on:2003-06-21 07:19:46
Topic:Miscellaneous
Search OSI about Miscellaneous.More articles by dimport.
 viewed 14897 times send this article printer friendly

Digg this!
    Rate this article :
Have you ever wondered about how the processes in a given operating system get chosen and therefore processed? Well in the first part of a 2 part article on scheduling I will explain generically about high, medium and low level scheduling.

What exactly is Scheduling?
Scheduling is the term used to describe the method which the operating system uses to choose the order which processed are handed to the processor.
High Level Scheduling
The high level scheduler (HLS) is the scheduler that controls the admission of jobs into the system. It is the scheduler that decides which new waiting jobs should be converted into processes and assigned the READY state.
The READY state is the name given to a state of a process when it is ready for processor attention. It is part of a three state diagram which is beyond scope of this article (it is part of the process life cycle, which I will cover at a later date).
Since the HLS is in control of assigning new jobs to processes, it is therefore responsible for ensuring the computer is not overloaded.
Medium Level Scheduling
Medium level scheduling is a funny old girl, in that it is only implemented into systems that allow processes to be swapped from memory and onto disk to reduce the system load. The medium level sheduler will only remoce process in the READY, or BLOCKED (WAITING I/O) state. Anything in the RUNNING state, since being active, will not be affected.
Low Level Scheduling
This is the most complex of the schedulers, and will be further investigated in my second article on scheduling.
There are two main types of scheduling involved with the low level scheduler, they are the premptive schedule, or the non-preemptive schedule.
Preemptive Policies
Preemtive scheduling allows the LLS is allowed to remove a process from RUNNING state so that it can give another process time with the processor.
Non-Preemptive Policies
Non-Preemptive scheduling does not allow the LLS to remove a process once it has hit the RUNNING state, that process will run until it finishes or incurs an I/O request.
The problem with preemptive scheduling is that it generates larger loads since it involves more switching. It has the advantage though, of stopping long processes hogging processor time.
Cooperative Scheduling
I include this section purely out of my own interest, and is another reason to dislike the mindset of the Windows developers.
In early versions of Windows, before Windows 95, they appeared to have a non-preemptive scheduling policy implemented, but it was a method known as cooperative scheduling, which involved the control of the processor to be handled by the applications, rather than the operating system. It is fairly easy to see what happened with this system eh?
In the next article I will delve into the Low Level Scheduling Policies, so check back soon.

This article was originally written by Sliptop

Did you like this article? There are hundreds more.

Comments:
<none>
Anonymously add a comment: (or register here)
(registration is really fast and we send you no spam)
BB Code is enabled.
Captcha Number:


Blogs: (People who have posted blogs on this subject..)
Action
First one on Tue 12th Jan 10pm
Yaw, this is the first blog post, just to begin with something. Nice site here, cool features like OSIDrive, and so on. However, strange that an "OpenSource Institute" uses non-OpenSource softare to host its site (Windows and IIS). It's not correct... I t
bb
A Daily Profanity at dailyprofanity.com on Mon 21st Dec 11am
For anyone who likes viz, and roger mellies profanisaurus. There's a website called amusing daily profanity which dishes up a humorous profanity every day via rss, twitter email and a few other ways. Rather rude words, but very funny in my opinion,
hambone
Blog entry for Wed 25th Nov 7pm on Wed 25th Nov 7pm
wtf i can't do geek 12. I don't know what to do. i want to kill myself becuz of this
haziman
Blog entry for Mon 9th Nov 4am on Mon 9th Nov 4am
for all geekos out there...
echmil
fuck you all!!!!!!!! on Sat 7th Nov 11pm
jag har tjock med tyngate tråkigt-.-
goldie
Blog entry for Tue 5th May 6am on Tue 5th May 6am
import javax.mail.*; import javax.mail.internet.*; import javax.activation.*; import java.io.*; import java.util.Properties; public class SENDMAIL { public void sendMail(String mailServer, String from, String to,
bb
Bubble Graph on Wed 11th Mar 12pm
I love this graph bubble graph http://www.osix.net:80/modules/folder/in dex.php?tid=28125&action=vf
ketan404
My online resume! on Mon 9th Mar 8am
It is here http://www.listoffreelancers.com/profile s/ketankulkarni Simple and clean design. I like this website. Ketan
macrocat
Blog entry for Sun 8th Mar 3pm on Sun 8th Mar 3pm
Another site with some challenges. Basically, I'm linking this to get a measly five points ;O. Hellbound Hackers
Nightscript
Parapsychology - Fri 19th Dec 5am on Fri 19th Dec 5am
Yes i'm crazy but heres what ive been thinking about and it seems more reasonable that a lot of reality. Note that this ties into parapsychology/psychokinesis research. Mind is not over matter. Thats the wrong state of thinking for sure. Look, this


     
Your Ad Here
 
Copyright Open Source Institute, 2006