v2.1.17+incompatible Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2019 License: Apache-2.0 Imports: 19 Imported by: 0



pd-simulator is a tool to reproduce some scenarios and evaluate the schedulers' efficiency.


  1. Go Version 1.9 or later
  2. In the root directory of the PD project, use the make simulator command to compile and generate bin/pd-simulator


This section describes how to use the simulator.

Flags description
-pd string
      Specify a PD address (if this parameter is not set, it will start a PD server from the simulator inside)
-config string
      Specify a configuration file for the PD simulator
-case string
      Specify the case which the simulator is going to run
-serverLogLevel string
      Specify the PD server log level (default: "fatal")
-simLogLevel string
      Specify the simulator log level (default: "fatal")

Run all cases:


Run a specific case with an internal PD:

./pd-simulator -case="casename"

Run a specific case with an external PD:

./pd-simulator -pd="" -case="casename"


The Go Gopher

There is no documentation for this package.


Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL