|
|
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.1.x 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.1.x 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 10 chat messages into the room before quitting.
file = mark2_1_x.log host = localhost port = 8000 start = 1 rooms = 10 users = 20 count = 10 pause = 0
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.1.x Messages sent = 2000 Messages received = 38000 Total messages = 40000 Elapsed time = 32.297 seconds Average throughput = 1239 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 the Microsoft SDK for Java Version 3.1 (jview version
5.00.2925) on a 200-MHz Intel Pentium Pro processor with 128 MB of
memory running Microsoft Windows NT Workstation 4.0 Service Pack 3.
-run
-help
-version
-jvm
java.vendor = Sun Microsystems Inc. java.vendor.url = http://java.sun.com/ java.version = 1.2fcs java.class.version = 46.0 java.compiler = symcjit os.name = Windows NT os.version = 4.0 os.arch = x86where:
java.vendor
java.vendor.url
java.version
java.class.version
java.compiler
os.name
os.version
os.arch
-file string
mark2_1_x.log. The output file contains the Java
virtual machine environment and the VolanoMark test results.
-host string
localhost.
-port integer
-start integer
-rooms integer
-users integer
-count integer
COM.volano.Shutdown application for a graceful termination.
Note that the value of the count option takes effect only
when the value of the pause option is 0 (its default).
-pause integer
COM.volano.Shutdown application for a
graceful termination.
CLASSPATH
.:/usr/java1.1/lib/classes.zipwhile on Windows, you might specify:
.;C:\jdk1.1.7\lib\classes.zip
|
|
Check HTML | Table of Contents |