Go to Post I'll not deprive you of the practice in reading the manual; you'll need it if you want to be an effective part of an FRC team. - Alan Anderson [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 05-01-2014, 23:43
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Corvallis, OR
Posts: 294
jojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant future
Build/run as startup time

Hey,

Just wondering. How long does it take for you to build and then run as startup?

It seems to take a long time for us, and I just wanted to make sure it wasn't just us. It could take a good 7 minutes to build and then run as startup.

Maybe it's our hardware?
__________________

2013 and 2014 - Student (FRC#2990), Programmer (LabVIEW)
2015 and 2016 - Mentor (FRC#2990), Programming (LabVIEW)
2017-Current - Mentor (FRC#997), Controls/Programming (Java)
2015-Current - A/V Volunteer at Oregon events
Reply With Quote
  #2   Spotlight this post!  
Unread 06-01-2014, 00:14
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,372
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Build/run as startup time

Quote:
Originally Posted by jojoguy10 View Post
Hey,

Just wondering. How long does it take for you to build and then run as startup?

It seems to take a long time for us, and I just wanted to make sure it wasn't just us. It could take a good 7 minutes to build and then run as startup.

Maybe it's our hardware?
I remember this came up last year as well, but honestly, I don't recall if there was a solution or suggestion to address it posted. I know we struggled with this all season as well.
I also don't recall the same amount of time being needed prior to 2013.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #3   Spotlight this post!  
Unread 06-01-2014, 01:11
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Build/run as startup time

Are you using the classmate, or another computer? Really long build times are normal on the classmate, even before the 2013 compiler bug that caused long build times for everyone.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-01-2014, 01:37
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 181
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: Build/run as startup time

Our build times were always somewhat long, although I don't think they ever took more than a few minutes. I never timed it. Run as startup never took more than 10 seconds.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-01-2014, 09:13
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Corvallis, OR
Posts: 294
jojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant future
Re: Build/run as startup time

Interesting. When I joined the team last year, all the programmers were wondering why it took longer than last year (2012) as well :-/

We are NOT using the classmate. We have tried an HP with an i5 and 6GB RAM and also a small Lenovo with maybe 1GB RAM and a Pentium I believe.

So, I guess it's not just me. The Run as startup takes about 2 minutes for us as well. Interesting.
__________________

2013 and 2014 - Student (FRC#2990), Programmer (LabVIEW)
2015 and 2016 - Mentor (FRC#2990), Programming (LabVIEW)
2017-Current - Mentor (FRC#997), Controls/Programming (Java)
2015-Current - A/V Volunteer at Oregon events
Reply With Quote
  #6   Spotlight this post!  
Unread 06-01-2014, 09:15
criogod's Avatar
criogod criogod is offline
Registered User
FRC #4828 (RoboEagles)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: North Carolina
Posts: 12
criogod is an unknown quantity at this point
Don't worry too much about this. The reason it takes a while is because the computer first compiles the code, connects to the crio on the network, ftp's the file, and then runs the code.
Reply With Quote
  #7   Spotlight this post!  
Unread 06-01-2014, 09:20
criogod's Avatar
criogod criogod is offline
Registered User
FRC #4828 (RoboEagles)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: North Carolina
Posts: 12
criogod is an unknown quantity at this point
Quote:
Originally Posted by Joe Ross View Post
Are you using the classmate, or another computer? Really long build times are normal on the classmate, even before the 2013 compiler bug that caused long build times for everyone.
I didn't know about that bug, 2013 was our rookie year so we just assumed that was how long compiles normally took.
Reply With Quote
  #8   Spotlight this post!  
Unread 06-01-2014, 11:32
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Build/run as startup time

I took some timings:

E12 Classmate (32-bit, 2GB memory, Atom N2600 1.6GHz)
  • Arcade HW only
    • 3:40 - 1st build
    • 1:39 - 2nd build no changes
    • 2:12 - subsequent builds with 2 vis changed
    • 0:25 - Run as startup
  • Arcade HW & Sim
    • 4:30 - 1st build
    • 1:38 - 2nd build no changes
  • 3:53 - Formatting cRIO to v52
HP Pavilion (64-bit, 3GB memory, AMD E-350-1.6GHz)
  • Arcade HW only
    • 2:06 - 1st build
    • 2:02 - 2nd build no changes
    • 2:46 - subsequent builds with 2 vis changed
    • 0:21 - Run as startup
  • Arcade HW & Sim
    • 2:39 - 1st build
    • 2:02 - 2nd build no changes
  • 4:05 - Formatting cRIO to v52
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 06-01-2014 at 11:36.
Reply With Quote
  #9   Spotlight this post!  
Unread 06-01-2014, 13:05
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Corvallis, OR
Posts: 294
jojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant future
Re: Build/run as startup time

Quote:
Originally Posted by Mark McLeod View Post
I took some timings:

E12 Classmate (32-bit, 2GB memory, Atom N2600 1.6GHz)
  • Arcade HW only
    • 3:40 - 1st build
    • 1:39 - 2nd build no changes
    • 2:12 - subsequent builds with 2 vis changed
    • 0:25 - Run as startup
  • Arcade HW & Sim
    • 4:30 - 1st build
    • 1:38 - 2nd build no changes
  • 3:53 - Formatting cRIO to v52
HP Pavilion (64-bit, 3GB memory, AMD E-350-1.6GHz)
  • Arcade HW only
    • 2:06 - 1st build
    • 2:02 - 2nd build no changes
    • 2:46 - subsequent builds with 2 vis changed
    • 0:21 - Run as startup
  • Arcade HW & Sim
    • 2:39 - 1st build
    • 2:02 - 2nd build no changes
  • 4:05 - Formatting cRIO to v52
Wow - Very interesting! So, I wonder how fast it would build on, say, a dual Xeon 64 GB RAM powerhouse computer. :-P

Thanks for the numbers!
__________________

2013 and 2014 - Student (FRC#2990), Programmer (LabVIEW)
2015 and 2016 - Mentor (FRC#2990), Programming (LabVIEW)
2017-Current - Mentor (FRC#997), Controls/Programming (Java)
2015-Current - A/V Volunteer at Oregon events
Reply With Quote
  #10   Spotlight this post!  
Unread 11-01-2014, 02:08
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Re: Build/run as startup time

Quote:
Originally Posted by jojoguy10 View Post
So, I wonder how fast it would build on, say, a dual Xeon 64 GB RAM powerhouse computer. :-P
It's not dual, but our team actually has a Xeon 3.5gHz and 16gb of ram with dual gtx550s and we use LabVIEW. The RAM is plenty for the operations with about 10gb to spare, but I think there's still room for improvement on the processor side.

All-in-all, with the biggest project we've done, took >30 seconds on the first build, ~20 on no changes, ~27 with changes to 4 or 5 vis. Run as startup is mostly dependent on your crio processor and your connection to the device; our run as startup takes anywhere from 5-9 seconds. I have yet to test our crio image time

Too bad we can't use GPU compiling
__________________
Per Audacia Ad Astra

Last edited by Invictus3593 : 11-01-2014 at 02:13.
Reply With Quote
  #11   Spotlight this post!  
Unread 11-01-2014, 23:10
Nirvash's Avatar
Nirvash Nirvash is offline
Registered User
AKA: Bryan
FRC #4676
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Orland Park, IL
Posts: 221
Nirvash has a spectacular aura aboutNirvash has a spectacular aura about
Re: Build/run as startup time

Quote:
Originally Posted by jojoguy10 View Post
Wow - Very interesting! So, I wonder how fast it would build on, say, a dual Xeon 64 GB RAM powerhouse computer. :-P

Thanks for the numbers!
For Labview, a dual Xeon wouldn't help much, as it is very single threaded. Ended up being 1:05 on that machine for first build with an Arcade HW only. (Dual Xeons at 2.13 GHz)

On my run of the mill i7 920, the same build was 0:43, as it is clocked higher then the Xeon's at 3.99 GHz
__________________
Team 3488 - Electrical Lead/Programming Lead 2011-2013
Team 4676 - Electrical/Programming Mentor 2013-Present
Reply With Quote
  #12   Spotlight this post!  
Unread 12-01-2014, 08:27
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,752
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: Build/run as startup time

You are correct that the compile and build portion of LV is limited to being single threaded. What you may want to experiment with is whether you keep your VIs open when you build, or whether you close them first and then build.

My computer is in a weird state at the moment with other projects, so I wouldn't trust my numbers anyway.

The build loads all of your VIs and the libraries into a build context. If the VIs are in memory, it transfers those from the intel context to the PPC context, compiling and loading alternate libraries as needed from disk.

If the VIs are kicked out of memory, the VIs will all be loaded from disk into the new context. From what I saw last year, both routes performed compiles they didn't need to, but the bugs were reported and some of the biggest ones were fixed. My suspicion is that the disk route will be faster, but it would be helpful to do both and please post your results.

Greg McKaskle
Reply With Quote
  #13   Spotlight this post!  
Unread 13-01-2014, 00:20
Nirvash's Avatar
Nirvash Nirvash is offline
Registered User
AKA: Bryan
FRC #4676
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Orland Park, IL
Posts: 221
Nirvash has a spectacular aura aboutNirvash has a spectacular aura about
Re: Build/run as startup time

Quote:
Originally Posted by Greg McKaskle View Post
You are correct that the compile and build portion of LV is limited to being single threaded. What you may want to experiment with is whether you keep your VIs open when you build, or whether you close them first and then build.

My computer is in a weird state at the moment with other projects, so I wouldn't trust my numbers anyway.

The build loads all of your VIs and the libraries into a build context. If the VIs are in memory, it transfers those from the intel context to the PPC context, compiling and loading alternate libraries as needed from disk.

If the VIs are kicked out of memory, the VIs will all be loaded from disk into the new context. From what I saw last year, both routes performed compiles they didn't need to, but the bugs were reported and some of the biggest ones were fixed. My suspicion is that the disk route will be faster, but it would be helpful to do both and please post your results.

Greg McKaskle
I ran a few tests on my Xeon machine, it averaged about 58 seconds with the VIs open and 59 with them closed.
That machine is probably more disk limited then it is memory which could explain the results. I will test some more latter tonight/tomorrow on a slower machine and see if the difference between them increases.
__________________
Team 3488 - Electrical Lead/Programming Lead 2011-2013
Team 4676 - Electrical/Programming Mentor 2013-Present
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 20:58.

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