Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  New C1 in Mustang b59  (Read 13578 times)
0 Members and 1 Guest are viewing this topic.
Offline Chris Hegarty

Junior Newbie





« Reply #30 - Posted 2005-12-16 11:59:51 »

This UnknownHostException issue can be tracked by CR: 6363704 in Sun's bug database.
Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #31 - Posted 2006-02-04 07:12:51 »

Is there any vs C++ microbenchmarks for b59+ already? Smiley

弾幕 ☆ @mahonnaiseblog
Offline HamsterofDeath

Junior Member




Java games rock!


« Reply #32 - Posted 2006-02-04 20:59:43 »

both ibm's jdk5 beta and jrockit5 are faster than the newest mustang server vm (not really much, but still ->)
1. my connect4-ai: 2.5 million checks (sun) vs 2.8 million (bea) vs 3 million (ibm) on my machine (1.5.0_06 client crowls at 1.4 million)
2. my minesweeper-solver: ibm 60 seconds, sun 62 seconds, bea 50 seconds (for a specific field)

what's causing the difference?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #33 - Posted 2006-02-04 22:12:04 »

Could you make the source code for these two programs available? We could probably take a look and see what HotSpot is doing.

What's the run time of these programs? A second? Less than a second? A minute?
Offline HamsterofDeath

Junior Member




Java games rock!


« Reply #34 - Posted 2006-02-04 23:33:08 »

minesweeper:
http://www.java-gaming.org/forums/index.php?topic=12151.0

i'll upload the connect4-stuff tomorrow.

the run time is as long as it needs to reach the maximum speed. i repeat it until it doesn't get faster.
Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #35 - Posted 2006-02-05 20:12:34 »

Looks like a regression to me... I wonder if it will qualify for the contest?

Offline Linuxhippy

Senior Member


Medals: 1


Java games rock!


« Reply #36 - Posted 2006-02-05 22:27:19 »

Looks like a regression to me... I wonder if it will qualify for the contest?

Why regression, as far as I understood it never ran faster using hotspot, right? Then its no regression.
I made the experience that Hotspot-Server is for my tasks (long running server apps) the best descision, mayby someone can squeeze max. 10% more out with IBM or Bea, but in overall Sun remains on performance-top with best reliability and it scales also well on larger systems.

lg Clemens
Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #37 - Posted 2006-02-07 03:39:32 »

Sorry, I misread.  I just spotted the JDK5 in "ibm's jdk5 beta", and thought this was a regression from Sun's Java 5.

This competition amoung JVM vendors is great Smiley

Offline HamsterofDeath

Junior Member




Java games rock!


« Reply #38 - Posted 2006-02-07 19:53:34 »

(a few days later)
here's connect4:
http://www.radixversand.ch/selfmadeproggies/KI%20Sandbox/
the comments are german. just ignore them. just run MainFrame and select the cpu level and board size. you can click anywhere (which is actually cheating), but i'll put my trust in you here^^
set the cpu level to 11 or 12 and the board size to 7 or 8, depending on your patience.

there is some debug output that tells you what the ai thinks, and how fast it thinks.
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #39 - Posted 2006-02-09 23:08:59 »

I looked into your minesweeper and connect4 benchmarks. There are bugs in the minesweeper solver causing it to lock up on some boards. The attached field-30-30.txt works fine while the attached field-30-30-2.txt does not. Because of this I wasn't able to test larger fields. The 30x30 fields are solved in less than 100 ms so in this configuration this benchmark is testing startup time more than anything. You'll need to fix the problems with the solver if we're to look into it further.

For the connect4 game, the IBM 5.0 JVM for Linux and the Sun 5.0u6 JVM (-server) both compute somewhere around 2.1 million moves per second with the same board arrangement at the same point in the game. BEA JRockit R26-5.0_04 computes around 2.3 million moves in the same situation. The problem with this benchmark is that it isn't automatable. If you make a headless version of this game which pits two computer players against each other with the exact same board configuration and no randomization, so the results are deterministic, and it computes statistics like the peak moves per second computed, then we can use it as a benchmark and look into it further.

Basically I don't see any performance problems with the Sun JVM as it stands with these benchmarks.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #40 - Posted 2006-02-09 23:10:35 »

Also IBM's JDK 5 for Linux throws the following exception with the Minesweeper benchmark:
1  
2  
3  
        Exception in thread "Thread-1" java.lang.UnsupportedOperationException: Thread CPU timing is not supported on this virtual machine.
                at com.ibm.lang.management.ThreadMXBeanImpl.setThreadCpuTimeEnabled(ThreadMXBeanImpl.java:655)
                at Sweeper.finally.run(Unknown Source)

Offline HamsterofDeath

Junior Member




Java games rock!


« Reply #41 - Posted 2006-02-10 09:38:57 »

Quote
There are bugs in the minesweeper solver causing it to lock up on some boards

it doesn't lock up. it's just persistent Smiley there are lots of possibilities on some boards.
Pages: 1 [2]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Pippogeek (35 views)
2014-09-24 16:13:29

Pippogeek (28 views)
2014-09-24 16:12:22

Pippogeek (17 views)
2014-09-24 16:12:06

Grunnt (40 views)
2014-09-23 14:38:19

radar3301 (23 views)
2014-09-21 23:33:17

BurntPizza (58 views)
2014-09-21 02:42:18

BurntPizza (29 views)
2014-09-21 01:30:30

moogie (34 views)
2014-09-21 00:26:15

UprightPath (47 views)
2014-09-20 20:14:06

BurntPizza (51 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!