.... How to Find Your Subject Study Group & Join ....   .... Find Your Subject Study Group & Join ....  

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

Study Groups By Subject code Wise (Click Below on your university link & Join Your Subject Group)

[ + VU Study Groups Subject Code Wise ]  [ + COMSATS Virtual Campus Study Groups Subject Code Wise ]

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

 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

Share This With Friends......


How to Find Your Subject Study Group & Join.

Find Your Subject Study Group & Join.

+ Click Here To Join also Our facebook study Group.


This Content Originally Published by a member of VU Students.

+ Prohibited Content On Site + Report a violation + Report an Issue


Views: 3522

See Your Saved Posts Timeline

Attachments:

Replies to This Discussion

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

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

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