Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
/u01/oracle/swingbench/bin/charbench -cs //source-int/pdb1 -u oe -p oe -uc 10 -min 10 -max 200 -rt 0:10 -a -v users,tpm,tps

The output will be similar to the following and will run for 10 minutes. A total number of 10 users will be simulated.

No Format
Author  :	 Dominic Giles
Version :	 2.5.0.932
Results will be written to results.xml.
Time		Users	TPM	TPS
8:39:02 PM	0	0	0
8:39:03 PM	0	0	0
8:39:04 PM	0	0	0
8:39:05 PM	2	0	0
8:39:06 PM	10	10	10
8:39:07 PM	10	23	13
Note

It is easy to change the parameters of swingbench to change the load and the time that it runs.

The parameters are:

  • uc. How many users to simulate
  • rt. Run time. How long to run the simulation for
  • min. Transaction think time minimum
  • max. Transaction think time maximum

All command line options are listed here

Tip

Put the above command line to run swingbench in a script and call it run_swinbench.sh so that you do not have to remember the full command.

3. Optional. Swingbench is highly configurable. The load on the system can be easily increased. In this example, the number of users is set to 40 and the min and max delay is shortened. As a result the TPS peaks at over 400 transactions per second. This simulation will take approximately 15 minutes. 

Note

Your laptop has to be power powerful enough to handle this load.

...