ts: maintaining time series costs a few percent of sysbench oltp_read_only throughput #135901
Labels
branch-master
Failures and bugs on the master branch.
C-performance
Perf of queries or internals. Solution not expected to change functional behavior.
o-perf-efficiency
Related to performance efficiency
P-2
Issues/test failures with a fix SLA of 3 months
Not a scientific experiment, but: throughput on oltp_read_only with all background work and timeseries disabled is very stable, with timeseries enabled throughput oscillates between 41k and 43k. The effect is likely larger in practice in long-running clusters, as timeseries roll-ups and pruning also kicks in.
There is a direct effect of consuming CPU for these writes, but also timeseries writes were observed to contribute 7mb/s of steady state write traffic to disk, with bursty writes into the 70+mb/s range likely caused by compactions. Compactions occupy CPU for 10s of ms and thus significantly reduce the amount of foreground work the system can do.
TODO: run a more representative experiment.
SHA was 6a7b1e2
Epic: CRDB-42584
Jira issue: CRDB-44781
The text was updated successfully, but these errors were encountered: