Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

Students also viewed these Databases questions