Skip to content
Browse files

added benchmarking.md

  • Loading branch information...
1 parent 8ff21a8 commit 8d81083e622ea0984748fe006166144753324e54 @paulasmuth committed Mar 17, 2012
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

0 comments on commit 8d81083

Please sign in to comment.
Something went wrong with that request. Please try again.