Skip to content

Instantly share code, notes, and snippets.

@praseodym
Last active January 3, 2016 03:29
Show Gist options
  • Save praseodym/8402879 to your computer and use it in GitHub Desktop.
Save praseodym/8402879 to your computer and use it in GitHub Desktop.
cbench latency test, using beacon 4 threads
cbench load-generation command:
➜ et4285-masti git:(master) ~/oflops/cbench/cbench -c 10.10.2.23 -p 6633 -m 1000 -l 1000 -w 0 -s 64 -M 1000 -t
(in parallel with and on same host as)
cbench latency command:
➜ ~ ~/oflops/cbench/cbench -c 10.10.2.23 -p 6633 -m 1000 -l 25 -w 5 -s 1 -M 1 -o 1 -m 1000
➜ ~ ~/oflops/cbench/cbench -c 10.10.2.23 -p 6633 -m 1000 -l 25 -w 5 -s 1 -M 1 -o 1 -m 1000
cbench: controller benchmarking tool
running in mode 'latency'
connecting to controller at 10.10.2.23:6633
faking 1 switches offset 1 :: 25 tests each; 1000 ms per test
with 1 unique source MACs per switch
learning destination mac addresses before the test
starting test with 0 ms delay after features_reply
ignoring first 5 "warmup" and last 0 "cooldown" loops
connection delay of 0ms per 1 switch(es)
debugging info is off
17:08:04.312 1 switches: flows/sec: 1 total = 0.001000 per ms
17:08:05.413 1 switches: flows/sec: 6 total = 0.006000 per ms
17:08:06.513 1 switches: flows/sec: 7 total = 0.007000 per ms
17:08:07.613 1 switches: flows/sec: 6 total = 0.006000 per ms
17:08:08.713 1 switches: flows/sec: 6 total = 0.006000 per ms
17:08:09.813 1 switches: flows/sec: 8 total = 0.008000 per ms
17:08:10.913 1 switches: flows/sec: 6 total = 0.006000 per ms
17:08:12.013 1 switches: flows/sec: 6 total = 0.006000 per ms
17:08:13.113 1 switches: flows/sec: 6 total = 0.006000 per ms
17:08:14.214 1 switches: flows/sec: 6 total = 0.006000 per ms
17:08:15.314 1 switches: flows/sec: 9 total = 0.009000 per ms
17:08:16.414 1 switches: flows/sec: 8 total = 0.008000 per ms
17:08:17.514 1 switches: flows/sec: 6 total = 0.006000 per ms
17:08:18.614 1 switches: flows/sec: 5 total = 0.005000 per ms
17:08:19.714 1 switches: flows/sec: 6 total = 0.006000 per ms
17:08:20.814 1 switches: flows/sec: 5 total = 0.005000 per ms
17:08:21.915 1 switches: flows/sec: 9 total = 0.009000 per ms
17:08:23.015 1 switches: flows/sec: 6 total = 0.006000 per ms
17:08:24.115 1 switches: flows/sec: 6 total = 0.006000 per ms
17:08:25.215 1 switches: flows/sec: 5 total = 0.005000 per ms
17:08:26.315 1 switches: flows/sec: 6 total = 0.006000 per ms
17:08:27.415 1 switches: flows/sec: 6 total = 0.006000 per ms
17:08:28.515 1 switches: flows/sec: 7 total = 0.007000 per ms
17:08:29.615 1 switches: flows/sec: 9 total = 0.009000 per ms
17:08:30.716 1 switches: flows/sec: 6 total = 0.006000 per ms
RESULT: 1 switches 20 tests min/max/avg/stdev = 5.00/9.00/6.55/1.28 responses/s
not loaded latency test:
➜ ~ ~/oflops/cbench/cbench -c 10.10.2.23 -p 6633 -m 1000 -l 25 -w 5 -s 1 -M 1 -o 1 -m 1000
cbench: controller benchmarking tool
running in mode 'latency'
connecting to controller at 10.10.2.23:6633
faking 1 switches offset 1 :: 25 tests each; 1000 ms per test
with 1 unique source MACs per switch
learning destination mac addresses before the test
starting test with 0 ms delay after features_reply
ignoring first 5 "warmup" and last 0 "cooldown" loops
connection delay of 0ms per 1 switch(es)
debugging info is off
19:15:57.572 1 switches: flows/sec: 5352 total = 5.351995 per ms
19:15:58.673 1 switches: flows/sec: 6511 total = 6.510993 per ms
19:15:59.773 1 switches: flows/sec: 6677 total = 6.676993 per ms
19:16:00.873 1 switches: flows/sec: 7773 total = 7.772992 per ms
19:16:01.973 1 switches: flows/sec: 9935 total = 9.934990 per ms
19:16:03.073 1 switches: flows/sec: 9959 total = 9.958960 per ms
19:16:04.173 1 switches: flows/sec: 7526 total = 7.525992 per ms
19:16:05.274 1 switches: flows/sec: 6653 total = 6.652993 per ms
19:16:06.374 1 switches: flows/sec: 6677 total = 6.676980 per ms
19:16:07.474 1 switches: flows/sec: 6966 total = 6.965965 per ms
19:16:08.574 1 switches: flows/sec: 9928 total = 9.927911 per ms
19:16:09.674 1 switches: flows/sec: 9968 total = 9.967990 per ms
19:16:10.775 1 switches: flows/sec: 8096 total = 8.095992 per ms
19:16:11.875 1 switches: flows/sec: 6677 total = 6.676993 per ms
19:16:12.975 1 switches: flows/sec: 6604 total = 6.603993 per ms
19:16:14.075 1 switches: flows/sec: 6554 total = 6.553993 per ms
19:16:15.175 1 switches: flows/sec: 9289 total = 9.288991 per ms
19:16:16.275 1 switches: flows/sec: 9763 total = 9.762990 per ms
19:16:17.376 1 switches: flows/sec: 8610 total = 8.609991 per ms
19:16:18.476 1 switches: flows/sec: 6662 total = 6.661993 per ms
19:16:19.576 1 switches: flows/sec: 6640 total = 6.639914 per ms
19:16:20.676 1 switches: flows/sec: 6586 total = 6.585993 per ms
19:16:21.776 1 switches: flows/sec: 8421 total = 8.420992 per ms
19:16:22.876 1 switches: flows/sec: 9778 total = 9.777990 per ms
19:16:23.977 1 switches: flows/sec: 9129 total = 9.128991 per ms
RESULT: 1 switches 20 tests min/max/avg/stdev = 6553.99/9967.99/8024.28/1368.72 responses/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment