I am running a runtime environment on an ARM A35 dual-core processor (1.5GHz) and have encountered some issues. The CPU load (both CPU0 and CPU1) occasionally spikes above 50% before returning to normal, and this happens around 2-3 times per minute. At the same time, Iβve noticed that the Max Cycle Time in the Codesys monitoring screen shows much worse performance compared to the A53 (1.2GHz), with nearly double the cycle time.
The optimizations I have made so far are as follows:
Set the CPU to performance mode.
Isolated CPUs: CPU0 is dedicated to running Linux services and the runtime itself, while CPU1 runs the EtherCAT task and the MainTask.
Despite CPU1 only running these two tasks, the utilization still increases above 50%, which I find unreasonable.
Additionally, I performed tests using cyclictest both without and with the runtime running. The performance is shown in the following image:
From the results, I believe the CPU performance should be fine, but I am unsure why the monitoring results are not as expected. The testing outcomes should ideally be as close as possible to the cyclictest results.
I am running a runtime environment on an ARM A35 dual-core processor (1.5GHz) and have encountered some issues. The CPU load (both CPU0 and CPU1) occasionally spikes above 50% before returning to normal, and this happens around 2-3 times per minute. At the same time, Iβve noticed that the Max Cycle Time in the Codesys monitoring screen shows much worse performance compared to the A53 (1.2GHz), with nearly double the cycle time.
The optimizations I have made so far are as follows:
Set the CPU to performance mode.
Isolated CPUs: CPU0 is dedicated to running Linux services and the runtime itself, while CPU1 runs the EtherCAT task and the MainTask.
Despite CPU1 only running these two tasks, the utilization still increases above 50%, which I find unreasonable.
Additionally, I performed tests using cyclictest both without and with the runtime running. The performance is shown in the following image:
From the results, I believe the CPU performance should be fine, but I am unsure why the monitoring results are not as expected. The testing outcomes should ideally be as close as possible to the cyclictest results.
Does anyone have related solutions to this issue?
Last edit: z870623 2024-10-14