From owner-freebsd-current@FreeBSD.ORG Wed May 4 07:58:39 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9158106564A for ; Wed, 4 May 2011 07:58:39 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-px0-f176.google.com (mail-px0-f176.google.com [209.85.212.176]) by mx1.freebsd.org (Postfix) with ESMTP id 5CA778FC08 for ; Wed, 4 May 2011 07:58:39 +0000 (UTC) Received: by pxi11 with SMTP id 11so628479pxi.35 for ; Wed, 04 May 2011 00:58:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.35.228 with SMTP id l4mr1264374pbj.5.1304495918994; Wed, 04 May 2011 00:58:38 -0700 (PDT) Received: by 10.68.40.4 with HTTP; Wed, 4 May 2011 00:58:38 -0700 (PDT) In-Reply-To: References: <4D94A354.9080903@sentex.net> <4DC07013.9070707@gmx.net> <4DC078BD.9080908@gmx.net> Date: Wed, 4 May 2011 09:58:38 +0200 Message-ID: From: Olivier Smedts To: Jack Vogel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD current mailing list , Michael Schmiedgen , Mike Tancsa Subject: Re: problems with em(4) since update to driver 7.2.2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2011 07:58:39 -0000 2011/5/4 Jack Vogel : > It has nothing to do with load, it has to do with the prerequisites to in= it > your interfaces. > The amount you need is fixed, it doesn't vary with load. Every RX descrip= tor > needs one, > so its simple math, number-of-interfaces X number-of-queues X size of the > ring. > > If you have other network interfaces beside Intel they also consume mbufs > remember. Only one network interface. # kldunload if_em.ko (the old one) # sysctl kern.ipc.nmbclusters=3D512000 (I also tried with lower and more meaningful values) # kldload ./if_em.ko (the new one) # dmesg em0: detached pci0: at device 25.0 (no driver attached) em0: port 0x2100-0x211f mem 0xf0000000-0xf001ffff,0xf0025000-0xf0025fff irq 19 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Ethernet address: d4:85:64:b2:aa:f5 em0: Could not setup receive structures em0: Could not setup receive structures What can we do to help you debug this ? --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas."