Cleanup rcS files. Make sure there are enough tracked connections.
authorNathan Binkert <binkertn@umich.edu>
Sat, 30 Apr 2005 15:00:43 +0000 (11:00 -0400)
committerNathan Binkert <binkertn@umich.edu>
Sat, 30 Apr 2005 15:00:43 +0000 (11:00 -0400)
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

17 files changed:
configs/boot/nat-netperf-server.rcS
configs/boot/nat-netperf-stream-client.rcS
configs/boot/nat-spec-surge-client.rcS
configs/boot/nat-spec-surge-server.rcS
configs/boot/natbox-netperf.rcS
configs/boot/natbox-spec-surge.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-nhfsstone.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

index 69717b7ce5401e59b1414ac76ed4e416bc2a52a9..61b4bea7ad802de79aa075175608b4b5af74d546 100644 (file)
@@ -24,7 +24,7 @@ echo "running netserver..."
 /benchmarks/netperf/netserver
 
 echo -n "signal natbox to begin..."
-sleep 1
+sleep 5
 echo "server ready" | /usr/bin/netcat -c $NATBOX 8000
 echo "done."
 
index d0213c2659dd45c1837e942d049f628c2b08b87a..e37b8e5651d9b97c0c67d2cce5ab02064fcff8f9 100644 (file)
@@ -9,6 +9,7 @@ ifconfig eth0 $CLIENT 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
index 5e4404a3552c96b7d69aaa50b82697ab7536f00b..67c831eb0fb8c7d740ad3642368d26b499fae312 100644 (file)
@@ -21,19 +21,16 @@ echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
 echo "1" > /proc/sys/net/ipv4/tcp_vegas_cong_avoid
-
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
-
 echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
-
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
 echo "300000" > /proc/sys/net/core/netdev_max_backlog
-
 echo "131072" > /proc/sys/fs/file-max
 echo "done."
 
index 9b5674e632f3645fe96e3de1f97fda996aab8851..279cd5652743857d4ee815100ca02013c20cec39 100755 (executable)
@@ -24,17 +24,15 @@ echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
 echo "1" > /proc/sys/net/ipv4/tcp_vegas_cong_avoid
-
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
-
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
 echo "300000" > /proc/sys/net/core/netdev_max_backlog
-
 echo "131072" > /proc/sys/fs/file-max
 echo "done."
 
@@ -50,6 +48,7 @@ cat /benchmarks/apache2/logs/error_log
 echo "done."
 
 echo "notifying natbox..."
+sleep 5
 echo "server ready" | /usr/bin/netcat -c $NATBOX 8000
 echo "done"
 
index 5ec08c1a2d4d5edf3a976d88c057219d80421a36..32a7371a027c1110e78f1d5e01c81e031fac94bf 100644 (file)
@@ -11,7 +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
@@ -21,7 +21,6 @@ echo "262143" > /proc/sys/net/core/rmem_default
 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 "1" > /proc/sys/net/ipv4/ip_forward
 
 echo "waiting for netserver..."
@@ -47,6 +46,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..."
index 0aac5d3b6ca648afe1fa73f5c3467475af848186..8b84b1a351b9ee147c2d52630ad6886231735f6c 100644 (file)
@@ -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..."
index 229e418d85d8d37c3b529c4b068bf8c9df5e2dcf..aa290391905b2d5a3a032b22accb3f5346be7490 100755 (executable)
@@ -18,17 +18,15 @@ echo "0" > /proc/sys/net/ipv4/tcp_timestamps
 echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
-
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
-
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
 echo "300000" > /proc/sys/net/core/netdev_max_backlog
-
 echo "131072" > /proc/sys/fs/file-max
 echo "done."
 
index 22e2107eb69a0901435cfd4ff9df7b4fdf2cac2f..375da1f591b9e5b73fd0cdb4c3630f208929ff1d 100755 (executable)
@@ -18,17 +18,15 @@ echo "0" > /proc/sys/net/ipv4/tcp_timestamps
 echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
-
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
-
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
 echo "300000" > /proc/sys/net/core/netdev_max_backlog
-
 echo "131072" > /proc/sys/fs/file-max
 echo "done."
 
index 2ee232158f95dfe007b86f2bab7e2aa9921f48c6..eeb6aaadd660fa8c641bd2cf040a6fca72413f1c 100755 (executable)
@@ -18,17 +18,15 @@ echo "0" > /proc/sys/net/ipv4/tcp_timestamps
 echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
-
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
-
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
 echo "300000" > /proc/sys/net/core/netdev_max_backlog
