Poor NFS performance after recent update

Jeremy Chadwick koitsu at FreeBSD.org
Fri Dec 15 18:33:41 PST 2006


On Sat, Dec 16, 2006 at 02:21:53AM +0000, Kimi Ostro wrote:
> Okay, this is getting stranger. transferring data between 8 machines
> on my network which are all running FreeBSD as having this problem,
> yet I cans download iso file off the internet at over 100KB/s.

Try transfers in different directions.  Example:

root at machineAA$ scp -p root at machineBB:/dev/urandom /tmp/urandom
root at machineAA$ scp -p /dev/urandom root at machineBB:/tmp/urandom

Also try the same from machineBB:

root at machineBB$ scp -p root at machineAA:/dev/urandom /tmp/urandom
root at machineBB$ scp -p /dev/urandom root at machineAA:/tmp/urandom

Do you see slow LAN transfer speeds when only receiving data vs.
sending data?  If so, chances are it's a duplex problem, and you
should either adjust some settings in ifconfig_fxp0 in rc.conf to
try and work around it (try forcing media 100baseTX mediaopt
full-duplex rather than using autonegotiate), or try a different
switch.

-- 
| Jeremy Chadwick                                 jdc at parodius.com |
| Parodius Networking                        http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list