- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hello. Currently I am using DMA to transfer data from SDRAM to SRAM. The size of the data is 10digit (from 0 to 9). the result from performance counter showing DMA is slower than using IOWR. why? is it because the data is too small? if i transfer 512kb of data, will the result be more significant? please help me! thank you!
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Yes transferring a small amount of data will most probably be slower with a DMA, because of the time spent to configure the DMA core. The highest gains are with big transfers.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Thanks for the reply. If transferring 512KB of data, is it sufficient for testing?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
It should be enough. But using a size closer to your final application might be more interesting for you.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I tried for 2MB of data but still IOWR and IORD is faster. why? The data is transfer inside the same SDRAM but different offset.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
How faster? Are you sure you are measuring time correctly?
You could use some signaltap probes on the SDRAM controller to see what is happening during the transfers.- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi, it is done. Using DMA, it improves by 88.75%. Thanks ya! By the way, I have a question about performance counter report at http://www.alteraforum.com/forum/showthread.php?t=28665
Please help me out. Thanks!