-
Notifications
You must be signed in to change notification settings - Fork 14
Benchmark configuration
To set the namespace that the benchmarking tool will operate under, pass the --namespace (or -n) flag followed by the name of the namespace. To set the set to be used, use --set (or -s).
For example, to work under the namespace "myNS" and the set "mySet", you would run:
target/benchmark -n myNS -s mySetThe default namespace is "test", and the default set is "testset".
To set the number of worker threads to use for synchronous workloads, pass the --threads (or -z) flag followed by the number of worker threads. For example:
target/benchmark -z 16The default number of worker threads is 16.
To set the number of event loop threads which process asynchronous commands, pass the --eventLoops (or -W) flag followed by the number of desired event loop threads. These threads are only used in asynchronous workloads, and so changing this number will have no effect on synchronous workloads.
For example, to run an asynchronous workload of random read/updates with 4 event loop threads, run:
target/benchmark --workload RU --async -W 4See workload stages for a complete description of how to configure workloads.
The default number of event loop threads is 1.