MrCroxx / RunKV

[WIP] An experimental cloud-native distributed KV engine for OLTP workload.
MIT License
68 stars 7 forks source link

feat: add more options for bench kv #152

Closed MrCroxx closed 2 years ago

MrCroxx commented 2 years ago

Add more options for bench kv:

runkv-bench

USAGE:
    bench_kv [OPTIONS]

OPTIONS:
        --concurrency <CONCURRENCY>
            Concurrency of each raft group [default: 100]

        --groups <GROUPS>
            Count of raft groups, [1, 100] [default: 10]

    -h, --help
            Print help information

        --key-size <KEY_SIZE>
            Key size (B), [10, 4096] [default: 64]

        --log-dir <LOG_DIR>
            [default: .run/tmp/bench-kv/log]

        --loop <LOOP>
            Loop time of each coroutine [default: 100]

        --persist <PERSIST>
            [default: sync]

        --raft-log-store-data-dir <RAFT_LOG_STORE_DATA_DIR>
            [default: .run/tmp/bench-kv/raft-log-store-data]

        --value-size <VALUE_SIZE>
            Valuw size (B), [10, 4096] [default: 64]