Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

what does the DMA burst mean?

1,319 views
Skip to first unread message

johndoe

unread,
Mar 11, 2009, 4:11:16 AM3/11/09
to
for example, DMA burst size 2k, what does it mean?

sorry for this kind of question.

thanks.


Kerem Gümrükcü

unread,
Mar 11, 2009, 4:18:42 AM3/11/09
to
Hi,

read this:

http://en.wikipedia.org/wiki/Burst_mode_(computing)
http://en.wikipedia.org/wiki/Direct_memory_access

Read all of both, then you will know,...

Regards

K.

--
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Latest Project: http://www.pro-it-education.de/software/deviceremover
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

"johndoe" <joh...@microsoft.com> schrieb im Newsbeitrag
news:OMXlrsZo...@TK2MSFTNGP04.phx.gbl...

amor...@ieee.org

unread,
Mar 12, 2009, 10:13:54 AM3/12/09
to

A burst transfer, in hardware terms, is a data transfer where upfront
knowledge of certain factors - such as physical memory addresses being
incremented sequentially - allow the hardware circuitry to use a
shortened cycle for all but the first transfer, thus achieving higher
throughput at the cost of hogging up the transfer medium (such as a
bus) for the duration of the transfer.

Bursts are extensively used in memory technology and are not limited
to dma. For example, sometimes people say that a dynamic ram performs
"8-2-2-2" at a given clock frequency, meaning that it can transfer
information in bursts of four units (whatever the bus width of the
memory permits): the first transfer takes 8 clock cycles, but the next
three only take 2 cycles each. Try for example,
http://www.pcguide.com/ref/mbsys/bios/set/advchDRAMWrite-c.html.

Dma typically relies on the ability of a bus to accomodate multiple
hosts. Before you can do dma, you must go through an "arbitration"
cycle, so that your peripheral and no one else now "owns" the bus.
After this arbitration, you can issue one word and relinquish the bus,
or you can "burst" a number of words, meaning, you transfer the words
without going through another arbitration phase.

Note that while you're bursting a dma on a bus, nobody else can access
the bus. In order to avoid peripherals hogging the bus for extended
periods of time - avoiding for example sound breakdown while a disk
transfer or a complex rendering is taking place - many buses implement
watchdog protocols that limit the maximum size of a transfer.

So, if you have a 2K dma burst size, it means that after an initial
arbitration cycle gives your peripheral control of the bus, it will
transfer 2k bytes (or dwords, or whatever your unit of counting
happens to be) before relinquishing control.

This is mostly a hardware subject. If you want more detail, maybe you
could peruse the PCI bus standard, or just take a peek at a dma
controller's spec - for example, you can try
http://www.st.com/stonline/products/literature/anp/12729.pdf, or just
google for "dma burst".

Hope this helps,


Alberto.

Maxim S. Shatskih

unread,
Mar 12, 2009, 4:49:42 PM3/12/09
to
1 address cycle over the bus and then lots of consecutive data cycles to transfer 2K

--
Maxim S. Shatskih
Windows DDK MVP
ma...@storagecraft.com
http://www.storagecraft.com

"johndoe" <joh...@microsoft.com> wrote in message news:OMXlrsZo...@TK2MSFTNGP04.phx.gbl...

Maxim S. Shatskih

unread,
Mar 12, 2009, 4:52:26 PM3/12/09
to
>to dma. For example, sometimes people say that a dynamic ram performs
>"8-2-2-2" at a given clock frequency, meaning that it can transfer
>information in bursts of four units (whatever the bus width of the
>memory permits): the first transfer takes 8 clock cycles, but the next
>three only take 2 cycles each. Try for example,

It's much more complex, but the first not-so-exact approach for this is yes, correct.

>hosts. Before you can do dma, you must go through an "arbitration"
>cycle,

PCI arbitration is "hidden" and does not consume cycles. The bus release from the previous cycle does consume some time though.

amor...@ieee.org

unread,
Mar 12, 2009, 6:10:53 PM3/12/09
to

Dma Arbitration is required before you can transfer data, even if it
is pipelined with an earlier data cycle. It may not cost throughput,
but it will cost latency.

Alberto.

On Mar 12, 4:52 pm, "Maxim S. Shatskih"

0 new messages