Fix the singalling from server to client so that the
authorNathan Binkert <binkertn@umich.edu>
Tue, 8 Mar 2005 17:37:08 +0000 (12:37 -0500)
committerNathan Binkert <binkertn@umich.edu>
Tue, 8 Mar 2005 17:37:08 +0000 (12:37 -0500)
benchmark begins properly.

configs/boot/nat-netperf-maerts-client.rcS:
    Fix the echo message
configs/boot/nat-netperf-server.rcS:
    Wait a second before signalling the natbox to make sure it's
    had time to boot.
    Fix echo message.

--HG--
extra : convert_revision : f9d32c98f24b9617ebf917790a4ca554b7b02bba

configs/boot/nat-netperf-maerts-client.rcS
configs/boot/nat-netperf-server.rcS

index ab9fd8c4e57dd596444e2ac5ec309d5dfb735aea..ab66b7d4a122982f5de5ca42c7c851e13626d6c4 100644 (file)
@@ -22,7 +22,7 @@ echo "262143" > /proc/sys/net/core/wmem_default
 echo "262143" > /proc/sys/net/core/optmem_max
 echo "100000" > /proc/sys/net/core/netdev_max_backlog
 
-echo -n "waiting for server..."
+echo -n "waiting for natbox..."
 /usr/bin/netcat -c -l -p 8000
 
 BINARY=/benchmarks/netperf/netperf
index 5b094b790a971d49319063fbe365ff2de62cb4d3..69717b7ce5401e59b1414ac76ed4e416bc2a52a9 100644 (file)
@@ -23,7 +23,8 @@ echo "100000" > /proc/sys/net/core/netdev_max_backlog
 echo "running netserver..."
 /benchmarks/netperf/netserver
 
-echo -n "signal client to begin..."
+echo -n "signal natbox to begin..."
+sleep 1
 echo "server ready" | /usr/bin/netcat -c $NATBOX 8000
 echo "done."