Go to Post It would be better as the software person to preach to your team early on for non-reliance on software. - Tom Bottiglieri [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-12-2015, 07:28 PM
AlexanderTheOK AlexanderTheOK is offline
Guy
no team
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Los Angeles
Posts: 146
AlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really nice
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-12-2015, 07:30 PM
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 985
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
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?
Reply With Quote
  #3   Spotlight this post!  
Unread 02-13-2015, 01:02 AM
AlexanderTheOK AlexanderTheOK is offline
Guy
no team
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Los Angeles
Posts: 146
AlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really nice
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.
Reply With Quote
Reply


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 08:29 AM.

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