diff options
author | mohans <mohans@FreeBSD.org> | 2007-10-12 03:56:27 +0000 |
---|---|---|
committer | mohans <mohans@FreeBSD.org> | 2007-10-12 03:56:27 +0000 |
commit | 11057bb00f9f3b774ef74c31ebed91a17cb02a2b (patch) | |
tree | f34b01cf15801e9a776d59231a8e65de164c98d1 /sys/kern/uipc_sockbuf.c | |
parent | e279fe58cfce32d714c22d04c3909696223222a2 (diff) | |
download | FreeBSD-src-11057bb00f9f3b774ef74c31ebed91a17cb02a2b.zip FreeBSD-src-11057bb00f9f3b774ef74c31ebed91a17cb02a2b.tar.gz |
Set the NFS server sockbuf high watermarks to the system defaults
(up form 32KB). The low highwatermark setting caused UDP fullsock
request drops, throttling thruput greatly.
Reported by: Kris Kennaway
Approved by: re@ (Ken Smith)
Diffstat (limited to 'sys/kern/uipc_sockbuf.c')
-rw-r--r-- | sys/kern/uipc_sockbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_sockbuf.c b/sys/kern/uipc_sockbuf.c index 1b1e271..e1fc341 100644 --- a/sys/kern/uipc_sockbuf.c +++ b/sys/kern/uipc_sockbuf.c @@ -60,8 +60,8 @@ void (*aio_swake)(struct socket *, struct sockbuf *); */ u_long sb_max = SB_MAX; -static u_long sb_max_adj = - SB_MAX * MCLBYTES / (MSIZE + MCLBYTES); /* adjusted sb_max */ +u_long sb_max_adj = + SB_MAX * MCLBYTES / (MSIZE + MCLBYTES); /* adjusted sb_max */ static u_long sb_efficiency = 8; /* parameter for sbreserve() */ |