From owner-freebsd-net@FreeBSD.ORG Tue Mar 29 23:34:06 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 4D8D1106564A for ; Tue, 29 Mar 2011 23:34:06 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-5.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id D83E4150259; Tue, 29 Mar 2011 23:34:05 +0000 (UTC) Message-ID: <4D926C6D.7040308@FreeBSD.org> Date: Tue, 29 Mar 2011 16:34:05 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110319 Thunderbird/3.1.9 MIME-Version: 1.0 To: Jack Vogel References: <4D923931.2070606@zonov.org> In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Andrey Zonov Subject: Re: igb(4) won't start with "igb0: Could not setup receive structures" 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: Tue, 29 Mar 2011 23:34:06 -0000 It would probably be useful to document those tunables in the man page. It already has good sections for other tunables, so adding them should be easy. Doug On 03/29/2011 14:55, Jack Vogel wrote: > Our validation group has a default postinstall process, every installed > system gets those changes, > and these mbuf pool sizes are in that set of changes. While I'm not opposed > to system default settings > changing its usually necessary to have local sys changes anyway, after all > you don't get 9K jumbos > without manually specifying them as well :) > > Regards, > > Jack > > > On Tue, Mar 29, 2011 at 12:55 PM, Andrey Zonov wrote: > >> Hi, >> >> New igb driver (and I think em too) is required too much 9k mbufs when it's >> been configured with mtu = 9000. On machine with 8 CPUs, driver is required >> 8192 9k mbufs, but by default there is only 6400 and network won't start. In >> previous versions for big mtu it was used 4k mbufs, by default there is >> 12800 and all worked fine. >> >> Maybe it's time to think about increasing default >> kern.maxusers/kern.ipc.nmbclusters? or use mp_ncpus for calculation these >> values? or just increase amount of >> mbuf_cluster/mbuf_jumbo_page/mbuf_jumbo_9k from that driver... >> >> I just want igb to work out-of-the-box. >> >> -- >> Andrey Zonov -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/