Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added benchmarking.md

  • Loading branch information...
commit 8d81083e622ea0984748fe006166144753324e54 1 parent 8ff21a8
@paulasmuth authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 benchmarking.md
View
14 benchmarking.md
@@ -0,0 +1,14 @@
+benchmarking kollekt
+====================
+
+sadly, the ruby producer is not fast enough to benchmark anything. so we have to use tcpreplay...
+
+### create the pcap dump
+sudo tcpreplay --topspeed --intf1=wlan0 kollekt_testdump.pcap
+ruby test_emitter.rb 192.168.2.123 2323
+
+### replay the tcp dump at max speed
+sudo tcpreplay --topspeed --intf1=wlan0 kollekt_testdump.pcap
+
+### replay the tcp dump at 100 packets per seconds
+sudo tcpreplay --pps=100 --intf1=wlan0 kollekt_testdump.pcap
Please sign in to comment.
Something went wrong with that request. Please try again.