From owner-freebsd-net@FreeBSD.ORG Wed Mar 30 05:07:27 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 0E1B3106566B for ; Wed, 30 Mar 2011 05:07:27 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C963D8FC1B for ; Wed, 30 Mar 2011 05:07:26 +0000 (UTC) Received: by iyj12 with SMTP id 12so1125459iyj.13 for ; Tue, 29 Mar 2011 22:07:26 -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=ID60uSpyXtlDa9DzEMjI8t1DfunYNvqKwxpcJWRh4Vo=; b=WKaT36M66abOF1gbc478i3DiqQg+m95dE3fscrRp2DTGsIDP8G6rqhIUYv1ntAuDkv rr872LE+C0vf44ptPD+z3UsO6zVtJ7/UkfiytvN0N2Cq46anTY/NGFqyaoJpOeZqN9o3 GoulfOShmnzetTHmn4aFz8rFeSad8yL2I//4A= 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=tP7CbfRECi8l7WBXxQXV4GKzBiKg4hUqoV4RUHbBRqleTw9GsFvkCfWYdbiP8wvco5 4JYdDEvN0LNCr9avslBhF3xVCquhy9x6REKyASTKx/BcYJq0GbjkzV6VPVfjcrprJpjE T0P4i0L6KQpJpheYIE5TcV9ekoSnCO2A4xJiI= MIME-Version: 1.0 Received: by 10.42.1.70 with SMTP id 6mr623753icf.483.1301461646078; Tue, 29 Mar 2011 22:07:26 -0700 (PDT) Received: by 10.42.146.72 with HTTP; Tue, 29 Mar 2011 22:07:26 -0700 (PDT) In-Reply-To: <4D923931.2070606@zonov.org> References: <4D923931.2070606@zonov.org> Date: Wed, 30 Mar 2011 01:07:26 -0400 Message-ID: From: Arnaud Lacombe To: Andrey Zonov Content-Type: text/plain; charset=ISO-8859-1 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:07:27 -0000 Hi, On Tue, Mar 29, 2011 at 3: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... > ... or maintain internal changes to the driver to make it not that memory hungry/behave well under memory pressure, no matter what Jack say, especially on system where memory _is_ a constraint. I guess it will be the only solution to use em(4) in the Real World (ie. not some cozy Intel test lab). - Arnaud [0]: OOTH, I subscribed a few months ago :) > 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" >