Skip to content
Radim Vansa edited this page Sep 30, 2013 · 2 revisions

CheckBackgroundStressors

Stage that checks the progress in background stressors and fails if something went wrong.

  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

CheckData

Stage for checking presence or absence of data uploaded by BackgroundStressors

  • checkEntryCount [optional]: Number of entries that will be checked in each step. Default is 1.
  • checkThreads [optional]: Number of thread per node which check data validity. Default is 1.
  • debugNull [optional]: If the GET request results in null response, call wrapper-specific functions to show debug info. Default is false.
  • deleted [optional]: If set to true, we are checking that the data are NOT in the cluster anymore. Default is false.
  • entrySize [mandatory]: Number of bytes carried in single entry.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • extraEntries [optional]: Entries that do not have the expected form but occur in the cluster. This string specifies a polynomial in number of slaves: 1,2,3 with 4 slaves would result in 1 + 24 + 34*4 = 57 extra entries.Defaults to 0.
  • failOnNull [optional]: If entry is null, fail immediatelly. Default is false.
  • firstEntryOffset [optional]: Index of key of first entry. This number will be multiplied by slaveIndex. Default is 0.
  • ignoreSum [optional]: Usually the test checks that sum of local nodes = numOwners * numEntries + extraEntries.This option disables such behaviour. Default is false.
  • liveSlavesHint [optional]: Hint how many slaves are currently alive - if set to > 0 then the query for amount of entries inthis cache is postponed until the cache appears to be fully replicated. By default this is disabled.
  • logChecksCount [optional]: Number of queries after which a DEBUG log message is printed. Default is 10000.
  • memoryOnly [optional]: If the cache wrapper supports persistent storage and this is set to true, the check will be executed only against in-memory data. Default is false.
  • numEntries [mandatory]: Number of entries with key in form specified by the last used key generator, in the cache.
  • numOwners [optional]: Number of owners of one key (primary + backups). If negative the number is multiplied by cluster size, therefore, -1 means full replication. Default is -1.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • stepEntryCount [optional]: Number of entries stepped in each step. Default is 1.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

CheckTopology

Controls which topology events have (not) happened recently

  • changed [optional]: The check controls if this event has happened (true) or not happened (false). Defaults to true.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • period [optional]: The period in milliseconds which is checked. Default is infinite.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • type [optional]: What does this stage control. Default is both DataRehashed and TopologyChanged events.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

ClearCluster

Removes all data from the cache

  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

ClientStressTest

Repeats the StressTest logic with increasing amount of client threads.

  • bulkSize [optional]: Number of keys inserted/retrieved within one operation. Applicable only when the cache wrappersupports bulk operations. Default is 1 (no bulk operations).
  • cacheSpecificKeyGenerator [optional]: Specifies whether the key generator is produced by a cache wrapper and therefore is product-specific. Default is false.
  • commitTransactions [optional]: Specifies whether the transactions should be committed (true) or rolled back (false). Default is true
  • duration [optional]: Benchmark duration. This takes precedence over numRequests. By default switched off.
  • entrySize [optional]: Size of the value in bytes. Default is 1000.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • fixedKeys [optional]: The keys can be fixed for the whole test run period or we the set can change over time. Default is true = fixed.
  • generateHistogramRange [optional]: Generate a range for histogram with operations statistics (for use in next stress tests). Default is false.
  • increment [optional]: Number of threads which should be added in each iteration. Default is 1.
  • initThreads [mandatory]: Initial number of threads.
  • keyGeneratorClass [optional]: Full class name of the key generator. Default is org.radargun.stressors.StringKeyGenerator.
  • keyGeneratorParam [optional]: Used to initialize the key generator. Null by default.
  • loadAllKeys [optional]: This option is valid only for sharedKeys=true. It forces local loading of all keys (not only numEntries/numNodes). Default is false.
  • maxThreads [mandatory]: Maximum number of threads this will be run with.
  • numEntries [optional]: Number of key-value entries per each client thread which should be used. Default is 100.
  • numRequests [optional]: Total number of request to be made against this session: reads + writes. If duration is specified this value is ignored. Default is 50000.
  • numThreads [optional]: The number of threads that will work on this slave. Default is 10.
  • opsCountStatusLog [optional]: Number of operations after which a log entry should be written. Default is 5000.
  • poolKeys [optional]: Keep all keys in a pool - do not generate the keys for each request anew. Default is true.
  • preferAsyncOperations [optional]: When executing bulk operations, prefer version with multiple async operations over native implementation. Default is false.
  • removePercentage [optional]: The frequency of removes (percentage). Default is 0%
  • replaceInvalidPercentage [optional]: In case we test replace performance, the frequency of replaces that should fail (percentage). Default is 40%
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • sharedKeys [optional]: By default each client thread operates on his private set of keys. Setting this to true introduces contention between the threads, the numThreads property says total amount of entries that are used by all threads. Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • transactionSize [optional]: Number of requests in one transaction. Default is 1.
  • useAtomics [optional]: If true, putIfAbsent and replace operations are used. Default is false.
  • useHistogramStatistics [optional]: The test will produce operation statistics in histogram. Default is false.
  • useSimpleStatistics [optional]: The test will produce operation statistics as average values. Default is true.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • useTransactions [optional]: Specifies if the requests should be explicitely wrapped in transactions. By defaultthe cachewrapper is queried whether it does support the transactions, if it does,transactions are used, otherwise these are not.
  • writePercentage [optional]: Ratio of writes = PUT requests (percentage). Default is 20%

ClusterValidation

