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.

TDA4VM: Access to shared mem through /dev/mem seems slow

Part Number: TDA4VM

I have a program running on A72 under Linux which exchanges data with the C7 DSP.

For this purpose I mapped a part of shared memory via /dev/mem and mmap().

Now when I have code on A72 operating on this shared memory it is somehow much slower compared to using local data.

My question is: Is this something with caches? How can I work around this? Is /dev/mem bad? Do I need the ION mem allocator maybe?

Thanks!
Br Jan