Date: Fri, 17 Oct 2008 17:21:33 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Willem Jan Withagen <wjw@digiware.nl> Cc: current@freebsd.org Subject: Re: Freezing or stalling current system Message-ID: <20081018002133.GA36113@troutmask.apl.washington.edu> In-Reply-To: <48F90FC1.3040503@digiware.nl> References: <48F90FC1.3040503@digiware.nl>
index | next in thread | previous in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081018002133.GA36113>
