chiark / gitweb /
speed test runes in test.cfg
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 3 Apr 2017 12:02:11 +0000 (13:02 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 3 Apr 2017 12:02:11 +0000 (13:02 +0100)
test.cfg

index d3bdb48..09c25fd 100644 (file)
--- a/test.cfg
+++ b/test.cfg
@@ -8,6 +8,8 @@ vnetwork = 192.0.2.0/24
 
 # ./server --debug-select=+ -c test.cfg
 
+# nc -n -v -l -p 8100 -c 'dd of=/dev/null'
+
 [192.0.2.3]
 password = sesame
 
@@ -19,4 +21,4 @@ ipif = PATH=/usr/local/sbin:/sbin:/usr/sbin:$PATH really ./fake-userv /home/ian/
 [192.0.2.4]
 #password = zorkmids
 
-# dd if=/dev/zero bs=1024 count=1024 | nc -n -v 192.0.2.1 8100
+# dd if=/dev/urandom bs=1024 count=16384 | nc -q 0 -n -v 192.0.2.1 8100