09-16-2014 02:21 PM
Hi gents,
I have a Crio 9024, in my RT application, I have 2 processing loops, the first one run each 200 ms and the second one is a dynamic event loop running each 3s. So the CPU usage jumps from 35% to 50% each 3s to process the event is't normal ??? this kind of app can be harmful for crio'CPU or not ?
Thanks
Solved! Go to Solution.
09-16-2014 02:40 PM
I think the recommendation is keep the CPU load lower that 75%-80%, so you should be fine.
09-16-2014 02:41 PM
What happens inside that event?
Why do you think that a slight rise in CPU usage would be harmful?
09-16-2014 02:44 PM
Thanks gents for your fast reply,I was thinking it could be harmful because it's periodically jumping. so I'm just asking to know if it's normal or not.
09-16-2014 02:47 PM
09-16-2014 02:49 PM
Thanks
09-16-2014 02:49 PM
Your program is doing something extra every 3 seconds and CPU usage raises briefly every 3 seconds.
Coincidence? I don't think so! 😄
09-16-2014 02:55 PM
This is a very good source of information about cRIO http://www.ni.com/pdf/products/us/fullcriodevguide.pdf
I was a little bit high with 80%. See page 46:
When designing your real-time target application, you should aim for a CPU usage below 70 percent. You can monitor CPU usage with the NI Distributed System Manager or programmatically with the RT Get CPU Loads VI. Consider the following when trying to reduce the CPU usage of your application.