Raspberry PI 2

Jump to navigation Jump to search

6x a P2-300 is still pretty much crap by our standards. :-) But it sounds like a fun experiment, keep us posted!

Voidious (talk)16:27, 24 July 2015

It doesn't need to be lightning fast if you can leave it on all day every day running something. It only consumes around 4 watts compared to 500 for a desktop PC so its not going to break your bank to do so. I dunno if the power to wattage ratio is better than a desktop PC though! Are desktop PCs 100 times faster than a RP2? I would have thought not!

I can go to work, leave it running which is not what I would do with my desktop! :)

Wolfman (talk)20:00, 24 July 2015

Sure, sure, let me know when you're willing to wait 4 days for what takes an hour on your desktop. :-) I've done GA on my quad core Core i7 (6-8 threads running safely) and let it run for days. I cringe at the thought of a cluster of P2-300s doing the same amount of work... weeks? years?

CPU power aside, I'd be curious to hear about your GA setup. I've looked into, but never done real battles with Robocode. I've only evolved guns with WaveSim. To evolve movement, I imagine you have a test bot loading the variable code from a .properties file, unless your GA code is compiling and outputting JARs, which is the ideal but a pain.

FWIW, GA with full bots is not hard with BerryBots - I've even written an example to solve a maze: http://berrybots.com/wiki/MazerEvolver .... But, alas, the automation API doesn't support the Raspberry Pi (yet?). The big hurdle is that the automation API supports user interaction - you specify what fields you want and it prompts the user with a GUI. I'd like to do an ncurses version for the Rpi at some point, but who knows if I'll get around to it - I'm more interested in the web UI at this point.

Voidious (talk)20:40, 24 July 2015

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:Talk:Raspberry Pi/Raspberry PI 2/reply (4).

 

Back of the napkin calculation: 17 years since I got my P2-300 = 11 doublings (Moore's Law) = 2^11 or 2048x speed for modern desktop vs original Rpi /= 6 for Rpi 2 = 340x. =)

Voidious (talk)21:37, 24 July 2015
The P2-300 is Single core, The Cortex-A7 is Quad core .
The P2-300 has 300 Mhz, The Cortex-A7 has 900 Mhz.
The P2-300 is CISC, The Cortex-A7 is RISC.
The P2-300 consumes 18.6 Watts, The Raspberry Pi only 4 Watts.
In other words yes the Cortex-A7 is better than P2-300.
Tmservo (talk)23:00, 24 July 2015