root@mitysom-am57x:~# ./rebind.sh && ./app_host DSP1 1000 16 1000 16kB messages sent Round trip time min: 1711 uS avg: 4228 uS max: 4605 uS Round trip throughput min: 3474 KB/s avg: 3784 KB/s max: 9351 KB/s Total throughput for all messages Total time: 1420486 uS Overall throughput: 11,263 KB/s root@mitysom-am57x:~# ./rebind.sh && ./app_host DSP1 100 256 100 256kB messages sent Round trip time min: 21497 uS avg: 60979 uS max: 62189 uS Round trip throughput min: 4116 KB/s avg: 4198 KB/s max: 11908 KB/s Total throughput for all messages Total time: 2017805 uS Overall throughput: 12,687 KB/s root@mitysom-am57x:~# ./rebind.sh && ./app_host DSP1 100 1024 100 1024kB messages sent Round trip time min: 84094 uS avg: 243119 uS max: 245928 uS Round trip throughput min: 4163 KB/s avg: 4211 KB/s max: 12176 KB/s Total throughput for all messages Total time: 8024165 uS Overall throughput: 12,761 KB/s root@mitysom-am57x:~# ./rebind.sh && ./app_host DSP1 10 2048 10 2048kB messages sent Round trip time min: 167351 uS avg: 442101 uS max: 490906 uS Round trip throughput min: 4171 KB/s avg: 4632 KB/s max: 12237 KB/s Total throughput for all messages Total time: 1312506 uS Overall throughput: 15,603 KB/s root@mitysom-am57x:~# ./rebind.sh && ./app_host DSP1 10 4096 10 4096kB messages sent Round trip time min: 334403 uS avg: 883494 uS max: 980857 uS Round trip throughput min: 4175 KB/s avg: 4636 KB/s max: 12248 KB/s Total throughput for all messages Total time: 2623419 uS Overall throughput: 15,613 KB/s [ 1.783] [t=0x3d466b3e] Server: Message received...6 [ 1.783] [t=0x3d49ac0c] Server: ToLocal [ 1.944] [t=0x42ccf6c9] Server: Checked --161ms [ 1.953] [t=0x43198d76] Server: Filled --9ms [ 1.953] [t=0x431ddbe7] Server: Server_exec: processed id 6, cmd=0x2 So for the 2MB messages it takes the DSP 161ms to read from RAM ``` /* Check values to see expected results */ for( j=0; j < bigDataLocalDesc.size/sizeof(uint32_t); j++) { if ( bigDataLocalPtr[j] != (msg->id+j) ) { errorCount++; } } ``` but only 9ms to fill it ``` /* Fill new data */ for ( j=0; j < bigDataLocalDesc.size/sizeof(uint32_t); j++) bigDataLocalPtr[j] = msg->id + 10 +j; ``` ARM CMEM 256KB [ 1.177] [t=0x287b9440] Server: 0x10000, 0x10001, 0x10002, 0x10003 [ 1.198] [t=0x292c182f] Server: Checked -- 21ms [ 1.199] [t=0x2934e4f3] Server: Filled -- 1ms [ 1.199] [t=0x293522fa] Server: Cache [ 1.219] [t=0x29e57bd5] Server: Checked10 -- 1ms [ 1.219] [t=0x29e5b8b0] Server: Server_exec: processed id 4, cmd=0x2 DSP 256KB Malloc [ 1.103] [t=0x25eb8125] Server: 0x1000a, 0x1000b, 0x1000c, 0x1000d [ 1.104] [t=0x25f2d8cc] Server: Checked -- 1ms [ 1.105] [t=0x25fb3e91] Server: Filled -- 1ms [ 1.105] [t=0x25fb8097] Server: Cache [ 1.106] [t=0x2602c6f8] Server: Checked10 -- 1ms [ 1.106] [t=0x26031edc] Server: Server_exec: processed id 5, cmd=0x2 4 256kB messages sent Round trip time min: 2958 uS avg: 3015 uS max: 3149 uS Round trip throughput min: 81295 KB/s avg: 84908 KB/s max: 86544 KB/s Total throughput for all messages Total time: 12846 uS Overall throughput: 79713 KB/s