summaryrefslogtreecommitdiff
path: root/configs/boot/natbox-spec-surge.rcS
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-04-30 11:00:43 -0400
committerNathan Binkert <binkertn@umich.edu>2005-04-30 11:00:43 -0400
commit849c954adf4660608d0ce48ce445cd47162e4276 (patch)
tree4b15c5ba8dbb2f6d3bd6ba7f4d88234db78f7d85 /configs/boot/natbox-spec-surge.rcS
parent602a489573c96d574798c622a70b1b466330fdaf (diff)
downloadgem5-849c954adf4660608d0ce48ce445cd47162e4276.tar.xz
Cleanup rcS files. Make sure there are enough tracked connections.
Delay before singalling peer to make sure that the peer is ready configs/boot/nat-netperf-server.rcS: delay before singalling to make sure that the natbox is ready configs/boot/nat-netperf-stream-client.rcS: increase the number of tracked connections configs/boot/nat-spec-surge-client.rcS: configs/boot/nfs-client-nhfsstone.rcS: configs/boot/nfs-client-smallb.rcS: configs/boot/nfs-client-tcp-smallb.rcS: configs/boot/nfs-client-tcp.rcS: configs/boot/nfs-client.rcS: configs/boot/nfs-server.rcS: configs/boot/spec-surge-client.rcS: configs/boot/spec-surge-server.rcS: configs/boot/surge-client.rcS: configs/boot/surge-server.rcS: increase the number of tracked connections cleanup configs/boot/nat-spec-surge-server.rcS: configs/boot/natbox-netperf.rcS: configs/boot/nfs-server-nhfsstone.rcS: delay before singalling to make sure that the natbox is ready increase the number of tracked connections cleanup configs/boot/natbox-spec-surge.rcS: delay before singalling to make sure that the natbox is ready increase the number of tracked connections --HG-- extra : convert_revision : 9faa5ec11c9c02fed3d1cff922ca42c41d364204
Diffstat (limited to 'configs/boot/natbox-spec-surge.rcS')
-rw-r--r--configs/boot/natbox-spec-surge.rcS2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/boot/natbox-spec-surge.rcS b/configs/boot/natbox-spec-surge.rcS
index 0aac5d3b6..8b84b1a35 100644
--- a/configs/boot/natbox-spec-surge.rcS
+++ b/configs/boot/natbox-spec-surge.rcS
@@ -11,6 +11,7 @@ ifconfig eth1 $INTIF txqueuelen 1000
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_vegas_cong_avoid
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
@@ -48,6 +49,7 @@ $IPTABLES -A FORWARD -j LOG
$IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
echo "informing client..."
+sleep 5
echo "server ready" | /usr/bin/netcat -c $CLIENT 8000
echo "starting bash..."