1#!/bin/sh
2SERVER=127.0.0.1
3CLIENT=127.0.0.1
4
5echo "setting up network..."
6ifconfig lo 127.0.0.1
7
8BINARY=/benchmarks/netperf-bin/netperf
9TEST="UDP_STREAM"
10SHORT_ARGS="-l 2 -- -m 4096"
11
12echo "running netserver..."
13/benchmarks/netperf-bin/netserver
14
15
16SHORT="$BINARY -H $SERVER -t $TEST $SHORT_ARGS"
17
18echo "starting test..."
19echo $SHORT
20eval $SHORT
21
22/sbin/m5 exit
23