Verifies that the cluster is formed by injecting an entry into the cache and then reading it from other nodes.

  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • partialReplication [optional]: If set to true, then the slave will consider that the cluster is formed when one slave replicated the control entry. Otherwise the replication will only be considered successful if all slaves replicated the control value. Default is false.
  • replicationTimeSleep [optional]: Delay between attempts to retrieve the control entry.
  • replicationTryCount [optional]: How many times we should try to retrieve the control entry.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

CsvReportGeneration

Generates report in CSV format from the latest StressTest results

  • computeAverage [optional]: Adds a line with average results. Default is false.
  • ignore [optional]: Slaves whose results will be ignored.
  • targetDir [optional]: Directory into which will be report files written.

DataForQuery

Stage which executes puts/gets indexed entries against index enabled cache.

  • bulkSize [optional]: Number of keys inserted/retrieved within one operation. Applicable only when the cache wrappersupports bulk operations. Default is 1 (no bulk operations).
  • cacheSpecificKeyGenerator [optional]: Specifies whether the key generator is produced by a cache wrapper and therefore is product-specific. Default is false.
  • commitTransactions [optional]: Specifies whether the transactions should be committed (true) or rolled back (false). Default is true
  • dataPath [optional]: Specifies the full path of the property file which contains different words for querying. No default value is provided. This property is mandatory.
  • duration [optional]: Benchmark duration. This takes precedence over numRequests. By default switched off.
  • entrySize [optional]: Size of the value in bytes. Default is 1000.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • fixedKeys [optional]: The keys can be fixed for the whole test run period or we the set can change over time. Default is true = fixed.
  • generateHistogramRange [optional]: Generate a range for histogram with operations statistics (for use in next stress tests). Default is false.
  • isWildCard [optional]: Specifies whether the key generation should be done according to wildcard logic or no. Default is false.
  • keyGeneratorClass [optional]: Full class name of the key generator. Default is org.radargun.stressors.StringKeyGenerator.
  • keyGeneratorParam [optional]: Used to initialize the key generator. Null by default.
  • loadAllKeys [optional]: This option is valid only for sharedKeys=true. It forces local loading of all keys (not only numEntries/numNodes). Default is false.
  • numEntries [optional]: Number of key-value entries per each client thread which should be used. Default is 100.
  • numRequests [optional]: Total number of request to be made against this session: reads + writes. If duration is specified this value is ignored. Default is 50000.
  • numThreads [optional]: The number of threads that will work on this slave. Default is 10.
  • opsCountStatusLog [optional]: Number of operations after which a log entry should be written. Default is 5000.
  • poolKeys [optional]: Keep all keys in a pool - do not generate the keys for each request anew. Default is true.
  • preferAsyncOperations [optional]: When executing bulk operations, prefer version with multiple async operations over native implementation. Default is false.
  • propertyLength [optional]: The length of the generated indexed entry. Default is 100.
  • removePercentage [optional]: The frequency of removes (percentage). Default is 0%
  • replaceInvalidPercentage [optional]: In case we test replace performance, the frequency of replaces that should fail (percentage). Default is 40%
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • sharedKeys [optional]: By default each client thread operates on his private set of keys. Setting this to true introduces contention between the threads, the numThreads property says total amount of entries that are used by all threads. Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • transactionSize [optional]: Number of requests in one transaction. Default is 1.
  • useAtomics [optional]: If true, putIfAbsent and replace operations are used. Default is false.
  • useHistogramStatistics [optional]: The test will produce operation statistics in histogram. Default is false.
  • useSimpleStatistics [optional]: The test will produce operation statistics as average values. Default is true.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • useTransactions [optional]: Specifies if the requests should be explicitely wrapped in transactions. By defaultthe cachewrapper is queried whether it does support the transactions, if it does,transactions are used, otherwise these are not.
  • writePercentage [optional]: Ratio of writes = PUT requests (percentage). Default is 20%

DestroyWrapper

Distributed stage that will stop the cache wrapper on each slave.

  • enforceMemoryThrashHold [optional]: Specifies whether the check for amount of free memory should be performed. Default is true.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • heapDumpDir [optional]: Directory where the heap dump will be produced if the memory threshold is hit. By default the dump will not be produced.
  • memoryThreshold [optional]: If the free memory after wrapper destroy and System.gc() is below percentage specified in this property the benchmark will stop. Default is 95.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

DistributedTask

Stage which executes a MapReduce Task against all keys in the cache.

  • distributedCallableFqn [mandatory]: Fully qualified class name of the org.infinispan.distexec.DistributedCallable or java.util.concurrent.Callable implementation to execute.
  • distributedExecutionParams [optional]: A String in the form of 'methodName:methodParameter;methodName1:methodParameter1' that allows invoking a method on the distributedCallableFqn Object. The method must be public and take a String parameter.
  • executionPolicyName [optional]: The name of one of the org.infinispan.distexec.DistributedTaskExecutionPolicy enums. The default is null.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • failoverPolicyFqn [optional]: The fully qualified class name for a custom org.infinispan.distexec.DistributedTaskFailoverPolicy implementation. The default is null.
  • nodeAddress [optional]: The node address where the task will be executed. The default is null, and tasks will be executed against all nodes in the cluster.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

GenerateChart

Stage that generates a chart from a set of csv files.

  • csvFilesDirectory [optional]: Path to directory where are the (input) CSV files. Default is 'reports'.
  • reportDirectory [optional]: Path to directory where the report (output) should be generated. Default is 'reports'.

IsolationLevelCheck

