G5.  You want server, you'll need to get an Intel Xserve.

MacOSX 10.4.x Server i386: there are two different VMs and -server is the default
MacOSX 10.4.x Server ppc: there is one VM and it is -client

My understanding is that the principal differences between -client and -server VMs are in the default configuration and so this is less significant than it might seem.

If you want to fiddle with the Java VM setup to get more performance, try tweaking the sizes of the eden/survivor/tenured memory spaces in the options for controlling garbage collection; web application server processes do better with disproportionately large eden/ survivor spaces when compared to the desktop/GUI apps for which the default garbage collection is often tuned.

On 18 Jan 2008, at 15:31, Pascal Lamontagne wrote:

Hi there,

This may seem a little out of the blue, but we just configured a 2nd gen XServe G5 with Mac OS X Server 10.4 running WO Apps with Java 1.5. The system was re-installed from scratch with no modifications to the Java VM aside from running all updates.

When I type java -version, I get
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13- b05-241)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode)

When I type java -server -version, I get the exact same thing
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13- b05-241)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode)

Does anyone have any idea how I could get our server to use the Java Server VM? From what I can remember reading last month, we can get 30-40% performance increase running the server version. I included the previous discussion about this matter if it can help.

Thank you for your time and support.
Kind Regards,
Pascal L.
NeverTales.com

On 19-Dec-07, at 11:42 AM, Mike Schrag wrote:

I would agree .. And definitely if you're deploying on any other platform. This is actually a bit of a weird anomaly on OS X Server.

On Dec 19, 2007, at 11:37 AM, Mr. Pierre Frisch wrote:

Well I stand corrected. I did not know there was a different default on OSX server and client. I would still stand by my recommendation as it does not cost anything.

Pierre
--
Pierre Frisch
[EMAIL PROTECTED]


On Dec 19, 2007, at 8:28, Mike Schrag wrote:

Are you sure?

On on of our Xserves:
emerald:~ local$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-113)
Java HotSpot(TM) Server VM (build 1.5.0_06-68, mixed mode)

On my OS X client:
vdoop:~ mschrag$ java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13- b05-237) Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)

ms

On Dec 19, 2007, at 11:22 AM, Mr. Pierre Frisch wrote:

No the default setting on MacOSX is always -client. If you want the server JVM you have to include the -server option. You can check this very easily by trying "java -version" and "java - server -version".

java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237) Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)


java -server -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) Server VM (build 1.5.0_13-119, mixed mode)


Pierre
--
Pierre Frisch
[EMAIL PROTECTED]


On Dec 19, 2007, at 7:30, Mike Schrag wrote:

The -server parameter works with all version of the Hotspot JVM. The Hotspot JVM comes in two variety the server and the client, with different optimization. The default (client) optimize for UI and speed of startup. The server version will take longer to start but with optimize better the generated code which is typically what you want in WO application. I would recommend to set that parameter by default on all your applications as I have never found any negative effect for WO apps.
I actually thought that on an Xserve -server was the default setting? Now I'm doubting myself and I have to go check :)

ms


Patrick

--
Patrick Middleton
OneStep Solutions plc
351 London Road             Phone: +44 (0)1702 426400
Hadleigh                    Fax:   +44 (0)1702 556855
Essex. SS7 2BT              Email: [EMAIL PROTECTED]
England                            (MIME welcome)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to