Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Networking & Multiplayer / C++ vs Java on: 2006-07-27 23:21:25
I have looked at the Online Casino/Gaming downloadable games, and most seem to be have written in C++ / MFC.
Is this because of:
- Download speed: Is this because of the smaller size of application for downloading (about 5 MB), compared to 20+ MB for a similar Java application.
- Speed of execution: I know that Java is certainly catching up in terms of speed.

Anything else?

Thanks
max
2  Game Development / Performance Tuning / Best O.S. / Hard Drive Size for NIO Server load testing... on: 2006-06-03 23:38:58
Hi
 
I am currently load testing a NIO Server to see what would be the maximum number of Client connections that could reached, using the following PC: P4, 3GHz, 1GB RAM, Windows XP, SP2, 110 GB Hard Drive.

However, I would like to test the Server/Client performance on different OS's, e.g. Win Server 2000, Linux, Solaris.

Which would be the best possible option from the following:
1. Partition my current drive, (using e.g. Partition Magic), to e.g.
  - Win XP: 80 GB
  - Win Server 2000: 10 GB
  - Linux: 10 GB
  - Solaris: 5 GB
  - Shared/Data: 5 GB
2. Install a separate Hard drive with the different hard drives
3. Use a disk caddie, to swap in/out test hard drives.
4. Any thing else?

- Would the Operating System's hard drive size affect the Server/Client's performance, e.g. affecting the number of connections, number of File Handles, the virtual memory, etc.?
- Can anyone recommend an OS for Server testing?

Many Thanks,
Matt Wink
3  Game Development / Networking & Multiplayer / Re: SocketException: No buffer space available (maximum connections reached) on: 2006-05-30 19:29:51
SluX,
The exeception occurs when "using a single client making multiple connection requests to the Server", i.e. a loop making connections to the Server one after another.

Kova,
I've already seen this page, but thanks anyway.


Does any one else (blahblahblahh, Markus_Persson, etc.) have any experience of this problem?

Thanks,
Matt
4  Game Development / Networking & Multiplayer / SocketException: No buffer space available (maximum connections reached) on: 2006-05-29 22:16:53
Hi

I am currently doing some load testing of a NIO TCP/IP based Server:

- Server and Client on same machine.
- PC: P4, 3GHz, 1GB RAM, Windows XP, SP2

I seem to always reach a limit on the number of connections to the Server (not sending any messages), i.e. using a single client making multiple connection requests to the Server.
After a few 1000 connections (Task Manager: 130k Handles), I get the following exception:
...
java.io.IOException: ....
at ....
Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect
at sun.nio.ch.Net.connect(Native Method)
.....

I have tried the following, (with little or no success):
- Changing some of the registry settings, e.g. TCPNumConnections, MaxUserPort. (No effect)
- Using Heap buffers (No effect)
- Using the compiler options (CPU usage went from 100% to 75%): -Xmn 100M -Xms -500M -Xmx 500M

Will using a non-NIO Client help?

Is this problem Win XP O.S. specific. Does Win XP place a limit on the number of:
- Simultaneous TCP connections
- File Handles/Descriptors
- Socket buffer size

If the problem is O.S. related:
- Can any of the above parameters be changed, e.g. Registry settings
- What would the best OS for a Server, e.g. Windows Server 2000/2003, or Linux (which version: Redhat, Fedora, Debian)?

Does PC's processor speed/RAM have any effect, i.e. will 300MHz, 128 MB be as good as 1GHz, 1GB RAM?
 
Many Thanks,
Matt     Smiley
5  Game Development / Networking & Multiplayer / Re: Web Hosting on: 2006-03-26 14:15:16
Many Thanks for the info.

Max
6  Game Development / Networking & Multiplayer / Web Hosting on: 2006-03-25 13:22:46
Hello

I am interested in setting up a Java game server for a Massively Multiplayer Online Game (MMOG).

Does anyone know of or could recommend a UK Web Hosting company that offers:
- Game server hosting for MMOG's?
- Co-location or shared/dedicated servers onto which Java software could be installed?
- Support for MySQL/SQL Server databases?
- Fail over (and recovery) of servers?
- Regular backups of data?

Thanks,
Max
Pages: [1]
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (76 views)
2013-05-17 21:29:12

alaslipknot (87 views)
2013-05-16 21:24:48

gouessej (117 views)
2013-05-16 00:53:38

gouessej (112 views)
2013-05-16 00:17:58

theagentd (123 views)
2013-05-15 15:01:13

theagentd (112 views)
2013-05-15 15:00:54

StreetDoggy (156 views)
2013-05-14 15:56:26

kutucuk (178 views)
2013-05-12 17:10:36

kutucuk (177 views)
2013-05-12 15:36:09

UnluckyDevil (185 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.125 seconds with 21 queries.