The Gateway to Computer Science Excellence
0 votes
8 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?
in Operating System by Veteran (54.9k points) | 8 views

1 Answer

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}$

by Boss (13.4k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,644 questions
56,517 answers
195,581 comments
101,143 users