This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Impact of L2 cache size

Hello,

 

I am evaluating the memory throughput of DM6437 DSP. The L2 cache size is 128 KB. Here are the throughput details.

 

Array Size  Data Written  Loops Time in seconds Throughput
64 KB           8000 KB        125            0.336              23.32 MB/s
74 KB           9220 KB        125            0.390              23.09 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 different sizes from one memory location to another using memcpy. after 125 loops.. i am calculating the throuput by dividing the total data written by total time taken for the 125 loops. For the 64 and 74 KB arrays the througput has slightly decreased (may be due to hit miss) and then throughput has decreased drastically for 162 KB sized array, can i assume this decrease because of the lower L2 cache size ?