summaryrefslogtreecommitdiff
path: root/configs/boot/spec-surge-client.rcS
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2004-11-16 22:43:12 -0500
committerLisa Hsu <hsul@eecs.umich.edu>2004-11-16 22:43:12 -0500
commit182425da82976a7bddcd259e8b56fed348c52eab (patch)
treef5aa45d3e733efcde4680726c7d51cb323085202 /configs/boot/spec-surge-client.rcS
parent33135a051abcaad29bd04118e9d7028f7529b4a5 (diff)
downloadgem5-182425da82976a7bddcd259e8b56fed348c52eab.tar.xz
add support for NAT under netperf stream, maerts, and spec-surge.
configs/boot/spec-surge-client.rcS: configs/boot/surge-client.rcS: fix this rcS - don't sleep, instead wait for the server to tell you it's done. configs/boot/spec-surge-server.rcS: configs/boot/surge-server.rcS: notify the client you're done starting the server. --HG-- extra : convert_revision : b708bd0a9147e248eed7c27e7078668fbd98b95e
Diffstat (limited to 'configs/boot/spec-surge-client.rcS')
-rw-r--r--configs/boot/spec-surge-client.rcS5
1 files changed, 2 insertions, 3 deletions
diff --git a/configs/boot/spec-surge-client.rcS b/configs/boot/spec-surge-client.rcS
index d02241a3e..b7a2a12e4 100644
--- a/configs/boot/spec-surge-client.rcS
+++ b/configs/boot/spec-surge-client.rcS
@@ -32,9 +32,8 @@ echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
-echo -n "sleeping until server is running..."
-sleep 3
-echo "done."
+echo "waiting for server..."
+/usr/bin/netcat -c -l -p 8000
echo -n "running surge client..."
/bin/bash -c "cd /benchmarks/surge && ./spec-m5 1 20 1 192.168.0.1 5 40000 1000000000 1000"