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?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?


See Your Saved Posts Timeline

Views: 4152

.

+ 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

I think Hand out lecture 30 is helpful to solve this assignment.

thanks

share your answer when done.

share ur ideas please

GHZ ko MHZ mn convert krna hai???

as described in lecture 30 GHz needs to be convered into MHz

30 lec main kahi nhi likha k GHZ ko MHZ main convert krna ha 

Yeh example lec 30 ki  example 6 sa total match ha .. bs GHZ k sath krna h

mere kehne ka matlab hai k lecture 30 main jo example di hai woh Mhz k hisab se hai or 1 Ghz = 1000 Mhz 

so according to that we can convert it into 1000 Mhz

yeah but me convert nhi kia

 context switching to ISR and back from it k lie aik clock cycle q li ap ne 

koi to sahi solution bta do?? plzzzzz

RSS

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

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