49 49 votes Which of the following DMA transfer modes and interrupt handling mechanisms will enable the highest I/O band-width? Transparent DMA and Polling interrupts Cycle-stealing and Vectored interrupts Block transfer and Vectored interrupts Block transfer and Polling interrupts Operating System gateit-2006 operating-system io-handling dma normal + – 🚩 Migrate | 👮 Prashik_Ramteke | 💬 “COA question” Ishrat Jahan 18.4k views answer comment Share Follow Print See all 10 Comments 10 10 Comments reply Show 7 previous comments rishi71662data4 commented Dec 20, 2017 reply Follow flag Does High CPU bandwidth means that, CPU is least idle or CPU is very busy? Also, does high I/O bandwidth mean that, I/O device can transfer very high amount of data in a fixed time? 2 2 replyShare amitqy commented Mar 2, 2019 reply Follow flag In Transparent DMA CPU is most busy. How does it relate to High CPU bandwidth? Please expalin 1 1 replyShare ShivangiChauhan commented Oct 31, 2020 reply Follow flag In Transparent DMA CPU is most busy it means it can send more data in a fixed amount of time(Bandwidth is nothing but how much data is transferred in a fixed amount of data) therefore Bandwidth of CPU will be high in case of Transparent DMA 0 0 replyShare Please log in or register to add a comment.
Best answer 59 59 votes CPU get highest bandwidth in transparent DMA and polling. but it asked for I/O bandwidth not cpu bandwidth so option (A) is wrong. In case of Cycle stealing, in each cycle time device send data then wait again after few CPU cycle it sends to memory . So option (B) is wrong. In case of Polling CPU takes the initiative so I/O bandwidth can not be high so option (D) is wrong . Consider Block transfer, in each single block device send data so bandwidth ( means the amount of data ) must be high . This makes option (C) correct. Bikram answered Aug 29, 2017 • edited Jun 27, 2018 by kenzou Bikram comment Share Follow 0 reply Please log in or register to add a comment.
27 27 votes The answer is option C . In block transfer the entire block of data is transfered then only CPU again becomes the bus master And in vectored Interrupts . I/o device along with interrupts send vector address of Interrupt Service routine which guides CPU to execute for a specific I/O device Hence in both case BW will be required in a good amount ! spriti1991 answered Mar 29, 2015 • edited Aug 29, 2017 by Bikram spriti1991 comment Share Follow See all 7 Comments 7 7 Comments reply Show 4 previous comments Bikram commented Aug 29, 2017 reply Follow flag Consider Cycle stealing, in each cycle time device send data then wait again after few CPU cycle it sends to memory . So option B is wrong. Also CPU will get highest bandwidth in transparent DMA and polling. but it asked for I/O bandwidth not cpu bandwidth so option A is wrong. In case of Polling CPU takes the initiative so I/O bandwidth can not be high so option D is wrong . 8 8 replyShare Tuhin Dutta commented Aug 29, 2017 reply Follow flag Thank you sir.! Could you please explain transparent DMA and why is CPU BW high for that? 1 1 replyShare Pranavpurkar commented Aug 17, 2022 reply Follow flag Tuhin Dutta Could you please explain transparent DMA and why is CPU BW high for that? In transparent mode, the DMA controller transfers data only when the CPU is performing operations that do not use the system buses. 1 1 replyShare Please log in or register to add a comment.
3 3 votes Option AnalysisOption 1: Transparent DMA and Polling InterruptsTransparent DMA limits I/O bandwidth because transfers occur only during CPU idle times.Polling further reduces efficiency as it wastes CPU cycles checking device statuses.Verdict: Low I/O bandwidth.Option 2: Cycle-Stealing DMA and Vectored InterruptsCycle-stealing DMA improves I/O bandwidth compared to Transparent DMA by transferring data one bus cycle at a time.Vectored interrupts are efficient for handling I/O requests.Verdict: Moderate I/O bandwidth.Option 3: Block Transfer DMA and Vectored InterruptsBlock transfer DMA allows high I/O bandwidth by transferring data in bursts, maximizing bus usage.Vectored interrupts minimize CPU overhead, enabling efficient and fast I/O handling.Verdict: Highest I/O bandwidth.Option 4: Block Transfer DMA and Polling InterruptsWhile block transfer DMA provides high I/O bandwidth, polling interrupts waste CPU cycles checking device statuses, reducing overall efficiency.Verdict: Moderate I/O bandwidth.NOTE:Why Does Burst Mode Achieve Higher Bandwidth?The higher bandwidth of Burst Mode comes down to reduced bus switching overhead Arnav Singh_01 answered Nov 20, 2024 Arnav Singh_01 comment Share Follow 0 reply Please log in or register to add a comment.