Date: Fri, 16 Feb 1996 14:03:41 -0500 From: "Garrett A. Wollman" <wollman@lcs.mit.edu> To: Conny Larsson <conny@teligent.se> Cc: questions@freebsd.org Subject: TCP/IP performance - urgent! Message-ID: <9602161903.AA20823@halloran-eldar.lcs.mit.edu> In-Reply-To: <Pine.BSF.3.91.960216194105.9578A-100000@kvaser.teligent.se> References: <Pine.BSF.3.91.960216194105.9578A-100000@kvaser.teligent.se>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 16 Feb 1996 20:02:45 +0100 (MET), Conny Larsson <conny@teligent.se> said: > In short, I get substantial performance degradation using TCP/IP > stream sockets when the size of the data being sent/received is within > certain intervals. You are probably experiencing performance degradation due to interference between the mbuf and socket buffer layers. In /sys/kern/uipc_socket2.c, look for the line: sb->sb_mbmax = min(cc * 2, sb_max); ...and change the `* 2' factor to something more reasonable (like `* 8'). That should (if this is the source of your problem) cause transfers to run faster, at the expense of more memory usage. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9602161903.AA20823>