Stage for testing guaranties of isolation levels.

  • duration [optional]: How long should this stage take. Default is 1 minute.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • expectedLevel [mandatory]: Expected isolation level (should match to cache configuration). Supported values are [READ_COMMITTED, REPEATABLE_READ]
  • readers [optional]: Number of concurrent threads that try to retrieve the value. Default is 10.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • transactionSize [optional]: Number of reads executed inside on transaction. Default is 30.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • writers [optional]: Number of concurrent threads that modify the value. Default is 2.

JMXClusterValidation

Validates formation of the cluster remotely via JMX.

  • jmxConnectionTimeout [optional]: JMX connection timeout. Default is 3 seconds.
  • prop1 [optional]: Generic property 1.
  • prop2 [optional]: Generic property 1.
  • prop3 [optional]: Generic property 1.
  • slaves [optional]: Indices of slaves that should be up. Default is empty.
  • waitTimeout [optional]: Cluster validation timeout. Default is 1 minute.

JMXClusterValidationPrepare

Collects configuration for JMXClusterValidationStage.

  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • jmxConnectionTimeout [optional]: JMX Connection timeout. Default is 3 seconds.
  • prop1 [optional]: Generic property 1.
  • prop2 [optional]: Generic property 2.
  • prop3 [optional]: Generic property 3.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • waitTimeout [optional]: Cluster validation timeout. Default is 1 minute.

JProfiler

Stage for invoking operations on JProfiler. Remember to set up JVM args: "-agentpath:/path/to/libjprofilerti.so=offline,id=100,config=/path/to/configuration.xml"

  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • operations [mandatory]: Operations that should be invoked on the Controller
  • resetCPUStats [optional]: If true, any previously accumulated CPU profiling data will be discarded. If false, CPU data willbe accumulated across pairs of invocations of START_CPU_RECORDING and STOP_CPU_RECORDING. Default is false.
  • resetMemoryStats [optional]: If true, any previously accumulated Memory profiling data will be discarded. If false, CPU data willbe accumulated across pairs of invocations of START_MEMORY_RECORDING and STOP_MEMORY_RECORDING. Default is false.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • snapshotDirectory [optional]: Directory where the snapshot should be written (for SAVE_SNAPSHOT).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

Kill

Shutdowns or kills (simulates node crash) one or more nodes.

  • async [optional]: If set to true the benchmark will not wait until the node is killed. Default is false.
  • delayExecution [optional]: If this value is positive the stage will spawn a thread which will kill the node after the delay. The stage will not wait for anything. By default the kill is immediate and synchronous.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • role [optional]: Instead of specifying concrete slaves we may choose a victim based on his role in the cluster. Supported roles are [COORDINATOR, BRIDGE]. By default no role is specified.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • tearDown [optional]: If set to true, the nodes should be shutdown. Default is false = simulate node crash.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

LoadFile

Loads the contents of a file into the cache.

  • bucket [optional]: The name of the bucket where keys are written. The default is null
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • filePath [mandatory]: Full pathname to the file.
  • printWriteStatistics [optional]: If true, then the time for each put operation is written to the logs. The default is false
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • stringData [optional]: If true, then String objects are written to the cache. The default is false
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • valueSize [optional]: The size of the values to put into the cache from the contents of the file. The default size is 1MB (1024 * 1024)

MapReduce

Stage which executes a MapReduce Task against all keys in the cache.

  • collatorFqn [optional]: Fully qualified class name of the org.infinispan.distexec.mapreduce.Collator implementation to execute. The default is null.
  • collatorParams [optional]: A String in the form of 'methodName:methodParameter;methodName1:methodParameter1' that allows invoking a method on the Collator Object. The method must be public and take a String parameter. The default is null.
  • distributeReducePhase [optional]: Boolean value that determines if the Reduce phase of the MapReduceTask is distributed. The default is true.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • mapperFqn [mandatory]: Fully qualified class name of the org.infinispan.distexec.mapreduce.Mapper implementation to execute.
  • mapperParams [optional]: A String in the form of 'methodName:methodParameter;methodName1:methodParameter1' that allows invoking a method on the Mapper Object. The method must be public and take a String parameter. The default is null.
  • printResult [optional]: Boolean value that determines if the final results of the MapReduceTask are written to the log of the first slave node. The default is false.
  • reducerFqn [mandatory]: Fully qualified class name of the org.infinispan.distexec.mapreduce.Reducer implementation to execute.
  • reducerParams [optional]: A String in the form of 'methodName:methodParameter;methodName1:methodParameter1' that allows invoking a method on the Reducer Object. The method must be public and take a String parameter. The default is null.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • storeResultInCache [optional]: Boolean value that determines if the final results of the MapReduceTask are stored in the cache at key MAPREDUCE_RESULT_KEY. Enabling this feature will require extra DRAM usage. The default is false.
  • timeout [optional]: A tiemout value for the remote communication that happens during a Map/Reduce task. The default is zero which means to wait forever.
  • unit [optional]: The java.util.concurrent.TimeUnit to use with the timeout property. The default is TimeUnit.MILLISECONDS
  • useIntermediateSharedCache [optional]: Boolean value that determines if the intermediate results of the MapReduceTask are shared. The default is true.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

ParallelStartKill

The stage start and kills some nodes concurrently (without waiting for each other).

  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • kill [optional]: Set of slaves which should be killed in this stage. Default is empty.
  • mayFailOn [optional]: Set of slaves where the start may fail but this will not cause an error. Default is none.
  • reachable [optional]: Applicable only for cache wrappers with Partitionable feature. Set of slaves that should bereachable from the new node. Default is empty.
  • role [optional]: Another way how to specify killed nodes is by role. Available roles are [COORDINATOR, BRIDGE]. By default this is not used.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • start [optional]: Set of slaves which should be started in this stage. Default is empty.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

Query

