Difference between revisions of "RoboRumble/Contributing to RoboRumble/Multi-threaded Rumble Client"

From Robowiki
Jump to navigation Jump to search
(New page: Want to execute rumble faster? Here is an answer. == Multi-threaded == : ''(or multi-process)'' I called it multi-threaded, but actually it multi-process. The ideas is to separate the up...)
 
 

Latest revision as of 20:37, 15 August 2017

Want to execute rumble faster? Here is an answer.

Multi-threaded

(or multi-process)

I called it multi-threaded, but actually it multi-process. The ideas is to separate the uploader and executer. Here is the step:

  • Make copy of your roborumble.txt and roborumble.bat/sh (or melee or team)
  • Edit new roborumble.bat/sh to point to new roborumble.txt
  • Open old roborumble.txt, change following lines:
DOWNLOAD=YES
EXECUTE=YES
UPLOAD=NOT
ITERATE=YES
  • Open new roborumble.txt, change following lines:
DOWNLOAD=NOT
EXECUTE=NOT
UPLOAD=YES
ITERATE=YES
  • Finished!

To run a rumble, you need to run both old and new batch files. The old one will process all battles and save it to file, then the newer one will read result file and upload to the server.