From 0804a7530fe57e8a68e3d7620ebc70a3d431633a Mon Sep 17 00:00:00 2001 From: Lisa Hsu Date: Sat, 5 Mar 2005 15:16:29 -0500 Subject: the client and server aren't rate-matched anymore and the timing of the netcats are off - add a sleep 1 to make it actually work. --HG-- extra : convert_revision : 3fa730a94d9270945d34061513ab9ce0ab60e7ba --- configs/boot/netperf-server.rcS | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/boot') diff --git a/configs/boot/netperf-server.rcS b/configs/boot/netperf-server.rcS index f77ff0ce8..c75d918a2 100644 --- a/configs/boot/netperf-server.rcS +++ b/configs/boot/netperf-server.rcS @@ -22,6 +22,7 @@ echo "running netserver..." /benchmarks/netperf/netserver echo -n "signal client to begin..." +sleep 1 echo "server ready" | /usr/bin/netcat -c $CLIENT 8000 echo "done." -- cgit v1.2.3 From 47dec0f411c041c05b35a3b1a8c5b050845ce9e0 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 8 Mar 2005 12:37:08 -0500 Subject: Fix the singalling from server to client so that the 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 | 2 +- configs/boot/nat-netperf-server.rcS | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'configs/boot') diff --git a/configs/boot/nat-netperf-maerts-client.rcS b/configs/boot/nat-netperf-maerts-client.rcS index ab9fd8c4e..ab66b7d4a 100644 --- a/configs/boot/nat-netperf-maerts-client.rcS +++ b/configs/boot/nat-netperf-maerts-client.rcS @@ -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 diff --git a/configs/boot/nat-netperf-server.rcS b/configs/boot/nat-netperf-server.rcS index 5b094b790..69717b7ce 100644 --- a/configs/boot/nat-netperf-server.rcS +++ b/configs/boot/nat-netperf-server.rcS @@ -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." -- cgit v1.2.3 From 91601f44948060939527bad44e82b1379168fc6c Mon Sep 17 00:00:00 2001 From: Lisa Hsu Date: Tue, 8 Mar 2005 17:25:32 -0500 Subject: make some changes to bonnie - now that the simulator uses more memory the old config didn't fit anymore in pools VM, this does fit. --HG-- extra : convert_revision : b5fef2896276be675f79791b084ba97dd953d4ca --- configs/boot/nfs-client.rcS | 2 +- configs/boot/nfs-server.rcS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'configs/boot') diff --git a/configs/boot/nfs-client.rcS b/configs/boot/nfs-client.rcS index a999fb72c..84d15439f 100755 --- a/configs/boot/nfs-client.rcS +++ b/configs/boot/nfs-client.rcS @@ -45,6 +45,6 @@ mkdir /nfs mount 10.0.0.1:/nfs /nfs echo "done." -/bin/bonnie++ -u 99 -s 700 -r 0 -n 0 -f -F -d /nfs +/bin/bonnie++ -u 99 -s 500 -r 0 -n 0 -f -F -d /nfs /sbin/m5 exit diff --git a/configs/boot/nfs-server.rcS b/configs/boot/nfs-server.rcS index 21b7ab83c..0cb489a9d 100755 --- a/configs/boot/nfs-server.rcS +++ b/configs/boot/nfs-server.rcS @@ -38,7 +38,7 @@ echo "done." # mknod /dev/sda1 b 8 1 #fi -/sbin/insmod /modules/scsi_debug.ko dev_size_mb=768 +/sbin/insmod /modules/scsi_debug.ko dev_size_mb=512 echo -n "creating partition and formatting..." #echo "1,767,L" > /tmp/sfdisk.run -- cgit v1.2.3