Stage which executes a Query using Infinispan-query API against all keys in the cache.

  • bulkSize [optional]: Number of keys inserted/retrieved within one operation. Applicable only when the cache wrappersupports bulk operations. Default is 1 (no bulk operations).
  • cacheSpecificKeyGenerator [optional]: Specifies whether the key generator is produced by a cache wrapper and therefore is product-specific. Default is false.
  • commitTransactions [optional]: Specifies whether the transactions should be committed (true) or rolled back (false). Default is true
  • duration [optional]: Benchmark duration. This takes precedence over numRequests. By default switched off.
  • entrySize [optional]: Size of the value in bytes. Default is 1000.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • fixedKeys [optional]: The keys can be fixed for the whole test run period or we the set can change over time. Default is true = fixed.
  • generateHistogramRange [optional]: Generate a range for histogram with operations statistics (for use in next stress tests). Default is false.
  • isWildcardQuery [mandatory]: Boolean variable which shows whether the keyword query should be done or wildcard.
  • keyGeneratorClass [optional]: Full class name of the key generator. Default is org.radargun.stressors.StringKeyGenerator.
  • keyGeneratorParam [optional]: Used to initialize the key generator. Null by default.
  • loadAllKeys [optional]: This option is valid only for sharedKeys=true. It forces local loading of all keys (not only numEntries/numNodes). Default is false.
  • numEntries [optional]: Number of key-value entries per each client thread which should be used. Default is 100.
  • numRequests [optional]: Total number of request to be made against this session: reads + writes. If duration is specified this value is ignored. Default is 50000.
  • numThreads [optional]: The number of threads that will work on this slave. Default is 10.
  • onField [mandatory]: The name of the field for which the query should be executed.
  • opsCountStatusLog [optional]: Number of operations after which a log entry should be written. Default is 5000.
  • poolKeys [optional]: Keep all keys in a pool - do not generate the keys for each request anew. Default is true.
  • preferAsyncOperations [optional]: When executing bulk operations, prefer version with multiple async operations over native implementation. Default is false.
  • removePercentage [optional]: The frequency of removes (percentage). Default is 0%
  • replaceInvalidPercentage [optional]: In case we test replace performance, the frequency of replaces that should fail (percentage). Default is 40%
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • sharedKeys [optional]: By default each client thread operates on his private set of keys. Setting this to true introduces contention between the threads, the numThreads property says total amount of entries that are used by all threads. Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • transactionSize [optional]: Number of requests in one transaction. Default is 1.
  • useAtomics [optional]: If true, putIfAbsent and replace operations are used. Default is false.
  • useHistogramStatistics [optional]: The test will produce operation statistics in histogram. Default is false.
  • useSimpleStatistics [optional]: The test will produce operation statistics as average values. Default is true.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • useTransactions [optional]: Specifies if the requests should be explicitely wrapped in transactions. By defaultthe cachewrapper is queried whether it does support the transactions, if it does,transactions are used, otherwise these are not.
  • writePercentage [optional]: Ratio of writes = PUT requests (percentage). Default is 20%

RandomData

Generates random data to fill the cache.

  • bucket [optional]: The name of the bucket where keys are written. The default is null
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • limitWordCount [optional]: If true, then the random word generator selects a word from a pre-defined list. The default is false
  • maxWordCount [optional]: The maximum number of words to generate in the pre-defined list of words used with limitWordCount.The default is 100.
  • maxWordLength [optional]: The maximum number of characters allowed in a word. The default is 20.
  • printWriteStatistics [optional]: If true, then the time for each put operation is written to the logs. The default is false
  • ramPercentage [optional]: A double that represents the percentage of the total Java heap used to determine the amount of data to put into the cache.Either valueCount or ramPercentageDataSize should be specified, but not both.
  • randomSeed [optional]: The seed to use for the java.util.Random object. The default is the return value of Calendar.getInstance().getWeekYear().
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • shareWords [optional]: If false, then each node in the cluster generates a list of maxWordCount words. If true, then each node in the cluster shares the same list of words. The default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • stringData [optional]: If true, then String objects with printable characters are written to the cache.The default is false
  • targetMemoryUse [optional]: The number of bytes to write to the cache when the valueByteOverhead, stringData, and valueSize are taken into account. The code assumes this is an even multiple of valueSize plus valueByteOverhead. If stringData is true, then the code assumes this is an even multiple of (2 * valueSize) plus valueByteOverhead.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • valueByteOverhead [optional]: The bytes used over the size of the key and value when putting to the cache. By default the stage retrieves the value from cache wrapper automatically.
  • valueCount [optional]: The number of values of valueSize to write to the cache. Either valueCount or ramPercentageDataSize should be specified, but not both.
  • valueSize [optional]: The size of the values to put into the cache. The default size is 1MB (1024 * 1024).

ReportBackgroundStats

Generates reports from Statistics.

  • chartHeight [optional]: Height of the produced charts. Default is 600px.
  • chartWidth [optional]: Width of the produced charts. Default is 800px.
  • generateIntervalTimeData [optional]: Generate files for verifying time synchronization of slaves. Default is false.
  • ignore [optional]: Set of slaves whose results should be ignored. Default is empty.
  • targetDir [optional]: Directory where the reports should be written. Default is 'reports'

ReportJVMMonitor

Generate charts for JVM statistics on each slave node.

  • reportPrefix [optional]: A prefix that will be added to the report name. Default is null.

SetLogLevel

Debugging stage: changes log priorities

  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • package [mandatory]: The package or class which should be affected.
  • pop [optional]: If set to true, instead of setting the priority directly just undo the last priority change. Default is false.
  • priority [optional]: The new priority that should be used. No defaults.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

SetPartitions

