From owner-freebsd-current@FreeBSD.ORG Tue Nov 3 22:21:42 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E550F106566B for ; Tue, 3 Nov 2009 22:21:42 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.freebsd.org (Postfix) with ESMTP id 5E95C8FC1D for ; Tue, 3 Nov 2009 22:21:42 +0000 (UTC) Received: from mail-gw7.york.ac.uk (mail-gw7.york.ac.uk [144.32.129.30]) by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id nA3MLRc2022086; Tue, 3 Nov 2009 22:21:27 GMT Received: from ury.york.ac.uk ([144.32.108.81]) by mail-gw7.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1N5Rkl-00039r-P6; Tue, 03 Nov 2009 22:21:27 +0000 Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.14.3/8.14.3) with ESMTP id nA3MLReP081156; Tue, 3 Nov 2009 22:21:27 GMT (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.14.3/8.14.3/Submit) with ESMTP id nA3MLRC4081151; Tue, 3 Nov 2009 22:21:27 GMT (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: ury.york.ac.uk: gavin owned process doing -bs Date: Tue, 3 Nov 2009 22:21:27 +0000 (GMT) From: Gavin Atkinson X-X-Sender: gavin@ury.york.ac.uk To: Tom Judge In-Reply-To: <4AF06017.6000505@tomjudge.com> Message-ID: <20091103221739.E75071@ury.york.ac.uk> References: <200911030937.11619.pieter@degoeje.nl> <4AF05177.7030705@tomjudge.com> <4AF06017.6000505@tomjudge.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Cc: Pieter de Goeje , Weldon S Godfrey 3 , freebsd-current@freebsd.org, Ivan Voras Subject: Re: FreeBSD 8.0 - network stack crashes? 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: Tue, 03 Nov 2009 22:21:43 -0000 On Tue, 3 Nov 2009, Tom Judge wrote: > Tom Judge wrote: >> Weldon S Godfrey 3 wrote: >>> we are using onboard NICs on the Dell using the bce driver. We did try >>> several times to see if using an intel PCIexpress card using the em >>> driver, and we had the same symptoms. >>> >>> Could the bce driver have the same leak? >> >> The bce driver does not have a memory leak, it does however have a bug >> which causes memory fragmentation leading to denied mbuf allocation. >> >> There is a work around for this in current, you can get the patch like >> this: >> >> http://svn.freebsd.org/viewvc/base/head/ >> > That should be: > > svn diff -r 198319:198320 http://svn.freebsd.org/base/head > >> You need to put >> >> options BCE_JUMBO_HDRSPLIT >> >> In your kernel to enable the work arround. Unless I'm missing something, these seem like they may be totally different bugs. The symptoms that Weldon S Godfrey has show the number of "mbuf clusters in use" rising to the point at which the limit is reached, whereas the thread on -stable where BCE_JUMBO_HDRSPLIT is recommended has the symptom of "requests for 9k jumbo clusters denied" increasing and the mbuf clusters not being anywhere near to the maximum. So, I think there may be some confusion here. Gavin