Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 2003 09:23:52 -0500
From:      Brent Verner <brent@rcfile.org>
To:        java@freebsd.org
Subject:   Re: Running server-side Java on FreeBSD in production environments
Message-ID:  <20031207142352.GA4827@rcfile.org>
In-Reply-To: <20031207132033.GA4454@rcfile.org>
References:  <20031202130629.U56021@fez.hyperreal.org> <20031203144159.GJ64007@starjuice.net> <20031207132033.GA4454@rcfile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
[2003-12-07 08:20] Brent Verner said:
| [2003-12-03 16:41] Sheldon Hearn said:
| | On (2003/12/02 13:12), Brian Behlendorf wrote:
| | 
| | > Anyone want to share good success or horror stories?  We're
| | > trying to determine whether the apache.org box can start to run our own
| | > software.  :)  Speed is definitely less important than proper functioning.
| | 
| | For me, the issue isn't so much with speed as it is for support of
| | heavily-threaded applications:
| | 
| |   http://starjuice.net/2003_09_01_starjuice_archive.html#106267661433883916
| 
| Out of curiousity, I just ran the volano benchmark against the native
| jdk1.4.2.  More info on the benchmark as well as results from other
| systems is available at http://www.volano.com/benchmarks.html.

 ...

| I suspect having the client on another system would yield _much_ better 
| results. If I figure out how to get my linux box to handle the client
| task, I'll report the difference in performance.

  No luck with the linux client, so here are some runs at 500
concurrent connections for comparison's sake.  Results from linux
box listed first.  Looks like running on the same box cuts the 
results just about in half, as expected.


sleepy:~/volano
brent$ /usr/local/jdk1.4.2/bin/java -Xmx512M -Xss256k -Dinstall.root=. -Dcatalina.home=. -cp .:lib/bootstrap.jar:lib/catalina.jar:lib/naming-common.jar:lib/naming-resources.jar:lib/servlet.jar:lib/servlets-common.jar:lib/servlets-default.jar:lib/volanochat-server.jar:lib/xerces.jar COM.volano.Mark -count 10 -host 10.0.0.1 -rooms 25
 ...
Creating room number 25 ...
500 connections so far.
Java heap:  2170 KB in use, 7588 KB available (29% in use).
Running the test ...
Test complete.

VolanoMark version = 2.5.0.9
Messages sent      = 5000
Messages received  = 95000
Total messages     = 100000
Elapsed time       = 31.628 seconds
Average throughput = 3162 messages per second



mutt:~/volano
brent$ /usr/local/jdk1.4.2/bin/java -server -Xmx64M -Dinstall.root=. -Dcatalina.home=. -cp .:lib/bootstrap.jar:lib/catalina.jar:lib/naming-common.jar:lib/naming-resources.jar:lib/servlet.jar:lib/servlets-common.jar:lib/servlets-default.jar:lib/volanochat-server.jar:lib/xerces.jar COM.volano.Mark -count 10 -host 10.0.0.1 -rooms 25
 ...
Creating room number 25 ...
500 connections so far.
Java heap:  2148 KB in use, 7612 KB available (28% in use).
Running the test ...
Test complete.

VolanoMark version = 2.5.0.9
Messages sent      = 5000
Messages received  = 95000
Total messages     = 100000
Elapsed time       = 66.585 seconds
Average throughput = 1502 messages per second


cheers.
  Brent

-- 
"Develop your talent, man, and leave the world something. Records are 
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing."  -- Duane Allman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031207142352.GA4827>