We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

 CS501 Assignment:                                                                                      

 

Suppose we have a Processor XYZ with the following specifications:

 

  • Processor speed is 1 GHz.
  • It takes 2500 clock cycles to carry out a context switch followed by starting an Interrupt Service Routine (ISR).
  • To execute an ISR, 5000 cycles are required.
  • The device makes 100 interrupt requests per second.
  • Moreover when there are no interrupts, the processor polls for every 0.7 milli-sec and 300 cycles are required to poll an I/O device.

 

Students are required to calculate:

 

  1. No of cycles/sec the processor spends for handling I/O provided interrupts are used only.
  2. Percentage of CPU time used in interrupts handling.
  3. No of cycles/sec spent in I/O when polling is also used with interrupts.
  4. How frequently the processor polls so that it incurs the same overhead as interrupts.

 

 

The End

+ Click Here To Join also Our facebook study Group.

..How to Join Subject Study Groups & Get Helping Material?..


See Your Saved Posts Timeline

Views: 4151

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

Attachments:

Replies to This Discussion

khalid rehman 10,000 ki jaga jo 1st part ma value ai wo ni lihkni which is 1000000

 10,000 e aana hy

part c mai .7ms ki jaga 10ms hy. aur us k bd 3ms jo lkha hy wo bta sktay ho kesy aya ??

khalid rehman apki assignment ka i think part b and c ghlt hy

kia ghlt hy rania ?

Rose example 2 aur 6 dekhein pta chal jaye ga

cs501 wale 2500*2 kro or 10^9 kro or baki calculation krte jao

plz koi sehi solution upload ker do

why 10^9???????????

rania plz share kro kia bta rhi ho ap??

part c mai 0.7 ki jaga 10ms ata hy i think so referring to the said example

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

RSS

Today Top Members 

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service