Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 12:51:52 +0200
From:      "Claus Guttesen" <kometen@gmail.com>
To:        "Danny Braniss" <danny@cs.huji.ac.il>
Cc:        freebsd-net@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: tcp/udp performance
Message-ID:  <b41c75520608300351h4dcdfc4aucee010481de11b21@mail.gmail.com>
In-Reply-To: <E1GIMNJ-0000Dd-QH@cs1.cs.huji.ac.il>
References:  <E1GIMNJ-0000Dd-QH@cs1.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
> test 1: writing to a NetApp filer via NFS/UDP
>            FreeBSD              Linux
>                       MegaBytes/sec
>         1- Average: 18.48       32.61
>         2- Average: 15.69       35.72
>         3- Average: 16.61       29.69
> (interstingly, doing NFS/TCP instead of NFS/UDP shows an increase in speed of
> around 60% on FreeBSD but none on Linux)

I've always used tcp when doing nfs between my (former) FreeBSD 5.3
fileserver and my FreeBSD 6.x webservers. I increased the read- and
write-packetsize to 32768 and achieved the best performance using this
packetsize and tcp.

Using udp sometimes gave me the "server not responding", but never
appeared using tcp. So stick to tcp.

regards
Claus



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