pingcap / go-ycsb

A Go port of Yahoo! Cloud Serving Benchmark (YCSB)
Apache License 2.0
602 stars 244 forks source link

tikv: support async commit and one pc #229

Closed siddontang closed 2 years ago

siddontang commented 2 years ago

Support async commit and one pc for the write operations

Below is just a simple workloada test result:

# Enable async commit and one pc
READ   - Takes(s): 0.3, Count: 506, OPS: 1916.9, Avg(us): 149, Min(us): 107, Max(us): 3715, 99th(us): 345, 99.9th(us): 756, 99.99th(us): 3715
UPDATE - Takes(s): 0.3, Count: 494, OPS: 1844.8, Avg(us): 432, Min(us): 306, Max(us): 23823, 99th(us): 960, 99.9th(us): 23823, 99.99th(us): 23823

# Disable async commit and one pc
READ   - Takes(s): 0.4, Count: 506, OPS: 1320.5, Avg(us): 151, Min(us): 104, Max(us): 2973, 99th(us): 324, 99.9th(us): 561, 99.99th(us): 2973
UPDATE - Takes(s): 0.4, Count: 494, OPS: 1278.1, Avg(us): 660, Min(us): 455, Max(us): 19135, 99th(us): 1899, 99.9th(us): 19135, 99.99th(us): 19135