em0 NIC slow on 8.2-p1 amd64?

pete wright nomadlogic at gmail.com
Fri Jul 22 21:10:38 UTC 2011

On Fri, Jul 22, 2011 at 1:26 PM, Michael W. Lucas
<mwlucas at blackhelicopters.org> wrote:
> On Fri, Jul 22, 2011 at 04:15:11PM -0400, Mike Tancsa wrote:
>> On 7/22/2011 4:10 PM, Michael W. Lucas wrote:

> Will applications such as NFS cut bandwith usage that much?
I have seen similar performance degradations with NFS in the past.  I
have seem cases where throughput is hurt due to frequent getattr()
calls by the NFS client (esp noticable on Linux hosts traversing large
namespaces fwiw).

Some possible workarounds/tweaks:
1) increase rsize/wsize (32k for larger files for example) of client mount
2) if performance is only requirement UDP will increase performance
versus TCP with obvious downside of using UDP :)
3) jumbo frames (MTU=9000) should help in most cases if available

I've also done a bit of testing with NFSv4 - and I find performance
here can be a bit better than v3 due to better attribute caching
(decreasing amount of getattr() calls when traversing filesystems) and
other interesting bigs v4 has.  Granted moving from v3 to v4 is not

just my two bits :)

pete wright

More information about the freebsd-questions mailing list