[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Question about UHD driver
From: |
Marcus Müller |
Subject: |
Re: [Discuss-gnuradio] Question about UHD driver |
Date: |
Fri, 17 May 2013 18:04:37 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
Hi Mark,
as interesting as your point is, that's not something that
can be fixed within the scope of GNU Radio or even UHD...
Anyhow, I'm not really convinced that multiple DMA transfers are always
faster than copying data using memcpy - at least if those DMA transfers
copy only a few kilobytes, as is the case with packets from network devices.
The fact that packets are of limited size is not really a problem of
current computing architectures - it's a consequence of having packet
networks. Of course, it would be nice if your hardware would be able to
actually stream data into your userland, that somehow has the (zero
overhead) capability to tell the hardware to send the next sample - but
in reality, hardware-to-cpu-transfers usually happen en block, and that
is just fine for most applications, since there is little use of having
samples one after another; therefore, some buffering is always necessary
(and will always be).
For the sake of adaptivity, hardware supplied data most probably won't
be written to copy device data to multiple RAM addresses, since the data
from the device usually needs some processing (hence the driver).
So in effect, in most imaginable cases a device will do a single
DMA transfer to RAM.
Greetings,
Marcus
- [Discuss-gnuradio] Question about UHD driver, Mark McCarron, 2013/05/16
- Re: [Discuss-gnuradio] Question about UHD driver, Marcus D. Leech, 2013/05/16
- Re: [Discuss-gnuradio] Question about UHD driver, Matt Ettus, 2013/05/16
- Re: [Discuss-gnuradio] Question about UHD driver, mleech, 2013/05/17
- Re: [Discuss-gnuradio] Question about UHD driver, Mark McCarron, 2013/05/17
- Re: [Discuss-gnuradio] Question about UHD driver, Matt Ettus, 2013/05/17
- Re: [Discuss-gnuradio] Question about UHD driver, Mark McCarron, 2013/05/17
- Re: [Discuss-gnuradio] Question about UHD driver, Marcus Müller, 2013/05/17
- Re: [Discuss-gnuradio] Question about UHD driver, Mark McCarron, 2013/05/17
- Re: [Discuss-gnuradio] Question about UHD driver, Marcus D. Leech, 2013/05/17
- Re: [Discuss-gnuradio] Question about UHD driver,
Marcus Müller <=
- Message not available
- Re: [Discuss-gnuradio] Question about UHD driver, Mark McCarron, 2013/05/17
- Message not available
- Message not available
- Re: [Discuss-gnuradio] Question about UHD driver, Mark McCarron, 2013/05/17
- Re: [Discuss-gnuradio] Question about UHD driver, Marcus D. Leech, 2013/05/17
- Re: [Discuss-gnuradio] Question about UHD driver, Johnathan Corgan, 2013/05/17
- Re: [Discuss-gnuradio] Question about UHD driver, Mark McCarron, 2013/05/17
- Re: [Discuss-gnuradio] Question about UHD driver, Marcus Müller, 2013/05/17
- Re: [Discuss-gnuradio] Question about UHD driver, Mark McCarron, 2013/05/17
- Message not available
- [Discuss-gnuradio] Fwd: Question about UHD driver, Hilbert Transform, 2013/05/17
- Re: [Discuss-gnuradio] Fwd: Question about UHD driver, Mark McCarron, 2013/05/17
- Re: [Discuss-gnuradio] Question about UHD driver, Marcus Müller, 2013/05/17