Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Explain why I/O with DMA is more efficient than with polling? P Suppose you deve

ID: 3848886 • Letter: E

Question

Explain why I/O with DMA is more efficient than with polling? P Suppose you develop a photo-editing application to run on the Linux OS. To speed running on multi-core computers, the program uses 4 processes that execute various CPU-intensive editing tasks (e.g. filtering, smoothing, compression) in parallel. Keep in mind that high-resolution pictures need megabytes of memory. Which method for inter-process communication would you choose to optimize application performance (i.e. reduce execution time): shared memory? Message passing? File sharing? Explain in detail your choice.

Explanation / Answer

21.

Generally polling is more efficient than I/O.This is the case when the I/O is short duration and it is frequent.

Here you should know DMA. It increses system concurrency.The reason how it increases system concurrency is by allowing the CPU to perform the tasks while here in this case DMA system transforms the data via the memory buses and system.Hardware design is complicated.why because here the DMA controller and the system must be integrated and to be a bus master the system must allow the DMA controller.Note that cycle stealing is also parallely imprtant and necessary to allow the CPU and DMA controller to share the use of memory bus.This is the reason that I/O with DMA is more efficient then polling.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote