Go to Post A career is never static. - Bill Moore [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy > Scouting
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #91   Spotlight this post!  
Unread 27-11-2013, 18:19
1306scouting 1306scouting is offline
Registered User
FRC #1306 (BadgerB.O.T.S.)
Team Role: Scout
 
Join Date: Apr 2012
Rookie Year: 2004
Location: Madison, WI
Posts: 24
1306scouting is on a distinguished road
Re: A New Way to Scout

Caching. My personal server (which runs primarily team stuff) is borrowed from a friend and getting near 10 years old, so the bottleneck is the CPU with modern content; as such, I have as much cache as I can on everything.

I'm running several PHP-heavy sites (in Apache, nonetheless); both internal documentation for the team and a Moodle for our safety training. Neither are lightweight.

I could probably cut it down a bit (I haven't banished XFCE yet because I've had other priorities), but I have significantly more productive things to do with my time than optimize my RAM usage when there's still plenty free. I optimize the CPU usage and make sure nothing ever gets swapped first.
  #92   Spotlight this post!  
Unread 27-11-2013, 18:43
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Wink Re: A New Way to Scout

I forgot to show the details running as root. This has a greater view of what is sipping up the RAM. Here are some more details (in the screenshot). I never work on optimizing the RAM! If you want, I can give you a list of all the packages installed on the Pi! That might give you a bit of info on where everything is going! Also, what processor do you have? My Windows 2000 machine is about as powerful as my Pi, maybe even more. The only problem is that it has only 256 MB of RAM! Do you use SWAP? That might help ease the RAM usage of the system!

I, myself, dislike caching because it is hard to make sure it is updated! For the good loading speeds, I use the accelerator, APC. It doesn't cache the HTML. It caches the code to make PHP execute faster. I use the WordPress plugin, QuickCache to cache the HTML. Since it is based on WP, it will automatically update when I add/change/remove content!
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2013-11-27 at 4.36.22 PM.png
Views:	76
Size:	323.3 KB
ID:	15483  Click image for larger version

Name:	Screen Shot 2013-11-27 at 4.38.08 PM.png
Views:	1162
Size:	189.8 KB
ID:	15484  

Last edited by yash101 : 27-11-2013 at 18:47.
  #93   Spotlight this post!  
Unread 07-12-2013, 18:01
1306scouting 1306scouting is offline
Registered User
FRC #1306 (BadgerB.O.T.S.)
Team Role: Scout
 
Join Date: Apr 2012
Rookie Year: 2004
Location: Madison, WI
Posts: 24
1306scouting is on a distinguished road
Re: A New Way to Scout

Quote:
Originally Posted by yash101 View Post
I forgot to show the details running as root. This has a greater view of what is sipping up the RAM. Here are some more details (in the screenshot). I never work on optimizing the RAM! If you want, I can give you a list of all the packages installed on the Pi! That might give you a bit of info on where everything is going! Also, what processor do you have? My Windows 2000 machine is about as powerful as my Pi, maybe even more. The only problem is that it has only 256 MB of RAM! Do you use SWAP? That might help ease the RAM usage of the system!

I, myself, dislike caching because it is hard to make sure it is updated! For the good loading speeds, I use the accelerator, APC. It doesn't cache the HTML. It caches the code to make PHP execute faster. I use the WordPress plugin, QuickCache to cache the HTML. Since it is based on WP, it will automatically update when I add/change/remove content!
That looks quite nice. Since I have a reasonable amount of RAM (1.5GB, low for a server but it works) I don't worry about it too much. It's running a 2.4 GHz Pentium 4 from about 2002 or 2003, which is why the CPU is the bottleneck.

Caching shouldn't be problematic; I'd recommend Varnish (which I would use if I served more static resources) if you haven't looked at it (though if QuickCache works well you may as well stick with it for WP). It can be annoying to set up but works really well. I also use APC, though I'll switch to the built-in opcache when I start using PHP 5.5.


To return to your earlier question, I think you'd best be served by a single MySQL database if you're on a Pi (though I'd recommend you check out the alternatives to MySQL too in case there are ones with better optimization.) I don't see a good reason to use multiple MySQL-style databases, and file-based databases have few advantages except simplicity.
  #94   Spotlight this post!  
Unread 07-12-2013, 18:12
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: A New Way to Scout

Dude, I am running quite good specs on my Pi! I can have as many databases as I want because there is 500GB of storage! The storage is a hard drive (I boot off this too). I have a partition for the OS, a partition for the home server and a partition for web content. The web content partition is what holds everything served, and it is sized with 64GB (Though I will increase it to 128GB once I start running out of space)!

Also, I dislike Varnish because it is crap when you are running dynamic HTML! I doubt that wp-admin would even if varnish was installed properly! That is why I like PHP-based caching. It is a lot slower, but still gives a decent speed. It wouldn't be as fast as Varnish, but it would be fast enough. Otherwise, I was thinking that is it were possible, to serve the static parts like images, etc. from Nginx, but the dynamic content from Apache! However, that wouldn't help too much because my internet connection is 768kbps up!

Last edited by yash101 : 07-12-2013 at 18:16.
  #95   Spotlight this post!  
Unread 07-12-2013, 18:15
xXTHEGUARDIANxX's Avatar
xXTHEGUARDIANxX xXTHEGUARDIANxX is offline
Registered User
FRC #2942
 
Join Date: Dec 2013
Location: washington
Posts: 9
xXTHEGUARDIANxX is an unknown quantity at this point
Re: A New Way to Scout

i don't know if this method has been posted but what my team did at last regional was two people(we sent our driver and co-driver) would look at our next match and go scout the 5 teams (the opponents first) and on a sheet of paper ask them the statistics on their robot) after acquiring information we then go to our allies and ask for their information then we plan a strategy based on all information gathered. we keep all information so we can use it in future rounds/competitions
  #96   Spotlight this post!  
Unread 07-12-2013, 18:23
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,827
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: A New Way to Scout

Quote:
Originally Posted by xXTHEGUARDIANxX View Post
two people(we sent our driver and co-driver) would look at our next match and go scout the 5 teams (the opponents first) and on a sheet of paper ask them the statistics on their robot)
Some folks call that pit scouting; others call it useless.

You're actually better off having someone in the stands look at how those teams do in the last match before the one in which they play you, and getting the stats data down to the drivers as soon as it's collected, than asking them their stats, because their stats will almost invariably be without defense and/or estimates--and therefore higher than actual.

The other question would be, why are you having the drivers scout? I can understand if you're short on people, but IMO, drivers should not be scouting. They should be working with data they've been handed to develop a strategy.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #97   Spotlight this post!  
Unread 07-12-2013, 19:10
xXTHEGUARDIANxX's Avatar
xXTHEGUARDIANxX xXTHEGUARDIANxX is offline
Registered User
FRC #2942
 
Join Date: Dec 2013
Location: washington
Posts: 9
xXTHEGUARDIANxX is an unknown quantity at this point
Re: A New Way to Scout

i am head driver/scout i offered the idea of pit scouting thanks for info on scouting while match going on. i came up with the idea of going to each pit because we weren't scouting at all our first matches.i see what you mean though last year we had only 10 (lack of members)...

Last edited by xXTHEGUARDIANxX : 07-12-2013 at 19:50.
  #98   Spotlight this post!  
Unread 07-12-2013, 19:57
DampRobot's Avatar
DampRobot DampRobot is offline
Physics Major
AKA: Roger Romani
FRC #0100 (The Wildhats) and FRC#971 (Spartan Robotics)
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Stanford University
Posts: 1,277
DampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond repute
Re: A New Way to Scout

Quote:
Originally Posted by EricH View Post
Some folks call that pit scouting; others call it useless.

You're actually better off having someone in the stands look at how those teams do in the last match before the one in which they play you, and getting the stats data down to the drivers as soon as it's collected, than asking them their stats, because their stats will almost invariably be without defense and/or estimates--and therefore higher than actual.

The other question would be, why are you having the drivers scout? I can understand if you're short on people, but IMO, drivers should not be scouting. They should be working with data they've been handed to develop a strategy.
I'm our team's coach, head of mechanics, and part of our pit crew. Arguably, I should have the least free time of almost anyone on the team. But before every match, I take an in depth look at the scouting data for each team we're playing with and against, and then take a look at their robots in the pits. If we're with them, I ask to talk to their drivers or coach and talk strategy for a good five-ten minutes (sometimes multiple times before a match if it's a critical match).

Actually seeing the robots we'll be in a match with with my own eyes is really important. You can get a good sense of how their robot and team is doing just looking for yourself. That robot with a 2 CIM Kitbot drive and ugly painted bumpers? Might not going to move. Neat looking bot with only the programmer working in the pits? Could be someone to look out for. Afterwards, I actually go and talk with them, to see if we can help them get their bot ready, or just to talk strategy. It's important that I'm the one doing this because I'm the one who's going to have to face them or work with them on the field. Also, because I know what it's like to play in a match firsthand, I know what I need to look for to gauge their robot's performance.

I do agree that just asking teams "how they've been doing" and basing your strategy on that isn't the best plan. Team's overestimate, have a proximity bias, exhibit a halo effect, yada yada yada. Like you said, it's critical to base your assumptions on how their robot will do on your own (well collected) scouting data. On the other hand, actually seeing the robots and talking to their people (as a driver) can really give a better perspective on what your strategy should be.
__________________
The mind is not a vessel to be filled, but a fire to be lighted.

-Plutarch
Closed Thread


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 Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:34.

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