diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-11-08 17:36:04 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-11-11 00:46:50 +0900 |
commit | 34bd365bb4534f2321acea686996e2293727923c (patch) | |
tree | 0e19ad56f4d1e1b36c832f77ac28a708987dd6ed /test/performance_test/README.md | |
parent | bedb15304141ea7583e89dbdd2d39a93d50fbcfc (diff) |
test: add performance_test
currently only many-peer-connecting test (equivalent to hoofprints test T1)
is implemented.
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/performance_test/README.md')
-rw-r--r-- | test/performance_test/README.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/performance_test/README.md b/test/performance_test/README.md new file mode 100644 index 00000000..841370ca --- /dev/null +++ b/test/performance_test/README.md @@ -0,0 +1,24 @@ +Performance Test +=== + +[Hoofprints](https://github.com/sspies8684/hoofprints) inspired route-server performance test suite + +## Prerequisites + +Follow the 'Prerequisites' and 'Set up dependencies' section of [Scenario Test](https://github.com/osrg/gobgp/blob/master/test/scenario_test/README.md). + +## Create tester container + +```shell +$ cd $GOPATH/src/github.com/osrg/gobgp +$ sudo fab -f ./test/lib/base.py make_gobgp_ctn:tag=gobgp +$ sudo fab -f ./test/performance_test/test.py make_tester_ctn:tag=tester,from_image=gobgp +``` + +## Run test + +```shell +$ cd $GOPATH/src/github.com/osrg/gobgp/test/performance_test +$ sudo PYTHONPATH=../ python test.py -t gobgp -n 1000 T1 +$ sudo PYTHONPATH=../ python test.py -t quagga -n 1000 T1 +``` |