From owner-freebsd-current@FreeBSD.ORG Sat Oct 18 00:21:38 2008 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 5C2121065697 for ; Sat, 18 Oct 2008 00:21:38 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 3EC288FC0C for ; Sat, 18 Oct 2008 00:21:38 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.3/8.14.3) with ESMTP id m9I0LX36036134; Fri, 17 Oct 2008 17:21:33 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.3/8.14.3/Submit) id m9I0LX3O036133; Fri, 17 Oct 2008 17:21:33 -0700 (PDT) (envelope-from sgk) Date: Fri, 17 Oct 2008 17:21:33 -0700 From: Steve Kargl To: Willem Jan Withagen Message-ID: <20081018002133.GA36113@troutmask.apl.washington.edu> References: <48F90FC1.3040503@digiware.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F90FC1.3040503@digiware.nl> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: Freezing or stalling current system 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: Sat, 18 Oct 2008 00:21:38 -0000 On Sat, Oct 18, 2008 at 12:20:49AM +0200, Willem Jan Withagen wrote: > > I'm sort of assuming that the bge0: timeouts and coalesced links are due > to the freezing. > Does the following help? -- Steve Index: bge/if_bge.c =================================================================== RCS file: /home/ncvs/src/sys/dev/bge/if_bge.c,v retrieving revision 1.214 diff -c -p -r1.214 if_bge.c *** bge/if_bge.c 14 Oct 2008 20:28:42 -0000 1.214 --- bge/if_bge.c 18 Oct 2008 00:19:30 -0000 *************** bge_attach(device_t dev) *** 2581,2589 **** /* Set default tuneable values. */ sc->bge_stat_ticks = BGE_TICKS_PER_SEC; sc->bge_rx_coal_ticks = 150; ! sc->bge_tx_coal_ticks = 150; ! sc->bge_rx_max_coal_bds = 10; ! sc->bge_tx_max_coal_bds = 10; /* Set up ifnet structure */ ifp = sc->bge_ifp = if_alloc(IFT_ETHER); --- 2581,2589 ---- /* Set default tuneable values. */ sc->bge_stat_ticks = BGE_TICKS_PER_SEC; sc->bge_rx_coal_ticks = 150; ! sc->bge_tx_coal_ticks = 1500000; ! sc->bge_rx_max_coal_bds = 32; ! sc->bge_tx_max_coal_bds = 300; /* Set up ifnet structure */ ifp = sc->bge_ifp = if_alloc(IFT_ETHER); Index: bge/if_bgereg.h =================================================================== RCS file: /home/ncvs/src/sys/dev/bge/if_bgereg.h,v retrieving revision 1.81 diff -c -p -r1.81 if_bgereg.h *** bge/if_bgereg.h 14 Oct 2008 20:28:42 -0000 1.81 --- bge/if_bgereg.h 18 Oct 2008 00:19:30 -0000 *************** struct bge_gib { *** 2414,2420 **** * allocated for the standard, mini and jumbo receive rings. */ ! #define BGE_SSLOTS 256 #define BGE_MSLOTS 256 #define BGE_JSLOTS 384 --- 2414,2420 ---- * allocated for the standard, mini and jumbo receive rings. */ ! #define BGE_SSLOTS 512 #define BGE_MSLOTS 256 #define BGE_JSLOTS 384