From owner-freebsd-net@FreeBSD.ORG Thu Feb 23 15:15:30 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D6371065679 for ; Thu, 23 Feb 2012 15:15:30 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 20FA98FC1C for ; Thu, 23 Feb 2012 15:15:29 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S0aOG-00020d-Ho for freebsd-net@freebsd.org; Thu, 23 Feb 2012 16:15:28 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Feb 2012 16:15:28 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Feb 2012 16:15:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-net@freebsd.org From: Ivan Voras Date: Thu, 23 Feb 2012 16:15:17 +0100 Lines: 47 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8EF65D37CDD7314FAF51F996" X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0) Gecko/20120213 Thunderbird/10.0 In-Reply-To: X-Enigmail-Version: 1.3.5 Cc: freebsd-stable@freebsd.org Subject: Re: nmbclusters: how do we want to fix this for 8.3 ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 15:15:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8EF65D37CDD7314FAF51F996 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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... >=20 > My test engineer has a system with 2 igb ports, and 2 10G ixgbe, this i= s > hardly heavy duty, and yet this > exceeds the default mbuf pool on the installed kernel (1024 + maxusers = * > 64). >=20 > 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. --------------enig8EF65D37CDD7314FAF51F996 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9GWAUACgkQldnAQVacBciLDwCfbvHhAZkIR4jhcXcTJsTuVrWx n8UAn0tEUI3BXCqIBwQ0ZiQ1q2qKHdOu =a5Lz -----END PGP SIGNATURE----- --------------enig8EF65D37CDD7314FAF51F996--