Go to Post I tried to make them look at disgruntled as possible. - Katie_UPS [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 03-03-2016, 07:53
richtop richtop is offline
Registered User
AKA: Richard Topolewski
FRC #5053 (Laker Robotics)
Team Role: Mentor
 
Join Date: Nov 2014
Rookie Year: 2013
Location: Waterford, Michigan
Posts: 16
richtop is an unknown quantity at this point
How to debug High CPU utilization in RoboRio running Java

When looking at the CPU utilization trace in the we are running, once teleop starts, we are running at 85-95% and often getting pegged at 100%. I was able to trace the day that this problem started occurring. Logs, prior to March 6th at 1:00pm show the CPU running 25-35% range. I looked at the code we introduced back around then from our github logs (https://github.com/LakerRobotics/FRC...igation?page=2) I found one oddity, corrected that but still the problem remains.

Normally at this point I would use a java profiling tool (jProfile or JVM Monitor are two I am currently looking at for this problem) but before I go figuring out how to install and get those working on the roborio, I was wondering if anybody else had any suggestions on how to track the issue down.

We are, for the most part, using Robot Builder generated code. The one unique thing is some custom Motion control PIDs. The motion Control PIDS is done by some awkward wrapping of the PIDSource, but this code was working before Feb 6th, and was not changed around Feb 6th.

Again any suggestions on how to proceed would be appreciated.

Thanks
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:18.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi