From owner-freebsd-net@FreeBSD.ORG Tue Mar 29 21:55:18 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 32F89106564A for ; Tue, 29 Mar 2011 21:55:18 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id D19928FC08 for ; Tue, 29 Mar 2011 21:55:17 +0000 (UTC) Received: by vxc34 with SMTP id 34so691178vxc.13 for ; Tue, 29 Mar 2011 14:55:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Y5YcENVCW8gAUdhOlaVGeyOot2ZAOrpO/m+H9w0AQFE=; b=ISViasphV0gZax7IklT0dcn4Vqp+HrZzkqc5pn5JzAYhSJfplHMtaGF5OSZnbDNkqg UG2dbDVX8YyJHJO1O8yPHFAqYx6+FvDFpRHwoRTNuXQhTY5Gt48mCOSGLuHchx8XGtOe hHEqtiORPyoSs9F4ZTGY+OUgIgQOACVgxB7CI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=d2J4AkeUfQDUyv3VxhQUH+sQ51TfIlPi6nTv1rJDhCNYIncFi8iE1LICOtPYjw3xfj cU6d04+7ZLJcMVbJQwDPbjLrr+cajtN8j2fq3heap5tD/Y2gQsMLqmw/V2du0257PbM0 VrV/im4FuxYKO7EiO0NdboYm+J74pN+wBPtME= MIME-Version: 1.0 Received: by 10.52.95.135 with SMTP id dk7mr533684vdb.93.1301435717065; Tue, 29 Mar 2011 14:55:17 -0700 (PDT) Received: by 10.52.167.6 with HTTP; Tue, 29 Mar 2011 14:55:17 -0700 (PDT) In-Reply-To: <4D923931.2070606@zonov.org> References: <4D923931.2070606@zonov.org> Date: Tue, 29 Mar 2011 14:55:17 -0700 Message-ID: From: Jack Vogel To: Andrey Zonov Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 29 Mar 2011 21:55:18 -0000 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" >