Go to Post This is not an engineering design challenge, this is a project management and common sense challenge with engineering elements. Don't go out of your way to screw yourself. - PayneTrain [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 17-02-2014, 20:54
Spaghetti's Avatar
Spaghetti Spaghetti is offline
Registered User
FRC #0488 (XBot)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2011
Location: Seattle
Posts: 13
Spaghetti is an unknown quantity at this point
CRIO taking progressively longer to boot

We've started running into an issue recently where the reboot of the rio is taking progressively longer.

In the beginning, it would take 9-12s fairly reliably. Over the course of a few hours and many reboots/code updates, we noticed it was up to 20s, then 40s, then 90s, then over 120s.

We flashed the rio using the imager and it was right back to 9-12s, but has since been slowing down on subsequent boots again.

This is the booting time before any of our code gets a chance to run so it doesn't seem like it could be our on robot code.

Has anyone run into this before and/or has any theories on what could be doing it?

Thanks --
Reply With Quote
  #2   Spotlight this post!  
Unread 18-02-2014, 13:10
Cel Skeggs Cel Skeggs is offline
Robot Software Manager Alumnus
AKA: Previously known as Colby
FRC #1540 (The Flaming Chickens)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2009
Location: Portland, Oregon, USA
Posts: 107
Cel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of light
Re: CRIO taking progressively longer to boot

We started getting the exact same issue on our competition robot. I haven't tried reimaging the cRIO yet, but I'll try that to see if it works for us as well.

The strange part is that it's been working for most of the season for us on our prototype robot.
(We started doing something weird with putting lots of log files on the robot, but I doubt that would increase boot time like this.)

I'll see if I can find any settings changing on the cRIO between reboots.
Any idea if this increases each time the robot reboots, or each time the code is downloaded?
__________________
Software manager alumnus. Developer of the CCRE, a powerful robot code framework based on dataflow and composibility.
Refer to as she/her/hers. Years of FRC: 2012, 2013, 2014, 2015, 2016. FLL for a few years beforehand.
Team 1540: The Flaming Chickens | Portland, Oregon | Twitter | Facebook
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2014, 14:20
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is offline
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,551
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
Re: CRIO taking progressively longer to boot

Do you have a anything saving files to the cRIO? When we leave some of our log files on the cRIO and they start to build up we notice longer boot times.
__________________

Team 647 | Cyber Wolf Corps | Alumni | 2003-2006 | Shoemaker HS
Team 2587 | DiscoBots | Mentor | 2008-2011 | Rice University / Houston Food Bank
Team 3847 | Spectrum | Coach | 2012-20... | St Agnes Academy
LRI | Alamo Regional | 2014-20...
"Competition has been shown to be useful up to a certain point and no further, but cooperation, which is the thing we must strive for today, begins where competition leaves off." - Franklin D. Roosevelt
Reply With Quote
  #4   Spotlight this post!  
Unread 18-02-2014, 17:46
joelg236 joelg236 is online now
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: CRIO taking progressively longer to boot

Quote:
Originally Posted by AllenGregoryIV View Post
Do you have a anything saving files to the cRIO? When we leave some of our log files on the cRIO and they start to build up we notice longer boot times.
We had the exact same thing. Big log files apparently do this. Probably because of the cRIO using a cache of some sort.
__________________
All opinions are my own.
Reply With Quote
  #5   Spotlight this post!  
Unread 18-02-2014, 17:46
JohnGilb JohnGilb is offline
Programming Mentor, Drive Mentor
FRC #0488
 
Join Date: Mar 2011
Rookie Year: 2003
Location: Redmond, WA
Posts: 116
JohnGilb has a spectacular aura aboutJohnGilb has a spectacular aura aboutJohnGilb has a spectacular aura about
Re: CRIO taking progressively longer to boot

We have seen this issue (long reboots) as well.

We write files to the cRIO, but we tried deleting them all once and rebooting - still had the issue.
Reply With Quote
  #6   Spotlight this post!  
Unread 18-02-2014, 21:28
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: CRIO taking progressively longer to boot

I know of an issue with the file system performance related to having hundreds of files in the same directory. I wasn't aware of big log files causing anything like this. It may be worth moving the files around to different folders. I didn't bring a cRIO home to test.

Greg McKaskle
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 22:40.

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