From owner-freebsd-net@FreeBSD.ORG Tue Mar 29 20:21:00 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 A15221065704 for ; Tue, 29 Mar 2011 20:21:00 +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 2557C8FC18 for ; Tue, 29 Mar 2011 20:20:59 +0000 (UTC) Received: by fxm11 with SMTP id 11so681272fxm.13 for ; Tue, 29 Mar 2011 13:20:59 -0700 (PDT) Received: by 10.223.14.137 with SMTP id g9mr290647faa.1.1301428540603; Tue, 29 Mar 2011 12:55:40 -0700 (PDT) Received: from [10.254.254.77] (ppp95-165-132-192.pppoe.spdop.ru [95.165.132.192]) by mx.google.com with ESMTPS id j12sm2123492fax.9.2011.03.29.12.55.38 (version=SSLv3 cipher=OTHER); Tue, 29 Mar 2011 12:55:39 -0700 (PDT) Message-ID: <4D923931.2070606@zonov.org> Date: Tue, 29 Mar 2011 23:55:29 +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: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 20:21:00 -0000 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