Partitions the cluster into several parts that cannot communicate.

  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • partitions [mandatory]: Set of sets of partitions,e.g. [0,1],[2] makes two partitions, one with slaves 0 and 1 and second with slave 2 alone.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

SingleTXCheck

Paired with SingleTXLoadStage. Checks that the previous stage had the expected result

  • commitSlave [optional]: Indices of slaves which should have committed the transaction (others rolled back). Default is all committed.
  • commitThread [optional]: Indices of threads which should have committed the transaction (others rolled back). Default is all committed.
  • deleted [optional]: If this is set to true, REMOVE operation should have been executed. Default is false.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • transactionSize [optional]: Expected size of the transcation.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

SingleTXLoad

Performs single transaction with requests on key0 .. keyN in multiple threads on multiple slaves.

  • commitSlave [optional]: Indices of slaves which should commit the transaction (others will rollback). Default is all commit.
  • commitThread [optional]: Indices of threads which should commit the transaction (others will rollback). Default is all commit.
  • delete [optional]: The threads by default do the PUT request, if this is set to true they will do REMOVE. Default is false.
  • duration [optional]: The enforced duration of the transaction. If > 0 the threads will sleep for duration/transactionSize after each request. Default is 0.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • threads [optional]: Number of threads that should execute the transaction. Default is 1.
  • transactionSize [optional]: Number of request in the transaction. Default is 20.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

Sleep

Sleeps specified number of milliseconds.

  • time [mandatory]: Sleep duration.

StackTraceWatchdog

Debug usage only. Periodically check for all thread stack traces and print them out.

  • asyncLogging [optional]: If set to true the watchdog will not use standard logging for output but will push the output to queue consumed (logged) by another thread. Default is false.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • mask [optional]: If set, only those threads which have this mask in the name will be checked. Default is not set.
  • onlyStuck [optional]: By default the check will print out only those threads which appear to be stuck. If this is set to false all threads will be printed out. Default is true.
  • period [optional]: The delay between consecutive checks. Default is 10 seconds.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • shortStack [optional]: Threads with stack lower or equal to this value are never printed (because usually such threads are parked in thread pools). Default is 10.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

StartBackgroundStatistics

Starts collection of statistics from background threads and cache size.

  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • statsIterationDuration [optional]: Delay between statistics snapshots. Default is 5 seconds.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

StartBackgroundStressors

Starts background stressor threads.

  • bucketId [optional]: Bucket where the entries should be inserted. Default is
  • delayBetweenRequests [optional]: Time between consecutive requests of one stressor thread. Default is 0.
  • entrySize [optional]: Size of value used in the entry. Default is 1024 bytes.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • gets [optional]: Ratio of GET requests. Default is 2.
  • loadDataForDeadSlaves [optional]: List of slaves whose data should be loaded by other threads because these slaves are not alive. Default is empty.
  • loadDataOnSlaves [optional]: List of slaves where the data should be loaded (others immediately start executing requests). Default is all live slaves).
  • loadOnly [optional]: If set to true, the stressor does not execute any requests after loading the data. Default is false.
  • loadWithPutIfAbsent [optional]: Use conditional putIfAbsent instead of simple put for loading the keys. Default is false.
  • logCheckersNoProgressTimeout [optional]: Maximum time for which are the log value checkers allowed to show no new checked values (error is thrown in CheckBackgroundStressors stage). Default is one minute.
  • logCheckingThreads [optional]: Number of threads on each node that are checking whether all operations from stressor threads have been logged. Default is 10.
  • logCounterUpdatePeriod [optional]: Number of operations after which will the stressor or checker update in-cache operation counter. Default is 50.
  • logValueMaxSize [optional]: Maximum number of records in one entry before the older ones have to be truncated. Default is 100.
  • noLoading [optional]: Do not execute the loading, start usual request right away.
  • numEntries [optional]: Amount of entries (key-value pairs) inserted into the cache. Default is 1024.
  • numThreads [optional]: Number of stressor threads. Default is 10.
  • puts [optional]: Ratio of PUT requests. Default is 1.
  • removes [optional]: Ratio of REMOVE requests. Default is 0.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • sharedKeys [optional]: By default each thread accesses only its private set of keys. This allows all threads all values. Atomic operations are required for this functionality. Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • transactionSize [optional]: Amount of request wrapped into single transaction. By default transactions are not used (explicitely).
  • useLogValues [optional]: Use values which trace all operation on these keys. Therefore, they're always growing. Default is false.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • waitUntilLoaded [optional]: Specifies whether the stage should wait until the entries are loaded by stressor threads. Default is true.

StartCluster

Starts cache wrappers on specified slaves

  • delayAfterFirstSlaveStarts [optional]: Delay (staggering) after first slave's start is initiated. Default is 5s
  • delayBetweenStartingSlaves [optional]: Delay between initiating start of i-th and (i+1)-th slave. Default is 500 ms
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • expectNumSlaves [optional]: The number of slaves that should be up after all slaves are started. Applicable only with validateCluster=true. Default is all slaves in the cluster (in the same site in case of multi-site configuration).
  • mayFailOn [optional]: Set of slaves where the start may fail but this will not cause an error. Default is none.
  • reachable [optional]: Set of slaves that should be reachable to the newly spawned slaves (see Partitionable feature for details). Default is all slaves.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • staggerSlaveStartup [optional]: If set to true, the slaves will not be started in one moment but the startup will be delayed. Default is true.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • validateCluster [optional]: Specifies whether the cluster formation should be checked after cache wrapper startup. Default is true.

StartJVMMonitor

