Skip to content

Class Assignment for Implementing Modified Shortest Job First Algorithm along Priority for set of Non-Preemptive processes

Notifications You must be signed in to change notification settings

r4rajat/OS_C.A-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

OS_C.A-3

Class Assignment for Implementing modified Shortest Job First Algorithm for set of processes

Consider a scheduling approach which is non pre-emptive similar to shortest job next in nature. The priority of each job is dependent on its estimated run time, and also the amount of time it has spent waiting. Jobs gain higher priority the longer they wait, which prevents indefinite postponement. The jobs that have spent a long time waiting compete against those estimated to have short run times. The priority can be computed as : Priority = 1+ Waiting time / Estimated run time Write a program to implement such an algorithm.

About

Class Assignment for Implementing Modified Shortest Job First Algorithm along Priority for set of Non-Preemptive processes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages