Date: Mon, 23 Sep 2002 16:22:42 -0700 (PDT) From: Cheng Jin <chengjin@cs.caltech.edu> To: <freebsd-net@freebsd.org> Subject: TCP receiving buffer Message-ID: <Pine.LNX.4.33L0.0209231614040.19551-100000@fast2.cs.caltech.edu>
next in thread | raw e-mail | index | archive | help
Hi all, I am having a hard time setting TCP receiving buffer space to be large than 512K using setsockopt under FreeBSD 4.6.2-RELEASE #0. I have tried playing with various sysctl variables, but I can't seem to break the 512K barrier. I looked at my kernel config file and didn't really find any hard limit either. here are the systcl vars that I have tried. nmbclusters is small, but I should still be able to get about 12 MB of clusters. Any idea on what sockbuf_waste_factor is?? It was 8 by default. Do I have to reduce the number of sockets for this to work? kern.ipc.maxsockbuf: 4094305 kern.ipc.sockbuf_waste_factor: 4 kern.ipc.somaxconn: 512 kern.ipc.nmbclusters: 6656 kern.ipc.nmbufs: 26624 kern.ipc.maxsockets: 12328 net.inet.tcp.sendspace: 32768 net.inet.tcp.recvspace: 4094305 Please cc me a copy when you reply. Thank you very much, Cheng To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33L0.0209231614040.19551-100000>