Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2007 07:28:28 -0600
From:      Rich Murphey <Rich@WhiteOakLabs.com>
To:        freebsd-performance@freebsd.org
Subject:   Re: network perf : em driver ?
Message-ID:  <45A78CFC.1080607@WhiteOakLabs.com>
In-Reply-To: <379658.99357.qm@web30309.mail.mud.yahoo.com>
References:  <379658.99357.qm@web30309.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
R. B. Riddick wrote:
> --- 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...
>
> 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=/dev/zero bs=1m | nc serverIP 1234
> which will eliminate disk latency...
>
> -Arne
>   

lighttpd has good support for kqueue and sendfile, so depending
on whether the measurement will include lots of http connections
or static files, it may be worth considering.  It's feature set
and code size are somewhat larger than thttpd I believe.

Rich




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45A78CFC.1080607>