by support »
Hello,
It's not clear to me why you want to go that path. Have you checked what slows you down? Is it really the communication with the hardware? What data rate are we looking at?
There are very few practical situations for which AMP is really required, but if you want to go with xapp1078, Xillinux is just like any Linux. I've never tried it myself, but setting maxcpus=1 and changing the memory attribute in the device tree will most likely keep Linux off the second processor and leave some RAM space untouched.
As for the bare-metal application, I suppose whatever xapp1078 says applies the same.
But before going this way, I really suggest checking where your bottleneck is. For example, run "top" with your application running. What CPU percentages do you have there? How much idle percentage do you have? If you have 100% CPU on the working process, but 50% idle, for example, the solution is a dual-processing or dual-threading division of the task. Much easier.
Regards,
Eli
Hello,
It's not clear to me why you want to go that path. Have you checked what slows you down? Is it really the communication with the hardware? What data rate are we looking at?
There are very few practical situations for which AMP is really required, but if you want to go with xapp1078, Xillinux is just like any Linux. I've never tried it myself, but setting maxcpus=1 and changing the memory attribute in the device tree will most likely keep Linux off the second processor and leave some RAM space untouched.
As for the bare-metal application, I suppose whatever xapp1078 says applies the same.
But before going this way, I really suggest checking where your bottleneck is. For example, run "top" with your application running. What CPU percentages do you have there? How much idle percentage do you have? If you have 100% CPU on the working process, but 50% idle, for example, the solution is a dual-processing or dual-threading division of the task. Much easier.
Regards,
Eli