Terrible NFS performance under 9.2-RELEASE?
John-Mark Gurney
jmg at funkthat.com
Fri Jan 24 23:05:59 UTC 2014
Rick Macklem wrote this message on Fri, Jan 24, 2014 at 17:54 -0500:
> The largest jumbo packet supported by the generic mbuf code is 16K
> (or maybe 9K for 9.2). I have no idea if this matters or not.
This is only partly true. Our allocators only supports mbufs of
2k (standard size), 4k (page size), 9216 and 16184... If you allocate
a 9k or 16k mbuf, it is guaranteed that the data will be physically
contiguous so that cards that can't do scatter/gather DMA can handle
larger frames... But if the card can handle S/G DMA, they can send a
32KB packet made up of normal 2k clusters, or any other odd sized
mbufs...
There are only a couple drivers (and I plan on working to remove the
limit) that limit the size of MTU, but if the driver hardware supports
it, there is nothing in our stack preventing large, as in 64KB, MTU
use..
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-net
mailing list