Real Time Disk Scheduling Parameters & Their Calculation: B.N. College of Engineering, Pusad
Real Time Disk Scheduling Parameters & Their Calculation: B.N. College of Engineering, Pusad
Real Time Disk Scheduling Parameters & Their Calculation: B.N. College of Engineering, Pusad
THEIR CALCULATION
Presented By:
Kaushal
4R-33
Guided By:
Prof. Ms. P.B. Niranjane
Calculation
Conclusion
References
12/7/21
PROBLEM
S
C
H
E
D
U
L
A Queue
R Disk
Transaction
Request
Disk Parameter
Disk Size
• No. of tracks ,Sectors & cylinder
• As a Block -100 block size
12/7/21
OPERATION ON DISK
• Read
• Write
Tra n s m i s s i o n Fa c t o r s
• Read-0.6
• Write-0.6
12/7/21
Transaction Request Parameter
Arrival Time
• Periodic
• Aperiodic /Sporadic
12/7/21
Scheduling Parameter
• Transaction ID
• An ID assigned to each requested transaction
• Average Execution Time
• Deadline
12/7/21
Creating Deadline
• For the creation of deadline of any transaction.
• Calculate
• Average execution time
= 1.5*block Size
• Deadline
• Slack factor-tolerance-assumed to be 2
12/7/21
Execution Calculation
Seek time =abs(Initial Block head – Block to access)* seek factor
• Where 0<Seek factor <0.6
Transfer
Time=block size * transmission factor
• Where
Transmission type Transmission factor
Read 0.6
Write 0.6
Read & write 1.2
Read , write & compute 1.8
12/7/21
CALCULATION
Tid At To Bs Ai AET Di Rt Hi Si Li St TT TTT Ct
Completion Time
Response Time
Transaction ID
Transfer Time
Access Block
Seek Time
Block Size
End Block
Deadline
T1 0 Read/
R 2 6 =1.53 *Block6 12 =Initial
0>=Arrival Time6 head8 1.8 1.2 =Response
3.0 3.0
between
Write/Re1 Size1 to
Between position
=Block
=Access
size * =(Start time +
Or =Access Block-
toad100 100 or Transition
Block
=Completion
End Head Block+ Total Time
Initial
=Seek
write/Rea time Block
factor
Size Transmissi
Head)*seek
+Transfer
d Write =Arrival Time location
+ on Time
Factor Time
Compute (Slack factor
*Average execution
12/7/21 Time)
Scheduler Flow
Request
Schedu
No Request
ler
Queue
Yes
Update the queue
12/7/21
S
C SOLUTION
H
E
T T T T T T
D
6 5 4 3 2 1
U
L
A Queue
R
Disk
Transaction
Request Initial Disk head position=12
Tid At To Bs Ai AET Di Tid Rt Hi Si Li ST TT TTT Ct
12/7/21
References
• C.L. Liu & J.W. Layland , ”Scheduling Algorithm for
multiprogramming in hard real time environment ” , Journal of
the ACM ,vol-20,no.-1 pp.46-61,1973
• Ramamritham, K: and J. Stankovic, "Dynamic Task Scheduling in
Distributed Hard Real-Time Systems," IEEE Software, Vol. 1, No.
3, July 1984.
• Ben Kao, Hector Garcia-Molina, An overview of Real time
database System
12/7/21
THAT’S ALL!!!