From owner-freebsd-net@FreeBSD.ORG Wed Mar 30 05:58:16 2011 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 BA0791065675 for ; Wed, 30 Mar 2011 05:58:16 +0000 (UTC) (envelope-from andrey@zonov.org) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 20E8A8FC18 for ; Wed, 30 Mar 2011 05:58:15 +0000 (UTC) Received: by fxm11 with SMTP id 11so1018512fxm.13 for ; Tue, 29 Mar 2011 22:58:15 -0700 (PDT) Received: by 10.223.17.76 with SMTP id r12mr711616faa.142.1301464694753; Tue, 29 Mar 2011 22:58:14 -0700 (PDT) Received: from [10.254.254.77] (ppp95-165-142-247.pppoe.spdop.ru [95.165.142.247]) by mx.google.com with ESMTPS id n1sm2222369fam.40.2011.03.29.22.58.13 (version=SSLv3 cipher=OTHER); Tue, 29 Mar 2011 22:58:13 -0700 (PDT) Message-ID: <4D92C673.2080107@zonov.org> Date: Wed, 30 Mar 2011 09:58:11 +0400 From: Andrey Zonov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Jack Vogel References: <4D923931.2070606@zonov.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org 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: Wed, 30 Mar 2011 05:58:16 -0000 Hi, 9k jumbos is ubiquitous now. I believe we use 9k jumbos for last four years or more. You've got unworkable system after upgrade from 8.1 to 8.2 and documentation doesn't help here. It isn't a good way is made driver (or system) which doesn't work with jumbo by default. My point is if you're using machine with 8 CPUs than maxusers/clusters/9k mbufs should have been increased by system, because on this machine minimum 2Gb memory is available. -- Andrey Zonov 30.03.2011 1:55, Jack Vogel ?????: > 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 > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to > "freebsd-net-unsubscribe@freebsd.org > " > >