Quantcast
Viewing all articles
Browse latest Browse all 5114

SDK • Re: Is DMA faster in this case?

I would say the CPU wins. It generally does. There is a rubric for deciding which way to go. DMA wins when you need async/deferred IO. DMA allows multiple priority systems to work in parallel. Many keep the CPU higher priority over DMA to avoid competition over the network.

To understand the DMA rubric you need to have an understanding of threading and multiprocessing over reliable networking. One of the temptations which draws you to DMA is multiplexing or parallelism. This can lead to a bandwidth vs latency/priority trap. Much like the Harvard vs Von Nuemann trap. Stick to the rubric it is based on laws of fundamentals which avoid these deceptions.

Statistics: Posted by dthacher — Tue Dec 17, 2024 6:39 pm



Viewing all articles
Browse latest Browse all 5114

Trending Articles