Starts collecting JVM statistics locally on each slave node.

  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • frequency [optional]: An integer that specifies the frequency that statistics are collected. The default is one.
  • interfaceName [optional]: Specifies the network interface where statistics are gathered. If not specified, then statistics are not collected.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • timeUnit [optional]: Specifies the time unit that statistics are collected. One of: MILLISECONDS, SECONDS, MINUTES, or HOURS. The default is SECONDS.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

StopBackgroundStatistics

Stop Statistics and return collected statistics to master.

  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

StopBackgroundStressors

Stop BackgroundStressors.

  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • waitUntilLoaded [optional]: If true, the phase does not finish until all stressors stop loading its data. Default is false.

StopJVMMonitor

Stop collecting JVM statistics on each slave node and return collected statistics to the master node.

  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

StressTest

Benchmark where several client threads access cache limited by time or number of requests.

  • bulkSize [optional]: Number of keys inserted/retrieved within one operation. Applicable only when the cache wrappersupports bulk operations. Default is 1 (no bulk operations).
  • cacheSpecificKeyGenerator [optional]: Specifies whether the key generator is produced by a cache wrapper and therefore is product-specific. Default is false.
  • commitTransactions [optional]: Specifies whether the transactions should be committed (true) or rolled back (false). Default is true
  • duration [optional]: Benchmark duration. This takes precedence over numRequests. By default switched off.
  • entrySize [optional]: Size of the value in bytes. Default is 1000.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • fixedKeys [optional]: The keys can be fixed for the whole test run period or we the set can change over time. Default is true = fixed.
  • generateHistogramRange [optional]: Generate a range for histogram with operations statistics (for use in next stress tests). Default is false.
  • keyGeneratorClass [optional]: Full class name of the key generator. Default is org.radargun.stressors.StringKeyGenerator.
  • keyGeneratorParam [optional]: Used to initialize the key generator. Null by default.
  • loadAllKeys [optional]: This option is valid only for sharedKeys=true. It forces local loading of all keys (not only numEntries/numNodes). Default is false.
  • numEntries [optional]: Number of key-value entries per each client thread which should be used. Default is 100.
  • numRequests [optional]: Total number of request to be made against this session: reads + writes. If duration is specified this value is ignored. Default is 50000.
  • numThreads [optional]: The number of threads that will work on this slave. Default is 10.
  • opsCountStatusLog [optional]: Number of operations after which a log entry should be written. Default is 5000.
  • poolKeys [optional]: Keep all keys in a pool - do not generate the keys for each request anew. Default is true.
  • preferAsyncOperations [optional]: When executing bulk operations, prefer version with multiple async operations over native implementation. Default is false.
  • removePercentage [optional]: The frequency of removes (percentage). Default is 0%
  • replaceInvalidPercentage [optional]: In case we test replace performance, the frequency of replaces that should fail (percentage). Default is 40%
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • sharedKeys [optional]: By default each client thread operates on his private set of keys. Setting this to true introduces contention between the threads, the numThreads property says total amount of entries that are used by all threads. Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • transactionSize [optional]: Number of requests in one transaction. Default is 1.
  • useAtomics [optional]: If true, putIfAbsent and replace operations are used. Default is false.
  • useHistogramStatistics [optional]: The test will produce operation statistics in histogram. Default is false.
  • useSimpleStatistics [optional]: The test will produce operation statistics as average values. Default is true.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • useTransactions [optional]: Specifies if the requests should be explicitely wrapped in transactions. By defaultthe cachewrapper is queried whether it does support the transactions, if it does,transactions are used, otherwise these are not.
  • writePercentage [optional]: Ratio of writes = PUT requests (percentage). Default is 20%

StressTestWarmup

Warmup stage for stress test benchmarks.

  • bulkSize [optional]: Number of keys inserted/retrieved within one operation. Applicable only when the cache wrappersupports bulk operations. Default is 1 (no bulk operations).
  • cacheSpecificKeyGenerator [optional]: Specifies whether the key generator is produced by a cache wrapper and therefore is product-specific. Default is false.
  • commitTransactions [optional]: Specifies whether the transactions should be committed (true) or rolled back (false). Default is true
  • duration [optional]: Benchmark duration. This takes precedence over numRequests. By default switched off.
  • entrySize [optional]: Size of the value in bytes. Default is 1000.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • fixedKeys [optional]: The keys can be fixed for the whole test run period or we the set can change over time. Default is true = fixed.
  • generateHistogramRange [optional]: Generate a range for histogram with operations statistics (for use in next stress tests). Default is false.
  • keyGeneratorClass [optional]: Full class name of the key generator. Default is org.radargun.stressors.StringKeyGenerator.
  • keyGeneratorParam [optional]: Used to initialize the key generator. Null by default.
  • loadAllKeys [optional]: This option is valid only for sharedKeys=true. It forces local loading of all keys (not only numEntries/numNodes). Default is false.
  • numEntries [optional]: Number of key-value entries per each client thread which should be used. Default is 100.
  • numRequests [optional]: Total number of request to be made against this session: reads + writes. If duration is specified this value is ignored. Default is 50000.
  • numThreads [optional]: The number of threads that will work on this slave. Default is 10.
  • opsCountStatusLog [optional]: Number of operations after which a log entry should be written. Default is 5000.
  • poolKeys [optional]: Keep all keys in a pool - do not generate the keys for each request anew. Default is true.
  • preferAsyncOperations [optional]: When executing bulk operations, prefer version with multiple async operations over native implementation. Default is false.
  • removePercentage [optional]: The frequency of removes (percentage). Default is 0%
  • replaceInvalidPercentage [optional]: In case we test replace performance, the frequency of replaces that should fail (percentage). Default is 40%
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • sharedKeys [optional]: By default each client thread operates on his private set of keys. Setting this to true introduces contention between the threads, the numThreads property says total amount of entries that are used by all threads. Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • transactionSize [optional]: Number of requests in one transaction. Default is 1.
  • useAtomics [optional]: If true, putIfAbsent and replace operations are used. Default is false.
  • useHistogramStatistics [optional]: The test will produce operation statistics in histogram. Default is false.
  • useSimpleStatistics [optional]: The test will produce operation statistics as average values. Default is true.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • useTransactions [optional]: Specifies if the requests should be explicitely wrapped in transactions. By defaultthe cachewrapper is queried whether it does support the transactions, if it does,transactions are used, otherwise these are not.
  • writePercentage [optional]: Ratio of writes = PUT requests (percentage). Default is 20%

