I am seeing these two independent issues on different apps in WP.
The performance of the app(the speed at which data is transferred on CAN) varies based on whether logs are enabled using logread -f command on a terminal. I am seeing better performance when logread -f | grep appName command is used on the terminal.
The app performance is varying considerably on subsequent runs. The time taken by app to complete a task is varying from 22 to 28 mins. Is there a way by which I can make the app run at a higher priority and always complete in 22 mins? I am using rt32 priority right now.
Please let me know if you have any solution for this. The performance is important for our application, I have been stuck on this for quite some time now.
Yes, logread will not be enabled in production. While debugging the app we are seeing better performance when logread is used.
After maximizing the cpushare and priority, no performance improvement is observed.
I have tried running the required application in stand-alone mode, with other applications removed from sdef file. There isn’t much improvement in performance with this.
I cannot use “local_irq_disable” and “local_irq_enable” as we are using multiple sockets at the same time. The code functionality is breaking when I add “local_irq_disable” and “local_irq_enable” in ISR.
We are able to achieve the desired performance with current code implementation, just the time is varying every time I run the app and I also have to keep the logread command running in one terminal.
In the next step, you have mentioned to Install it to the/opt/swi/y22-ext folder. I do not have such a folder in /opt directory. I have the following folder structure in /opt folder:
I am getting the above error when I run the script for installing the toolchain. I just downloaded the script and ran ./poky-swi-ext-glibc-x86_64-meta-toolchain-swi-ext-armv7a-neon-toolchain-swi-ext-2.2.3.sh. Am I missing some step before this?