|
|
Table of Contents |
COM.volano.Mark runs VolanoMark, the Volano benchmark.
java COM.volano.Mark [ options ]
The VolanoMark Java application is a benchmark tool for judging the performance and stability of a particular Java virtual machine for running the VolanoChat server. The VolanoChat server is a 100% Pure Java application which creates a multiuser environment for the VolanoChat client applets connecting to it.
Java virtual machines that are used to run server applications for multiuser environments require a different benchmark than say, the CaffeineMark applet by Pendragon Software, because the applications tend to be:
In addition, such multiuser servers on the Internet have a goal of being:
An environment with such a high number of long lasting connections is very different from other transaction oriented applications, such as Web servers, which have a high number of very brief connections.
Of course, attaining these requirements depends on the quality of the server application itself as well as its Java virtual machine. The VolanoMark tool was created to assist Java vendors in making sure their virtual machine implementations are not the limiting factor.
VolanoMark simulates people chatting in the VolanoChat server. It creates a number of rooms in which a group of simulated test users take turns chatting as quickly as possible. After each test users has sent the number of chat messages requested, the test ends. Upon completion, it reports:
The VolanoChat server must be up and running before starting
VolanoMark. To start the VolanoChat server, change to your
vmark2.0.0 installation directory and enter the command:
java COM.volano.Main
where java is the name of your Java interpreter. It
might have a different name on your system, such as jview,
guava, kaffe, or sc10java.
Note that to find the class COM/volano/Main.class,
you'll need either to have no CLASSPATH defined or to have
the current working directory (".") included in the
definition of your CLASSPATH environment variable.
To run the VolanoMark application with its default values, change to
the vmark2.0.0 directory and enter the command:
java COM.volano.Mark -run
Type java COM.volano.Mark by itself for a brief
description of its options.
You should use the same Java virtual machine to run VolanoMark as you do for the VolanoChat server. To obtain the highest possible VolanoMark score, you should minimize the number of other applications running on your system during the test.
The values used by default are shown below, creating 10 rooms with 20 test users in each room for a total of 200 chat connections. Each user sends 100 chat messages into the room before quitting.
file = vmark200.log host = localhost port = 8000 start = 1 rooms = 10 users = 20 count = 100
When running with these default values, the test can take anywhere from less than a minute to over an hour to complete, depending on your Java virtual machine, operating system, and hardware platform. When it completes, you should see the results printed like the following:
Running the test ... Test complete. VolanoMark version = 2.0.0 Messages sent = 2000 Messages received = 38000 Total messages = 40000 Elapsed time = 40 seconds Average throughput = 367 messages per second
The average throughput in messages per second is the VolanoMark score for your Java virtual machine. The results shown above were obtained using Sun's JDK 1.1.5 reference release (with no Just In Time compiler) on a 200 MHz Pentium Pro processor with 128 MB of memory running Microsoft Windows NT 4.0 Service Pack 3 (Build 1381).
-run
-help
-version
-jvm
java.vendor = Sun Microsystems Inc. java.vendor.url = http://www.sun.com/ java.version = 1.1.5 java.class.version = 45.3 os.name = Windows NT os.version = 4.0 os.arch = x86where:
java.vendor
java.vendor.url
java.version
java.class.version
os.name
os.version
os.arch
-file string
-host string
localhost. Note that the publicly
available version of VolanoMark requires the host name to be
localhost, and must therefore be run locally on the same
machine running the VolanoChat server.
-port integer
-start integer
-rooms integer
-users integer
-count integer
COM.volano.Shutdown application for a graceful termination.
CLASSPATH
.:/usr/local/java/lib/classes.zipwhile on Windows, you might specify:
.;C:\jdk1.1.5\lib\classes.zip
|
|
Check HTML | Table of Contents |