From owner-freebsd-net@FreeBSD.ORG Fri Nov 21 16:22:36 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A7DBAAED for ; Fri, 21 Nov 2014 16:22:36 +0000 (UTC) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3949C783 for ; Fri, 21 Nov 2014 16:22:36 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id l15so9442803wiw.10 for ; Fri, 21 Nov 2014 08:22:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dSWxNvIJMZQ20mtMtp9k3tEhrSMAUp2o7nIU7+fLSus=; b=R+yUxHXpMCk2L9/1QWyaXnsrRAKZ3I87jnbyXQZtHvIMb01BAl1+3ypQBInhSovZT1 cfG6JK8Q+FgrJTxm1Fsm6E0XzIYgpAKcu4jHjFSjX9Ky4qtDqUw0WYpJMxnhzKMA4GUV 8vjWKmqOAIMPcW0DWLTCDsJD8fGiQ9YBpEMvjH2zRvffBwIDfK0bz9B0XWJzGSm4Xc46 TQjGi21K1vPSqf4pQy49N0B1xQiT9kFZxGH4jGXt2EgvRTNHT9nnPRSrvCRlkl14hzV8 +PuwUaTOV16iA6TD9/uoUdgmZiG4gDI5Cs6vPOO1nBCrt+0xY3oePF4pVMTxrICPz/sS Sn8Q== MIME-Version: 1.0 X-Received: by 10.180.92.234 with SMTP id cp10mr16020794wib.16.1416586951731; Fri, 21 Nov 2014 08:22:31 -0800 (PST) Received: by 10.194.76.34 with HTTP; Fri, 21 Nov 2014 08:22:31 -0800 (PST) In-Reply-To: <20141121114852.8b7d9a6c071c3e0799d5f30c@aei.mpg.de> References: <20141121114852.8b7d9a6c071c3e0799d5f30c@aei.mpg.de> Date: Fri, 21 Nov 2014 08:22:31 -0800 Message-ID: Subject: Re: igb Could not setup receive structures (again) From: Jack Vogel To: =?ISO-8859-1?Q?Gerrit_K=FChn?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 16:22:36 -0000 The message is pretty straightforward, its only cause is the inability of the driver to get the necessary clusters to populate the RX rings. After you get the error do a `netstat -m` and see what the state of the 9K jumbo pool is, for that is the size you would be using. Depending on the specific device type you may have up to 8 rings per interface, and with a ring size of 1K... It does seem like you should have enough, but maybe something else in your system is using the pool? As I said, look at netstat, it should giv= e you the truth, and then adjust the allocated size to fit your needs. Jack On Fri, Nov 21, 2014 at 2:48 AM, Gerrit K=FChn wrote: > Hi all, > > I get the error message above when trying to go for jumbo frames (mtu > 9000) on a system here. I found a lot of comments on this, but they all > state that this is due to a too low setting for mbufs in FreeBSD8/9 > settings. > However, I have 10-stable here, and the settings look rather high to me: > > kern.ipc.nmbclusters: 1014856 > kern.ipc.maxmbufmem: 8313700352 > kern.ipc.nmbufs: 6495090 > kern.ipc.nmbjumbop: 507428 > kern.ipc.nmbjumbo9: 451047 > kern.ipc.nmbjumbo16: 338284 > > FreeBSD mclane 10.0-STABLE FreeBSD 10.0-STABLE #5 r261710: Mon Feb 10 > 16:55:29 CET 2014 root@mclane.rt.aei.uni-hannover.de:/usr/obj/usr/src/sys= /GENERIC > amd64 > > > Is this still too low? I have a 6core machine with 6 igb interfaces, and = I > cannot even get one of these set to mtu 9000 without getting "Could not > setup receive structures". > > > cu > Gerrit > _______________________________________________ > 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" >