CS501 Advance Computer Architecture  Assignment no.3 solution spring 2018

CS501 Advance Computer Architecture  Assignment no.3 solution spring 2018

Get Unique paid solution for this assignment. Cost 1000 rupees. Mail on projecthelp77@gmail.com

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.

Get Unique paid solution for this assignment. Cost 1000 rupees. Mail on projecthelp77@gmail.com

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
×

Hello!

Click one of our contacts below to chat on WhatsApp

× WhatsApp Us