Re: PCI DMA into USER space

From: Philip Blundell (Philip.Blundell@pobox.com)
Date: Thu Jun 15 2000 - 01:24:36 EST


>I don't know if there is really any speed advantage to using memory
>mapped IO or bus mastering operations; I think the only difference at
>the bus level is which device is the initiator of the transaction.
>There is of course a difference in host CPU utilization.

With PCI it is usually much faster to write than to read. So if you are moving
data towards the CPU it is better to have a busmaster peripheral write it into
host memory than have the CPU pull it across the bus. There's also a tradeoff
with latency, though this isn't often all that important.

p.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:34 EST