L2 cache size related question

Mar 11, 2010 3 Replies

I am evaluating the memory throughput of DM6437 DSP. The L2 cache size i



128 KB. Here are the throughput details.


Array Size Data Written Loops Time in seconds Throughput



64 KB 8000 KB 125 0.336 23.3 MB/s
74 KB 9220 KB 125 0.390 23.0 MB/s
162 KB 20207 KB 125 0.989 19.97 MB/s


To summarize the table, for every loop i am copying an array of differen sizes from one memory location to another using memcpy. after 125 loops.. am calculating the throuput by dividing the total data written by tota time taken for the 125 loops. For the 64 and 74 KB arrays the througput ha slightly decreased (may be due to hit miss) and then throughput ha decreased drastically for 162 KB sized array, can i assume this decreas because of the lower L2 cache size ?


--------------------------------------- Posted through

formatting link


Your results are nonsense. The transfer rates should be higher by orders of magnitude. Perhaps, cache is disabled.

VLV

These are not taken on DSP/BIOS but on Linux running in parallel with DSP/BIOS. TI has shipped a Linux port with the DSP. Ofcourse it will be slower.

--------------------------------------- Posted through

formatting link

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required