Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Mar 2012 12:50:14 +0700
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        pyunyh@gmail.com
Cc:        marius@freebsd.org, yongari@freebsd.org, "net@freebsd.org" <net@freebsd.org>
Subject:   Re: suboptimal bge(4) BCM5704 performance in RELENG_8
Message-ID:  <4F584896.5010807@rdtc.ru>
In-Reply-To: <20120308190628.GB13138@michelle.cdnetworks.com>
References:  <4F5608EA.6080705@rdtc.ru>	<20120307202914.GB9436@michelle.cdnetworks.com>	<4F571870.3090902@rdtc.ru>	<20120308034345.GD9436@michelle.cdnetworks.com>	<4F578FE1.1000808@rdtc.ru> <20120308190628.GB13138@michelle.cdnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
09.03.2012 02:06, YongHyeon PYUN пишет:
> On Wed, Mar 07, 2012 at 11:42:09PM +0700, Eugene Grosbein wrote:
>> 08.03.2012 10:43, YongHyeon PYUN пишет:
>>
>>>>> Show me the output of "sysctl dev.bge.0.stats".
>>>>
>>>> # sysctl dev.bge.0.stats
>>>> dev.bge.0.stats.FramesDroppedDueToFilters: 0
>>>> dev.bge.0.stats.DmaWriteQueueFull: 84072
>>>> dev.bge.0.stats.DmaWriteHighPriQueueFull: 0
>>>> dev.bge.0.stats.NoMoreRxBDs: 0
>>>> dev.bge.0.stats.InputDiscards: 0
>>>> dev.bge.0.stats.InputErrors: 30
>>>> dev.bge.0.stats.RecvThresholdHit: 745400662
>>>> dev.bge.0.stats.DmaReadQueueFull: 2020586592
>>>> dev.bge.0.stats.DmaReadHighPriQueueFull: 0
>>>> dev.bge.0.stats.SendDataCompQueueFull: 0
>>>> dev.bge.0.stats.RingSetSendProdIndex: 2832885493
>>>> dev.bge.0.stats.RingStatusUpdate: 899990835
>>>> dev.bge.0.stats.Interrupts: 899990835
>>>> dev.bge.0.stats.AvoidedInterrupts: 0
>>>> dev.bge.0.stats.SendThresholdHit: 0
>>>> dev.bge.0.stats.rx.ifHCInOctets: 491268800
>>>> dev.bge.0.stats.rx.Fragments: 234
>>>> dev.bge.0.stats.rx.UnicastPkts: 1977202324
>>>> dev.bge.0.stats.rx.MulticastPkts: 0
>>>> dev.bge.0.stats.rx.FCSErrors: 341
>>>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> You have multiple FCS and Input errors. Check signal
>>> quality(i.e. UTP cable).

Btw, I still think these errors are pretty seldom and cannot explain
why I can't get full output gigabit speed. And what do these
DmaWriteQueueFull/DmaReadQueueFull mean? Will it help to increase
interface FIFO queue to eliminate output drops?

Eugene Grosbein



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