Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Done
Description
Benchmark range locking vs point locking.
Benchmarking script: https://github.com/spetrunia/range-locking-benchmark
Attachments
Issue Links
- relates to
-
MDEV-15603 Gap Lock support in MyRocks
-
- Stalled
-
-
MDEV-21186 Benchmark range locking - nov-dec 2019
-
- Closed
-
-
MDEV-25161 Benchmark range locking - 2021
-
- Closed
-
Results:
SERVER_DIR=mysql-5.6-orig
SYSBENCH_TEST=oltp_read_write.lua
Threads, QPS
1 6104.14
5 19847.76
10 30293.54
20 33025.06
40 34143.55
SERVER_DIR=mysql-5.6-range-locking
SYSBENCH_TEST=oltp_read_write.lua
Threads, QPS
1 6080.82
5 19554.02
10 30053.92
20 32346.45
40 33414.87
Computing the slowdown:
Threads orig range-locking Slowdown, %
1 6104.14 6080.82 0.38
5 19847.76 19554.02 1.48
10 30293.54 30053.92 0.79
20 33025.06 32346.45 2.05
40 34143.55 33414.87 2.13
The machine is AWS c5.2xlarge. 8 user-visible CPUs.