-
 echo "131072" > /proc/sys/fs/file-max
 echo "done."
 
index a67facbb2f71606c3dab9634a3db7e57bf998925..319281385f5a4885c173fa16c48602b0de2e84df 100755 (executable)
@@ -18,17 +18,15 @@ echo "0" > /proc/sys/net/ipv4/tcp_timestamps
 echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
-
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
-
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
 echo "300000" > /proc/sys/net/core/netdev_max_backlog
-
 echo "131072" > /proc/sys/fs/file-max
 echo "done."
 
index 84d15439fee66cb64bf9436fdc20ceac0441ac42..2d64f199954355941def81c5ce8a20ab1aa45f32 100755 (executable)
@@ -18,17 +18,15 @@ echo "0" > /proc/sys/net/ipv4/tcp_timestamps
 echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
-
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
-
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
 echo "300000" > /proc/sys/net/core/netdev_max_backlog
-
 echo "131072" > /proc/sys/fs/file-max
 echo "done."
 
index 564833cb1b0a864a0b8c2cdd954980cfcbe0a52a..222ba309e693134293095a6956547be6feaeb92a 100755 (executable)
@@ -18,17 +18,15 @@ echo "0" > /proc/sys/net/ipv4/tcp_timestamps
 echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
-
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
-
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
 echo "300000" > /proc/sys/net/core/netdev_max_backlog
-
 echo "131072" > /proc/sys/fs/file-max
 echo "done."
 
@@ -60,6 +58,7 @@ echo "Exporting shares..."
 /sbin/exportfs -r -v
 
 echo -n "signal client to mount..."
+sleep 5
 echo "server ready" | /usr/bin/netcat -c 10.0.0.2 8000
 echo "done."
 
index 0cb489a9d12aed15eedd9565506b6eef1e5cd26a..9e68597e648199f1e117bf2a267c2271673bf8f9 100755 (executable)
@@ -18,17 +18,15 @@ echo "0" > /proc/sys/net/ipv4/tcp_timestamps
 echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
-
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
-
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
 echo "300000" > /proc/sys/net/core/netdev_max_backlog
-
 echo "131072" > /proc/sys/fs/file-max
 echo "done."
 
index 6931d9e53381fa9ed7c248d07be79f9f1beb5b61..f42d6045f64e768362a6f1bfc848ea097a3295b0 100644 (file)
@@ -18,19 +18,16 @@ echo "0" > /proc/sys/net/ipv4/tcp_timestamps
 echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
-
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
-
 echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
-
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
 echo "300000" > /proc/sys/net/core/netdev_max_backlog
-
 echo "131072" > /proc/sys/fs/file-max
 echo "done."
 
index 12e31696b30ca472a94439668476acf3ef91bbbf..e2d0a58d7a5b60349507b2c12f73d42990325f98 100755 (executable)
@@ -22,17 +22,15 @@ echo "0" > /proc/sys/net/ipv4/tcp_timestamps
 echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
-
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
-
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
 echo "300000" > /proc/sys/net/core/netdev_max_backlog
-
 echo "131072" > /proc/sys/fs/file-max
 echo "done."
 
index 7b9ea041932b77eb47d7bda5ab869b5dd17cfe45..c63cc93f000f814f7c7b5d6b401f3d0aca1712a7 100755 (executable)
@@ -18,18 +18,15 @@ echo "0" > /proc/sys/net/ipv4/tcp_timestamps
 echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
-
-echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max                                                                                
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
-                                                                                
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
 echo "300000" > /proc/sys/net/core/netdev_max_backlog
-                                                                                
 echo "131072" > /proc/sys/fs/file-max
 echo "done."
 
index 3feb7b5816db3427c167e1e27fa11c09362f9888..234514bd97667250d1b63672912692bdc6982250 100755 (executable)
@@ -15,7 +15,7 @@ echo -n "setting up network..."
 /sbin/ifconfig eth0:3 192.168.0.4 txqueuelen 1000
 /sbin/ifconfig eth0:4 192.168.0.5 txqueuelen 1000
 /sbin/ifconfig lo 127.0.0.1
-                                                                                
+
 echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
 echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
 echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
@@ -23,17 +23,15 @@ echo "0" > /proc/sys/net/ipv4/tcp_timestamps
 echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
-                                                                                
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
-                                                                                
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
 echo "300000" > /proc/sys/net/core/netdev_max_backlog
-                                                                                
 echo "131072" > /proc/sys/fs/file-max
 echo "done."