diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-04-30 13:08:21 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-04-30 13:08:21 -0400 |
commit | 6e60d5c12f6cb8043657fd28638a81ce215dd92b (patch) | |
tree | 7e118b1c9d61a450c58541b748d2fcdd79329f23 /configs/boot/netperf-stream-udp-local.rcS | |
parent | e77aa3d21215de75aeeb0961a2440b87a01d3dc6 (diff) | |
download | gem5-6e60d5c12f6cb8043657fd28638a81ce215dd92b.tar.xz |
add a udp stream benchmark and a udp loopback benchmark
--HG--
extra : convert_revision : 9300c67a1258e57436eba6cbdbed8fdf93fb6e59
Diffstat (limited to 'configs/boot/netperf-stream-udp-local.rcS')
-rw-r--r-- | configs/boot/netperf-stream-udp-local.rcS | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/configs/boot/netperf-stream-udp-local.rcS b/configs/boot/netperf-stream-udp-local.rcS new file mode 100644 index 000000000..ccd7654e2 --- /dev/null +++ b/configs/boot/netperf-stream-udp-local.rcS @@ -0,0 +1,22 @@ +#!/bin/sh +SERVER=127.0.0.1 +CLIENT=127.0.0.1 + +echo "setting up network..." +ifconfig lo 127.0.0.1 + +BINARY=/benchmarks/netperf-bin/netperf +TEST="UDP_STREAM" +SHORT_ARGS="-l 2 -- -m 4096" + +echo "running netserver..." +/benchmarks/netperf-bin/netserver + + +SHORT="$BINARY -H $SERVER -t $TEST $SHORT_ARGS" + +echo "starting test..." +echo $SHORT +eval $SHORT + +/sbin/m5 exit |