Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the identical computer to the one in question 2, but now the sectors are transferred from disk cache to main memory by using processor-involved
Consider the identical computer to the one in question 2, but now the sectors are transferred from disk cache to main memory by using processor-involved software transfers, instead of DMA. The transfers are done one word at a time by a loop in assembly of the form: loop: Lw rom memory-mapped disk cache address */ to main memory*/ /* f SW ADDI.. BNEZ ..., _Loop /* branch back to LW for next iteration for next word *,/ *register increment for address register to main memory* Memory mapped locations (the loads above) are not cached by the processor caches. Further, the processor caches use write through for main memory locations. (In a write-through cache, all stores are written to main memory immediately instead of waiting for eviction of that data.). Hence both the loads and stores use the bus. The branch predictor is perfect, and thus there are no stalls from control hazards. What is the total transfer time in software for the sector? How many times faster is DMA in question 2 compared to this software transfer? Complet all parts and show work
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started