Jump to content
Urch Forums

From Schaum's OS (5)


wood

Recommended Posts

 

7.1 On a computer system with a single 32-bit 100Mhz bus (10 ns cycle), the disk controller uses DMA to transfer data to/from memory at a rate of 40Mb per second. Assume the computer fetches and executes one 32-bit instruction every cycle when no cycles are stolen. By what percentage will the disk controller slow down instruction execution?

 

 

Link to comment
Share on other sites

Actually, you have a point. The book says 40Mb, but I believe it is using 40 MB.

 

Here's the book explanation:

 

"Given the bus is 32 bits wide, the controller can transfer 4 bytes 10,000,000 times per second or 4 bytes every 100 ns. The controller will steal a cycle once every 10 instruction fetches for a slowdown of 10%."

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...