SJF without preemption
2016-08-23
0 0 0
no vote
Other
Earn points
This java code implements the SJF without preemption .
Shortest-Job-First (SJF)
another name is Shortest Process Next algorithm
a better name may be shortest next-CPU-burst first
assumes we know the length of the next CPU burst of all ready processes
the length of a cpu burst is the length of time a process would continue executing if given the processor and not preempted
SJF estimates the length of the next burst based on the lengths of recent cpu bursts
starts with a default expected burst length for a new process
suppose that time intervals are numbered 1 for first cpu burst, 2 for second cpu burst, etc.
default length is e(1), the expected length of time for the first cpu burst
unlike other scheduling algorithms, this algorithm assumes that information about a process's burst length is stored between the times when it is ready.
in keeping with the need for efficiency, only a small amount of info is stored and only a simple calc
Shortest-Job-First (SJF)
another name is Shortest Process Next algorithm
a better name may be shortest next-CPU-burst first
assumes we know the length of the next CPU burst of all ready processes
the length of a cpu burst is the length of time a process would continue executing if given the processor and not preempted
SJF estimates the length of the next burst based on the lengths of recent cpu bursts
starts with a default expected burst length for a new process
suppose that time intervals are numbered 1 for first cpu burst, 2 for second cpu burst, etc.
default length is e(1), the expected length of time for the first cpu burst
unlike other scheduling algorithms, this algorithm assumes that information about a process's burst length is stored between the times when it is ready.
in keeping with the need for efficiency, only a small amount of info is stored and only a simple calc
java
Related Source Codes
Android AOA Android Open Accessory Development Usi
0
0
no vote
VPN source code accelerator
0
0
no vote
VPN source code
0
0
no vote
Springboot Campus Recruitment System
0
0
no vote
Java intelligent QR code access control management
0
0
no vote
No comment