.... 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

Q 1. Suppose we have a 1.5-GHz CPU to which the following three I/O devices are connected:

 

  1. Flash drive that can transfer data in 32-byte chunks with a maximum transfer rate of 16 MB/sec
  2. DVD drive which can transfer data in 16-byte chunks with a maximum transfer rate of 16 MB/sec
  3. Joystick that needs to be polled 50 times per second

 

Polling requires 300 instructions for each I/O device. Students are required to compute the percentage of CPU time required to poll each device.

 

 

Q 2. Instead of polling, we want to use interrupts for handling the DVD drive. Keeping in view the DVD drive to be active only 12% of the time, you are required to compute the percentage of CPU time for handling it.

 

Note: Interrupt and polling requires the same amount of instructions.

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

+ Safety Guidelines for New + Site FAQ & Rules + Safety Matters

+ Important for All Members Take a Look + Online Safety


Views: 8776

See Your Saved Posts Timeline

Replies to This Discussion

plz solution share kar dy cs501 ka

how to calculate % of CPU? any idea

50*300 = 15000

15000/(10*10^6) = 0.0015%

Bhai aap ny MIPS kasy calculate keye hen? Ya phir sirf assume kr rhy hen k MIPS 10 hen? 

plz solution send kery cs501 3rd asighnmnt on my id rabiamustafa250@gmail.com

10^9 use hogi because processor GHz ka hai

I have doubt on DVD calculation because of the 16byte chunks in book it is divided by 2 then calculated other wise same answers 10.24

Lkn is me ek doubt he, apny MIPS 1500 use keye hen na? MIPS aur processor speed me farq hota he.

Me to 2 bar email kr k instructor se poch chuka hoon k CPI to given nhi he to MIPS kis trha calculate kren, ek bar unho ny kaha k internet pe search kr lo aur dosri bar kaha k kal VVH session me appear ho. 

g mujhy bi google or recomended books ki rah dikhae

RSS

Forum Categorizes

Job's & Careers (Latest Jobs)

Admissions (Latest Admissons)

Scholarship (Latest Scholarships)

Internship (Latest Internships)

VU Study

Other Universities/Colleges/Schools Help

    ::::::::::: More Categorizes :::::::::::

Member of The Month

1. Marha Khan

Dera Ghazi Khan, Punjab, Pakistan

© 2018   Created by + M.TariK MaliC.   Powered by

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