go.etcd.io/etcd@v3.3.27+incompatible/hack/benchmark/README.md (about)

     1  ## Usage
     2  
     3  Benchmark 3-member etcd cluster to get its read and write performance.
     4  
     5  ## Instructions
     6  
     7  1. Start 3-member etcd cluster on 3 machines
     8  2. Update `$leader` and `$servers` in the script
     9  3. Run the script in a separate machine
    10  
    11  ## Caveat
    12  
    13  1. Set environment variable `GOMAXPROCS` as the number of available cores to maximize CPU resources for both etcd member and bench process.
    14  2. Set the number of open files per process as 10000 for amounts of client connections for both etcd member and benchmark process.