Ask a question from expert

Ask now

Operating System Principle : Assignment

1 Pages272 Words136 Views
   

MAJAN UNIVERSITY COLLEGE

   

Added on  2021-09-17

Operating System Principle : Assignment

   

MAJAN UNIVERSITY COLLEGE

   Added on 2021-09-17

BookmarkShareRelated Documents
Operating System Working Principle of
Shortest Remaining Time First Algorithm

Introduction
Shortest Remaining
Time First Scheduling
is a pre-empted
version of SJF
(Shortest Job First). In
SJF, once a process
begins execution, it
runs until it is
completed. In SRTF A
successive process
can be pre-empted
by a process of user
with a minimal
estimated run time 1.

AdvantagesSRTF is a
scheduling
algorithm that
favours jobs that
can be done the
fastest
Schedule shortest
ones first
Optimize average
response time
Probably optimal
with respect to
minimizing the
average waiting
time.
The advantages of
SRTF is short
processes returns
quickly and it has
high yield2.


Disadvantage
sit must be possible
to accurately
estimate a job's
remaining time
and large jobs may
never get their
time share if many
small process is
continually added
Practically it is not
possible to predict
the burst time3.

Conclusion
It can be
concluded that the
shortest remaining
time first algorithm
depends on the CPU
burst time. It is the
pre-emptive version
of SJF. This algorithm
optimises the
average time.
1. OS SRTF scheduling Algorithm - javatpoint". in , ,
2018, <https://www.javatpoint.com/os-srtf-
scheduling-algorithm> [accessed 30 October 2018].
2. KAUR, P, "SRTF algorithm | Techtud.".
in Techtud.com, , 2018,
<https://www.techtud.com/example/srtf-algorithm-
0> [accessed 30 October 2018].
3. "SCHEDULING ALGORITHMS". in , , 2018, <https://
www.cl.cam.ac.uk/teaching/1617/OpSystems/pdf/05-
Scheduling-Algorithms.pdf> [accessed 30 October
2018].
References
Operating System Principle : Assignment_1

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Operations Systems : Assignment
|1
|292
|129

Computer Scheduling and Architecture
|15
|2901
|209

The comparison between FCFS, SJF and PR:.
|4
|440
|406