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 384Received on Fri Oct 17 2008 - 22:21:38 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:36 UTC