06-18-2013 09:52 AM
I am working on analyzing the CPU utilization on a cRIO with a large AF application. If anyone has experience that they would share I would appreciate it. No sense recreating the wheel. I will post follow ups as I gain experience if there is interest.
Casey
Phoenix, LLC
CLA, LabVIEW Champion
Check Out the Software Engineering Processes, Architecture, and Design track at NIWeek. 2018 I guarantee you will learn things you can use daily! I will be presenting!
12-04-2013 09:39 AM
Casey - any results on this? I'm curious to know if you found anything interesting.
12-04-2013 11:59 AM
Matt,
The biggest update I can report is that my CPU utilization was varying on different systems I had due to executing the Handle Error.vi method which contained a message with the error to an error logger. I suspect that the increased utilization was disk access.
A second "bad actor" was repeated calls to Handle Error.vi were a time delayed message was being sent. The time delay was blocking and upon release of the resource the CPU utilization would spike. I am imagining everything that was blocked playing catch up.
Note: deterministic code is in the FPGA and I am not in trouble if things are blocked for "some" time. I have revised my code in the sections that were of the highest problem.
Casey
Phoenix, LLC
CLA, LabVIEW Champion
Check Out the Software Engineering Processes, Architecture, and Design track at NIWeek. 2018 I guarantee you will learn things you can use daily! I will be presenting!