* 8260 IDMA experience?
@ 2002-06-01 3:15 Allen Curtis
2002-06-03 12:33 ` Arto Vuori
0 siblings, 1 reply; 4+ messages in thread
From: Allen Curtis @ 2002-06-01 3:15 UTC (permalink / raw)
To: linuxppc-embedded
Does anyone have experience with IDMA on the 8260? Are there any special
considerations if you wanted to use the memory-to-memory copy function in
place of a memcpy()? (kernel memory only at this time)
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 8260 IDMA experience?
2002-06-01 3:15 8260 IDMA experience? Allen Curtis
@ 2002-06-03 12:33 ` Arto Vuori
2002-06-03 13:20 ` Allen Curtis
0 siblings, 1 reply; 4+ messages in thread
From: Arto Vuori @ 2002-06-03 12:33 UTC (permalink / raw)
To: acurtis; +Cc: linuxppc-embedded
Allen Curtis wrote:
>
> Does anyone have experience with IDMA on the 8260? Are there any special
> considerations if you wanted to use the memory-to-memory copy function in
> place of a memcpy()? (kernel memory only at this time)
I have been using IDMA to transfer data between kernel memory and a
FPGA. I also did some testing with memory-to-memory transfers and i
didn't find them to be worth the trouble. Performance ain't that great.
You probably get more speed by copying with your CPU, though you might
avoid some cache trashing.
I did also notice that when i am doing memory-to-peripheral (or
vice-versa) transfers, IDMA corrupts simultaneous Ethernet traffic
unless IDMA is set to low-priority mode. Same might apply for
memory-to-memory transfers.
Arto
--
Arto Vuori
email: avuori@ssh.com
mobile: +358 40 754 5223
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: 8260 IDMA experience?
2002-06-03 12:33 ` Arto Vuori
@ 2002-06-03 13:20 ` Allen Curtis
2002-06-03 13:56 ` Arto Vuori
0 siblings, 1 reply; 4+ messages in thread
From: Allen Curtis @ 2002-06-03 13:20 UTC (permalink / raw)
To: Arto Vuori; +Cc: linuxppc-embedded
> I have been using IDMA to transfer data between kernel memory and a
> FPGA. I also did some testing with memory-to-memory transfers and i
> didn't find them to be worth the trouble. Performance ain't that great.
> You probably get more speed by copying with your CPU, though you might
> avoid some cache trashing.
So it works but it may not be as fast as a memcpy(). Sounds like more
testing is required to determine the overall benefit of freeing the
processor.
> I did also notice that when i am doing memory-to-peripheral (or
> vice-versa) transfers, IDMA corrupts simultaneous Ethernet traffic
> unless IDMA is set to low-priority mode. Same might apply for
> memory-to-memory transfers.
What 8260 chip revision are you using? I have found lots of problems when
rev A processors but rev C has been much better.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 8260 IDMA experience?
2002-06-03 13:20 ` Allen Curtis
@ 2002-06-03 13:56 ` Arto Vuori
0 siblings, 0 replies; 4+ messages in thread
From: Arto Vuori @ 2002-06-03 13:56 UTC (permalink / raw)
To: acurtis; +Cc: linuxppc-embedded
Allen Curtis wrote:
> So it works but it may not be as fast as a memcpy(). Sounds like more
> testing is required to determine the overall benefit of freeing the
> processor.
Right. We are using IDMA only for accessing slow devices, so that CPU
don't need to wait for the data and can do some usefull work
simultaneously.
>
> > I did also notice that when i am doing memory-to-peripheral (or
> > vice-versa) transfers, IDMA corrupts simultaneous Ethernet traffic
> > unless IDMA is set to low-priority mode. Same might apply for
> > memory-to-memory transfers.
>
> What 8260 chip revision are you using? I have found lots of problems when
> rev A processors but rev C has been much better.
I have done most of my testing with revision A chips. I've had many
problems with those chips and it took some time with logic analyzer to
debug those IDMA transfers before i got them working.
Arto
--
Arto Vuori
email: avuori@ssh.com
mobile: +358 40 754 5223
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-06-03 13:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-01 3:15 8260 IDMA experience? Allen Curtis
2002-06-03 12:33 ` Arto Vuori
2002-06-03 13:20 ` Allen Curtis
2002-06-03 13:56 ` Arto Vuori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).