Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 2010 07:50:34 -0700
From:      "Mahlon E. Smith" <mahlon@martini.nu>
To:        Pyun YongHyeon <pyunyh@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Network memory allocation failures
Message-ID:  <20100908145034.GC27923@martini.nu>
In-Reply-To: <20100908002917.GO1439@michelle.cdnetworks.com>
References:  <20100907210813.GI49065@martini.nu> <20100907222403.GA18595@icarus.home.lan> <20100907233257.GA94092@martini.nu> <20100908002917.GO1439@michelle.cdnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--rQ2U398070+RC21q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Sep 07, 2010, Pyun YongHyeon wrote:
>=20
> [...]
>=20
> You may see more detailed MAC statistics if controller saw some kind
> of memory related failure from the output of "sysctl dev.bce.0".

Snagged that output immediately after an allocation error.  I don't see
anything "bad" here, but sending to the list for more eyes.

    obb# scp holp:/usr/local/tmp/testfile .
    testfile                    11% 1157MB  28.5MB/s   05:18 ETA
    Write failed: Cannot allocate memory
    lost connection

    obb# sysctl dev.bce.0 | less
    dev.bce.0.%desc: Broadcom NetXtreme II BCM5709 1000Base-T (C0)
    dev.bce.0.%driver: bce
    dev.bce.0.%location: slot=3D0 function=3D0
    dev.bce.0.%pnpinfo: vendor=3D0x14e4 device=3D0x1639 subvendor=3D0x1028 =
subdevice=3D0x02d4 class=3D0x020000
    dev.bce.0.%parent: pci1
    dev.bce.0.l2fhdr_error_count: 0
    dev.bce.0.mbuf_alloc_failed_count: 0
    dev.bce.0.fragmented_mbuf_count: 0
    dev.bce.0.dma_map_addr_rx_failed_count: 0
    dev.bce.0.dma_map_addr_tx_failed_count: 0
    dev.bce.0.unexpected_attention_count: 0
    dev.bce.0.stat_IfHcInOctets: 9574840018
    dev.bce.0.stat_IfHCInBadOctets: 33793
    dev.bce.0.stat_IfHCOutOctets: 5227554926
    dev.bce.0.stat_IfHCOutBadOctets: 0
    dev.bce.0.stat_IfHCInUcastPkts: 13315747
    dev.bce.0.stat_IfHCInMulticastPkts: 1677373
    dev.bce.0.stat_IfHCInBroadcastPkts: 3170095
    dev.bce.0.stat_IfHCOutUcastPkts: 14516907
    dev.bce.0.stat_IfHCOutMulticastPkts: 3799
    dev.bce.0.stat_IfHCOutBroadcastPkts: 2864
    dev.bce.0.stat_emac_tx_stat_dot3statsinternalmactransmiterrors: 0
    dev.bce.0.stat_Dot3StatsCarrierSenseErrors: 0
    dev.bce.0.stat_Dot3StatsFCSErrors: 0
    dev.bce.0.stat_Dot3StatsAlignmentErrors: 0
    dev.bce.0.stat_Dot3StatsSingleCollisionFrames: 0
    dev.bce.0.stat_Dot3StatsMultipleCollisionFrames: 0
    dev.bce.0.stat_Dot3StatsDeferredTransmissions: 0
    dev.bce.0.stat_Dot3StatsExcessiveCollisions: 0
    dev.bce.0.stat_Dot3StatsLateCollisions: 0
    dev.bce.0.stat_EtherStatsCollisions: 0
    dev.bce.0.stat_EtherStatsFragments: 0
    dev.bce.0.stat_EtherStatsJabbers: 0
    dev.bce.0.stat_EtherStatsUndersizePkts: 0
    dev.bce.0.stat_EtherStatsOversizePkts: 0
    dev.bce.0.stat_EtherStatsPktsRx64Octets: 1837825
    dev.bce.0.stat_EtherStatsPktsRx65Octetsto127Octets: 3654565
    dev.bce.0.stat_EtherStatsPktsRx128Octetsto255Octets: 4448594
    dev.bce.0.stat_EtherStatsPktsRx256Octetsto511Octets: 3353660
    dev.bce.0.stat_EtherStatsPktsRx512Octetsto1023Octets: 516080
    dev.bce.0.stat_EtherStatsPktsRx1024Octetsto1522Octets: 4352491
    dev.bce.0.stat_EtherStatsPktsRx1523Octetsto9022Octets: 0
    dev.bce.0.stat_EtherStatsPktsTx64Octets: 74155
    dev.bce.0.stat_EtherStatsPktsTx65Octetsto127Octets: 5516618
    dev.bce.0.stat_EtherStatsPktsTx128Octetsto255Octets: 1709976
    dev.bce.0.stat_EtherStatsPktsTx256Octetsto511Octets: 5174458
    dev.bce.0.stat_EtherStatsPktsTx512Octetsto1023Octets: 202881
    dev.bce.0.stat_EtherStatsPktsTx1024Octetsto1522Octets: 1845482
    dev.bce.0.stat_EtherStatsPktsTx1523Octetsto9022Octets: 0
    dev.bce.0.stat_XonPauseFramesReceived: 0
    dev.bce.0.stat_XoffPauseFramesReceived: 0
    dev.bce.0.stat_OutXonSent: 0
    dev.bce.0.stat_OutXoffSent: 0
    dev.bce.0.stat_FlowControlDone: 0
    dev.bce.0.stat_MacControlFramesReceived: 0
    dev.bce.0.stat_XoffStateEntered: 0
    dev.bce.0.stat_IfInFramesL2FilterDiscards: 238
    dev.bce.0.stat_IfInRuleCheckerDiscards: 0
    dev.bce.0.stat_IfInFTQDiscards: 0
    dev.bce.0.stat_IfInMBUFDiscards: 0
    dev.bce.0.stat_IfInRuleCheckerP4Hit: 4843765
    dev.bce.0.stat_CatchupInRuleCheckerDiscards: 0
    dev.bce.0.stat_CatchupInFTQDiscards: 0
    dev.bce.0.stat_CatchupInMBUFDiscards: 0
    dev.bce.0.stat_CatchupInRuleCheckerP4Hit: 0
    dev.bce.0.com_no_buffers: 0

--
Mahlon E. Smith =20
http://www.martini.nu/contact.html


--rQ2U398070+RC21q
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----

iD8DBQFMh6K61bsjBDapbeMRAlyNAJ0S2gXMjPFn88nhrxWSSBWrIBEnpwCgp2oz
pbcKtrR0e9bXchzGHkUsENk=
=Hyln
-----END PGP SIGNATURE-----

--rQ2U398070+RC21q--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100908145034.GC27923>