TpccBenchmark

Simulate the activities found in complex OLTP application environments.

  • arrivalRate [optional]: Average arrival rate of the transactions to the system. Default is 0.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • numThreads [optional]: Number of threads that will work on this slave. Default is 10.
  • orderStatusWeight [optional]: Percentage of Order Status transactions. Default is 5 %.
  • paymentWeight [optional]: Percentage of Payment transactions. Default is 45 %.
  • perThreadSimulTime [optional]: Total time (in seconds) of simulation for each stressor thread. Default is 180.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

TpccPopulation

This stage shuld be run before the TpccBenchmarkStage.

  • cIdMask [optional]: Mask used to generate non-uniformly distributed random customer numbers. Default is 1023.
  • cLastMask [optional]: Mask used to generate non-uniformly distributed random customer last names. Default is 255.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • numWarehouses [optional]: Number of Warehouses. Default is 1.
  • olIdMask [optional]: Mask used to generate non-uniformly distributed random item numbers. Default is 8191.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

WaitForTopologyEvent

Waits until some event occurs. Note that the initial rehash is not recorded in this manner, therefore waiting for that will result in timeout.

  • condition [optional]: Condition we are waiting for. Default is END.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • maxMembers [optional]: The maximum number of slaves that participated in this event. Default is indefinite.
  • minMembers [optional]: The minimum number of slaves that participated in this event. Default is 0.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • set [optional]: Set last state before finishing. Default is true.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • timeout [optional]: How long should we wait until we give up with error, 0 means indefinitely. Default is 10 minutes.
  • type [optional]: Type of event we are detecting. Default is REHASH.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • wait [optional]: Wait for the event to happen. Default is true.

WebSessionBenchmark

Benchmark where several client threads access cache limited by time or number of requests.

  • bulkSize [optional]: Number of keys inserted/retrieved within one operation. Applicable only when the cache wrappersupports bulk operations. Default is 1 (no bulk operations).
  • cacheSpecificKeyGenerator [optional]: Specifies whether the key generator is produced by a cache wrapper and therefore is product-specific. Default is false.
  • commitTransactions [optional]: Specifies whether the transactions should be committed (true) or rolled back (false). Default is true
  • duration [optional]: Benchmark duration. This takes precedence over numRequests. By default switched off.
  • entrySize [optional]: Size of the value in bytes. Default is 1000.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • fixedKeys [optional]: The keys can be fixed for the whole test run period or we the set can change over time. Default is true = fixed.
  • generateHistogramRange [optional]: Generate a range for histogram with operations statistics (for use in next stress tests). Default is false.
  • keyGeneratorClass [optional]: Full class name of the key generator. Default is org.radargun.stressors.StringKeyGenerator.
  • keyGeneratorParam [optional]: Used to initialize the key generator. Null by default.
  • loadAllKeys [optional]: This option is valid only for sharedKeys=true. It forces local loading of all keys (not only numEntries/numNodes). Default is false.
  • numEntries [optional]: Number of key-value entries per each client thread which should be used. Default is 100.
  • numRequests [optional]: Total number of request to be made against this session: reads + writes. If duration is specified this value is ignored. Default is 50000.
  • numThreads [optional]: The number of threads that will work on this slave. Default is 10.
  • opsCountStatusLog [optional]: Number of operations after which a log entry should be written. Default is 5000.
  • poolKeys [optional]: Keep all keys in a pool - do not generate the keys for each request anew. Default is true.
  • preferAsyncOperations [optional]: When executing bulk operations, prefer version with multiple async operations over native implementation. Default is false.
  • removePercentage [optional]: The frequency of removes (percentage). Default is 0%
  • replaceInvalidPercentage [optional]: In case we test replace performance, the frequency of replaces that should fail (percentage). Default is 40%
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • sharedKeys [optional]: By default each client thread operates on his private set of keys. Setting this to true introduces contention between the threads, the numThreads property says total amount of entries that are used by all threads. Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • transactionSize [optional]: Number of requests in one transaction. Default is 1.
  • useAtomics [optional]: If true, putIfAbsent and replace operations are used. Default is false.
  • useHistogramStatistics [optional]: The test will produce operation statistics in histogram. Default is false.
  • useSimpleStatistics [optional]: The test will produce operation statistics as average values. Default is true.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • useTransactions [optional]: Specifies if the requests should be explicitely wrapped in transactions. By defaultthe cachewrapper is queried whether it does support the transactions, if it does,transactions are used, otherwise these are not.
  • writePercentage [optional]: Ratio of writes = PUT requests (percentage). Default is 20%

WebSessionWarmup

