1,271 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

0 votes
0 votes
0 answers
1
admin asked Oct 25, 2019
568 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 votes
1 votes
1 answer
3
admin asked Oct 25, 2019
2,106 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 pr...
0 votes
0 votes
0 answers
4