User talk:Icehawk78

From Robowiki
Jump to navigation Jump to search

Since I'm new, I've had a few questions.

I'm running my code primarily on Linux, and I've noticed that the speedup code (to simulate a large number of battles very quickly) doesn't appear to work on Linux. Is this a known issue, or is there some sort of workaround? I'm running a fresh install of Sun's Java on Ubuntu 9.04.


I'm not sure which code you're talking about. Do you mean RoboResearch? I also run linux (Ubuntu 10.4), and Robocode runs fine on my system, as does RoboResearch... --Skilgannon 11:45, 27 September 2010 (UTC)

No, the main Robocode application is what's running slowly for me. I suppose it's possible that there's something wonky about my Java installation, but when I minimize the main window, on my Windows machine, it cranks through ~100-200 rounds in about a minute or two, whereas it's taking upwards of 15-30 seconds for a new round to initialize. --Icehawk78 17:23, 27 September 2010 (UTC)

Well, it makes a big difference which bot you use. Put 2 bots which are light on CPU (eg sample bots), and you can get through a few hundred rounds in minutes. Put DrussGT vs. Diamond and it takes about 5 minutes per 35 rounds on my old-ish P4. Beyond that, maybe try a newer Ubuntu? And make sure that it is running on the Sun java by going to a command line and typing java -v I didn't have any problems when I was using 9.04... --Skilgannon 09:01, 28 September 2010 (UTC)

I think he was using only sample bots and one he made. I ran his bot and it was fast here. I think his JRE might only be running in interpreter mode, or something such as that. But I cannot honestly be sure. — Chase-san 00:26, 29 September 2010 (UTC)
There are no threads on this page yet.