Warmup stage for stress test benchmarks.

  • bulkSize [optional]: Number of keys inserted/retrieved within one operation. Applicable only when the cache wrappersupports bulk operations. Default is 1 (no bulk operations).
  • cacheSpecificKeyGenerator [optional]: Specifies whether the key generator is produced by a cache wrapper and therefore is product-specific. Default is false.
  • commitTransactions [optional]: Specifies whether the transactions should be committed (true) or rolled back (false). Default is true
  • duration [optional]: Benchmark duration. This takes precedence over numRequests. By default switched off.
  • entrySize [optional]: Size of the value in bytes. Default is 1000.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • fixedKeys [optional]: The keys can be fixed for the whole test run period or we the set can change over time. Default is true = fixed.
  • generateHistogramRange [optional]: Generate a range for histogram with operations statistics (for use in next stress tests). Default is false.
  • keyGeneratorClass [optional]: Full class name of the key generator. Default is org.radargun.stressors.StringKeyGenerator.
  • keyGeneratorParam [optional]: Used to initialize the key generator. Null by default.
  • loadAllKeys [optional]: This option is valid only for sharedKeys=true. It forces local loading of all keys (not only numEntries/numNodes). Default is false.
  • numEntries [optional]: Number of key-value entries per each client thread which should be used. Default is 100.
  • numRequests [optional]: Total number of request to be made against this session: reads + writes. If duration is specified this value is ignored. Default is 50000.
  • numThreads [optional]: The number of threads that will work on this slave. Default is 10.
  • opsCountStatusLog [optional]: Number of operations after which a log entry should be written. Default is 5000.
  • poolKeys [optional]: Keep all keys in a pool - do not generate the keys for each request anew. Default is true.
  • preferAsyncOperations [optional]: When executing bulk operations, prefer version with multiple async operations over native implementation. Default is false.
  • removePercentage [optional]: The frequency of removes (percentage). Default is 0%
  • replaceInvalidPercentage [optional]: In case we test replace performance, the frequency of replaces that should fail (percentage). Default is 40%
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • sharedKeys [optional]: By default each client thread operates on his private set of keys. Setting this to true introduces contention between the threads, the numThreads property says total amount of entries that are used by all threads. Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • transactionSize [optional]: Number of requests in one transaction. Default is 1.
  • useAtomics [optional]: If true, putIfAbsent and replace operations are used. Default is false.
  • useHistogramStatistics [optional]: The test will produce operation statistics in histogram. Default is false.
  • useSimpleStatistics [optional]: The test will produce operation statistics as average values. Default is true.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • useTransactions [optional]: Specifies if the requests should be explicitely wrapped in transactions. By defaultthe cachewrapper is queried whether it does support the transactions, if it does,transactions are used, otherwise these are not.
  • writePercentage [optional]: Ratio of writes = PUT requests (percentage). Default is 20%

WriteSkewCheck

Stage checking the write skew detection in transactional caches.

  • duration [optional]: Duration of the test. Default is 1 minute.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • testNull [optional]: Should write skew between null value and first value be tested? Default is false.
  • threads [optional]: Number of threads overwriting concurrently the entry. Default is 10.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.

XSReplCheck

Checks data loaded in XSReplLoadStage.

  • checkEntryCount [optional]: Number of entries that will be checked in each step. Default is 1.
  • checkThreads [optional]: Number of thread per node which check data validity. Default is 1.
  • debugNull [optional]: If the GET request results in null response, call wrapper-specific functions to show debug info. Default is false.
  • deleted [optional]: If set to true, we are checking that the data are NOT in the cluster anymore. Default is false.
  • entrySize [mandatory]: Number of bytes carried in single entry.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • extraEntries [optional]: Entries that do not have the expected form but occur in the cluster. This string specifies a polynomial in number of slaves: 1,2,3 with 4 slaves would result in 1 + 24 + 34*4 = 57 extra entries.Defaults to 0.
  • failOnNull [optional]: If entry is null, fail immediatelly. Default is false.
  • firstEntryOffset [optional]: Index of key of first entry. This number will be multiplied by slaveIndex. Default is 0.
  • ignoreSum [optional]: Usually the test checks that sum of local nodes = numOwners * numEntries + extraEntries.This option disables such behaviour. Default is false.
  • liveSlavesHint [optional]: Hint how many slaves are currently alive - if set to > 0 then the query for amount of entries inthis cache is postponed until the cache appears to be fully replicated. By default this is disabled.
  • logChecksCount [optional]: Number of queries after which a DEBUG log message is printed. Default is 10000.
  • memoryOnly [optional]: If the cache wrapper supports persistent storage and this is set to true, the check will be executed only against in-memory data. Default is false.
  • numEntries [mandatory]: Number of entries with key in form specified by the last used key generator, in the cache.
  • numOwners [optional]: Number of owners of one key (primary + backups). If negative the number is multiplied by cluster size, therefore, -1 means full replication. Default is -1.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • stepEntryCount [optional]: Number of entries stepped in each step. Default is 1.
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • valuePostFix [optional]: Postfix part of the value contents. Default is empty string.

XSReplLoad

Loads data into the cache with input cache name encoded into the value.

  • delete [optional]: If set to true, the entries are removed instead of being inserted. Default is false.
  • exitBenchmarkOnSlaveFailure [optional]: Should the benchmark fail if one of the slaves sends error acknowledgement? Default is false.
  • numEntries [mandatory]: Amount of entries that should be inserted into the cache.
  • runOnAllSlaves [optional]: If set to true the stage should be run on maxSlaves (applies to scaling benchmarks). Default is false.
  • slaves [optional]: Specifies on which slaves should this stage actively run. Default is stage-dependent (usually all or none).
  • useSmartClassLoading [optional]: Smart class loading loads libraries specific for the product. Default is true.
  • valuePostFix [optional]: String encoded into the value so that the entry may be distinguished from entries loaded in different load stages. Default is empty string.

Clone this wiki locally