Question: 2 . Consider a computer that reads data from a network card. The CPU clock frequency is 4 GHz . The CPU uses a polling
Consider a computer that reads data from a network card. The CPU clock frequency is GHz The CPU uses a polling strategy to access data from the network card, and, on each access, words are transferred from the network card to memory through the processor one word at a time
a Assuming CPU cycles of overhead for the polling procedure calling the polling routine, accessing the device, and returning and CPU cycles for each word transfer, what percentage of CPU time is spent in polling the network card if we want to achieve the maximum cardtomemory data transfer rate ie with the processor doing nothing other than polling and transferring data What is this maximum transfer rate in bytes per second?
b If we want to limit the CPU time spent on polling and transferring data to how frequently should the CPU be polled polls per second
c For the polling rate obtained in part b what is the rate of data transfer from the network card to the memory in bytes per second
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
