1,412 views
0 votes
0 votes
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?

1 Answer

0 votes
0 votes

Answer:

Voice runs every $5 \;\text{ms} = \frac{1}{0.005} = 200 \;\text{times per second}$

Video runs at $25$ frames/ second $=25 \;\text{times per second}$

voice require $1\;\text{ms}$ eac time $=200 \;\text{ms per second}$

Video needs $20$ ms  $=25\times0.020 = 500\;\text{ms}$

$\therefore \text{Total} = 200\;\text{ms}\times2 + 500 \;\text{ms} = 900 \; \text{ms}$

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.
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?
2.3k
views
1 answers
1 votes
admin asked Oct 25, 2019
2,302 views
The aging algorithm with $a = 1/2$ is being used to predict run times. The previous four runs, from oldest to most recent, are $40, 20, 40,$ and $15$ msec. What is the prediction of the next time?
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?