summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 75e1590..07108d2 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -316,6 +316,15 @@
mwexec("sysctl net.inet.tcp.recvspace=4096");
mwexec("sysctl net.inet.tcp.sendspace=4096");
}
+
+ /* if we are operating at 1000 then increase timeouts.
+ this was never accounted for after moving to 1000 hz */
+ $kern_hz = `sysctl kern.clockrate | awk '{ print $5 }' | cut -d"," -f1`;
+ $kern_hz = trim($kern_hz, "\r\n");
+ if($kern_hz == "1000") {
+ mwexec("sysctl net.inet.tcp.rexmit_min=30");
+ mwexec("sysctl net.inet.tcp.rexmit_min=30");
+ }
upnp_start();
OpenPOWER on IntegriCloud