2,302 views

1 Answer

0 votes
0 votes
Answer: 

On taking all the $4$ previous run times, the prediction

$\begin {align} =& (((40 + 20) / 2 + 40) /2 +15) / 2 \\ =& ((30 + 40 / 2 + 15 ) /2  \\=& (35 + 15)/2 \\=& 25 \end {align}$

On taking only $2$ previous executions, the prediction$ = \frac{40 + 15}{2} = 27.5$

edited by

Related questions

626
views
0 answers
0 votes
admin asked Oct 25, 2019
626 views
Consider a system in which it is desired to separate policy and mechanism for the scheduling of kernel threads. Propose a means of achieving this goal.
1.4k
views
1 answers
0 votes
admin asked Oct 25, 2019
1,413 views
A real-time system needs to handle two voice calls that each run every $6$ msec and consume $1$ msec of CPU time per burst, plus one video at $25$ frames/sec, with each frame requiring $20$ msec of CPU time. Is this system schedulable?
3.0k
views
2 answers
1 votes
admin asked Oct 25, 2019
2,975 views
A soft real-time system has four periodic events with periods of $50, 100, 200,$ and $250$ ... , respectively. What is the largest value of $x$ for which the system is schedulable?
322
views
0 answers
0 votes
admin asked Oct 25, 2019
322 views
For the above problem, can another video stream be added and have the system still be schedulable?