Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Occasional lag spikes in code execution. (http://www.chiefdelphi.com/forums/showthread.php?t=134459)

AlexanderTheOK 12-02-2015 19:28

Occasional lag spikes in code execution.
 
Has anybody noticed occasional lag spikes in code, oftentimes up to 200 ms? This is lag we get no matter how few or how many threads we are running, how little and how much code we are running. I would simply like to know if anyone else has had this issue, and if it is fixable, or if it is simply something that needs to be dealt with.

RufflesRidge 12-02-2015 19:30

Re: Occasional lag spikes in code execution.
 
How are you measuring this? How are you connected to the roboRIO? What does the Trip Time and Packet Loss look like in the DS log?

AlexanderTheOK 13-02-2015 01:02

Re: Occasional lag spikes in code execution.
 
I've been measuring this through the wpilib timer. I haven't been looking at packet loss, since the the majority of the code runs in threads outside of the main loop, so it shouldn't depend at all on the ds.ill check it tomorrow, but I doubt I'll see any correlation, let alone causation.


All times are GMT -5. The time now is 10:53.

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