QUOTE
co_memory_readblock performs a block DMA transfer between shared memories and local memories. The third argument, buf, is a pointer to an array that represents a block of local RAM. Note that co_memory_readblock is not designed for efficient random access of individual memory locations. Note also that stream interfaces may actually provide better hardware performance than memory block reads and writes if the system contains a CPU.
If I'm implementing a table in external memory, and I will be random accessing for reading and writing, mostly 64-bit chunks, with an occational, larger read and write, is there a better way? Also, what does the system containing a CPU have to do with it? (my system has two PowerPC CPUs connected to the fabric)
Should I be doing all my external memory access through the CPU, using streams, to take advantage of the PowerPC's data cache?
Thanks,
Jonathan












