We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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

Looking For Something at Site? Search Below

 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


+ 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?)

+ Click Here To Join (Our facebook study Group)


Views: 4282

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

Latest Activity

EsT@TiC M@nO posted a status
"anyone have solution file of cs420?"
5 hours ago
Ehtisham Ashfaq posted a status
"salam"
5 hours ago
+!!! ❤️ Shadow Girl❤️!!! replied to Miss. Churhail's discussion LOVE YOUR LIFE!!!!!
5 hours ago
+!!! ❤️ Shadow Girl❤️!!! liked Miss. Churhail's discussion LOVE YOUR LIFE!!!!!
5 hours ago
+!!! ❤️ Shadow Girl❤️!!! liked Miss. Churhail's discussion ہار کی پروا کرتا تو جیتنا چھوڑ دیتا
5 hours ago
Tasmia Ittba joined +M.Tariq Malik's group
6 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MGT401 Financial Accounting II Online Quiz No 01 Fall 2020 Solution / Discussion in the group MGT401 Financial Accounting II
6 hours ago
+M.Tariq Malik liked +M.Tariq Malik's discussion MGT401 Financial Accounting II Online Quiz No 01 Fall 2020 Solution / Discussion
6 hours ago
+M.Tariq Malik added a discussion to the group MGT401 Financial Accounting II
6 hours ago
Muhammad Azeem replied to +M.Tariq Malik's discussion MGT601 GDB No 01 Fall 2020 Solution / Discussion Last Date: 27-11-2020 in the group MGT601 SME Management
6 hours ago
Muhammad Azeem joined +M.Tariq Malik's group
6 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS420 Web Development for Portable Devices Assignment 01 Fall 2020 Solution / Discussion in the group CS420 Web Development for Portable Devices
6 hours ago
+M.Tariq Malik liked +M.Tariq Malik's discussion CS420 Web Development for Portable Devices Assignment 01 Fall 2020 Solution / Discussion
6 hours ago
+M.Tariq Malik added a discussion to the group CS420 Web Development for Portable Devices
6 hours ago
乇メ-丂イひり3刀イ. liked 乇メ-丂イひり3刀イ.'s discussion *** الوداع اردو ***
6 hours ago
乇メ-丂イひり3刀イ. posted a discussion
6 hours ago

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

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

.