You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature(perf): support latte in gradual grow throughput test
Gradual throughput test uses several substitution variables
and 2 of them, called "$threads" and "$throttle", are not compatible "as-is"
with the latte benchmarking tool.
First, Latte has "--threads=N" and "--concurrency=M" parameters
whereas cassandra-stress has only "--threads".
So, latte's values must be multiplied to get CS's value.
Second, latte uses "--rate=100" not "fixed=100/s" or "throttle=100s"
like CS does.
Knowing above, add appropriate parsing of the latte command to support
existing substitution values.
Example:
Following CS command:
cassandra-stress mixed cl=QUORUM duration=$duration -mode cql3 native \
-rate 'threads=$threads $throttle' \
-col 'size=FIXED(1024) n=FIXED(1)' -pop seq=15000001..20000000
Can be simulated by the following Latte command:
latte run --function=write,read --tag=mixed --sampling=10s --duration=$duration \
$throttle --threads=7 --concurrency=$threads --consistency=QUORUM
-P key_size=10 -P column_size=1024 -P column_count=1 -P row_count=20000000 -P offset=15000001
data_dir/latte/latte_cs_alike.rn
In case of Latte we specify "--threads" explicitly as (N-1) value
where N is number of CPU cores on loader nodes.
0 commit comments