Date: Fri, 12 Jan 2007 12:36:44 -0500 From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= <lists@wm-access.no> To: Patrick Proniewski <patpro@patpro.net> Cc: freebsd-performance@freebsd.org, "R.B.Riddick" <arne_woerner@yahoo.com> Subject: Re: network perf : em driver ? Message-ID: <45A7C72C.6080404@wm-access.no> In-Reply-To: <9E3FD55C-FA00-4909-8A52-AA9F46F9BE65@patpro.net> References: <379658.99357.qm@web30309.mail.mud.yahoo.com> <9E3FD55C-FA00-4909-8A52-AA9F46F9BE65@patpro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Patrick Proniewski wrote: > On 12 janv. 07, at 11:45, R. B. Riddick wrote: >=20 >> --- Patrick Proniewski <patpro@patpro.net> wrote: >>> I'll give FTP a try, but I would like the network to be fast for >>> every protocols. I'm planning to share data using NFS, WebDAV, or SMB= >>> (and scp occasionally), but I've still to choose and configure >>> appropriate servers. >>> >> We had that problem before: Some HTTP server implementations just dont= >> bring >> it... :-) thttpd is quite efficient, I have heard... >=20 > apache (2.2) is not supposed to be so inefficient :/ But you are right,= > I might need to try a lighter server. >=20 >> You can try >> 1. src/tools/tools/netrate/netblast >> 2. increase MTU (ifconfig em0 mtu 65536 or so; never tried that myself= ) >> 3. ports/benchmarks/tcpblast >> 4. build something with nc: >> server: nc -l 1234 > /dev/null >> client: dd if=3D/dev/zero bs=3D1m | nc serverIP 1234 >> which will eliminate disk latency... >=20 >=20 > I'll try this ASAP. > thank you for the tips. >=20 Maybe i misunderstood something but i think 6.2 has some changes done to how it identifies local networks and how that affects inflight. Try disabling tcp inflight for these tests. Also SACK seems to affect the local network performance. Also try: sysctl net.inet.tcp.delayedack=3D0 --=20 Sten Daniel S=F8rsdal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45A7C72C.6080404>