Forum Discussion
Altera_Forum
Honored Contributor
10 years agoYes, the bandwidth does increase as I increase data blocks, so I don't believe that's the issue. I ran a test of transmitting 128 bytes in a loop of 100000 and got 2.56 MBytes/sec. Shouldn't I be getting much better results with the DMA? I recall looking at a different thread and I believe someone was getting a throughput of over 100 MBytes/sec!
I'm still verifying the incorrect data bytes but no I do not have data cache on my Nios. --- Quote Start --- It depends on how you use alt_nticks. It's perfectly ok if you use it to count the bandwidth over a high number of ticks, but if you just use it to count how many bytes were sent between two ticks you'll get unreliable results. Is the bandwidth increasing where you use larger blocks? As for the incorrect bytes read back, does your Nios CPU have a data cache? If yes did you remember to invalidate the area you check, or to bypass the cache when reading the data back? --- Quote End ---