nmbclusters: how do we want to fix this for 8.3 ?

Ivan Voras ivoras at freebsd.org
Thu Feb 23 15:15:30 UTC 2012


On 22/02/2012 20:56, Jack Vogel wrote:
> Using igb and/or ixgbe on a reasonably powered server requires 1K mbuf
> clusters per MSIX vector,
> that's how many are in a ring. Either driver will configure 8 queues on a
> system with that many or more
> cores, so 8K clusters per port...
> 
> My test engineer has a system with 2 igb ports, and 2 10G ixgbe, this is
> hardly heavy duty, and yet this
> exceeds the default mbuf pool on the installed kernel (1024 + maxusers *
> 64).
> 
> Now, this can be immediately fixed by a sysadmin after that first boot, but
> it does result in the second
> driver that gets started to complain about inadequate buffers.

Does the driver complain loudly enough and does it print out what value
it needs? I think that, second to removing the limit somehow, the best
option is that the boot process should print out what the manual
configuration should be, and possibly why should it be like that.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20120223/fb39ed9b/signature.pgp


More information about the freebsd-net mailing list