Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 2010 01:44:09 -0400
From:      rihad@mail.ru
To:        freebsd-stable@freebsd.org
Subject:   Re: Re: em driver input errors
Message-ID:  <6852241.21274507049390.JavaMail.root@wombat>
In-Reply-To: <20090806125454.07fe563c.stas@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-- Stanislav Sedov wrote : 
On Wed, 5 Aug 2009 00:30:20 -0700 (PDT)
alexpalias-bsdstable@yaho... mentioned:

>> dev.em.0.rx_processing_limit=300
>> dev.em.1.rx_processing_limit=300
>> dev.em.2.rx_processing_limit=300
>> dev.em.3.rx_processing_limit=300

> This tunables only affects polling mode.  Do you use polling with this
> adapters or just standard interrupt-based mode?

Why? In if_em.c, em_rxeof() is used both in legacy polling and in fast-interrupts / MSIX interrupts modes.
I have the same problem of many Ierrs on input on em0 at a load of 500-600 mbps, and increasing rx_processing_limit (or setting it to -1) doesn't help at all.

em0: Receive No Buffers = 4442943
em0: RX overruns = 83367

Next thing I'll try will be hw.em.rxd=4096.

I don't think polling would help as it is not the interrupt load causing the drops (as evidenced by top -HS), but rather insufficiently large input buffers.

--
This message was sent on behalf of rihad@mail.ru at openSubscriber.com
http://www.opensubscriber.com/message/freebsd-stable@freebsd.org/12647494.html



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