Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2015 08:54:23 +0430
From:      "Babak Farrokhi" <farrokhi@FreeBSD.org>
To:        "Slawa Olhovchenkov" <slw@zxy.spb.ru>
Cc:        stable@freebsd.org
Subject:   Re: dev.ix.0.queueX.interrupt_rate
Message-ID:  <E0C19267-DCDB-432D-881F-DE15D5B8127F@FreeBSD.org>
In-Reply-To: <20150824221758.GF21849@zxy.spb.ru>
References:  <20150824192926.GL3158@zxy.spb.ru> <CA%2Bb0zg9YpHbx0fMtyF5JoYtLL9BL5AsFYyTUGOCf2RcMt-KN8g@mail.gmail.com> <20150824221758.GF21849@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
You may want to disable interrupt moderation and manually configure 
interrupt rate per queue if you have high pps. I have had a lot of 
headaches with ix driver and fixed it by manually setting interrupt 
rates.

sysctl hw.ix.enable_aim=0


—
Babak

On 25 Aug 2015, at 2:47, Slawa Olhovchenkov wrote:

> On Mon, Aug 24, 2015 at 10:13:05PM +0000, Eric Joyner wrote:
>
>> What's strange about it? The interrupt rate only changes if traffic 
>> goes
>> out on the queue, and so if whatever applications you use don't 
>> utilize the
>> core the queue is bound to, then the interrupt rate won't change.
>>
>> Or are you confused about the units? I know ixl(4) uses usecs instead 
>> of
>> Hz, so ix(4) should probably change to use that at some point.
>
> By default `hw.ix.max_interrupt_rate: 31250` and I confused about some
> queue exceed this.
>
> And I can set dev.ix.0.queue4.interrupt_rate to 31250 (by sysctl) and
> this changes accepted.
>
> I am to be out of it.
>
>> On Mon, Aug 24, 2015, 12:29 PM Slawa Olhovchenkov <slw@zxy.spb.ru> 
>> wrote:
>>
>>> I have '82599ES 10-Gigabit SFI/SFP+ Network Connection' and see
>>> strange:
>>>
>>> # sysctl dev.ix.0 | grep interrupt_rate
>>> dev.ix.0.queue7.interrupt_rate: 500000
>>> dev.ix.0.queue6.interrupt_rate: 500000
>>> dev.ix.0.queue5.interrupt_rate: 31250
>>> dev.ix.0.queue4.interrupt_rate: 31250
>>> dev.ix.0.queue3.interrupt_rate: 31250
>>> dev.ix.0.queue2.interrupt_rate: 500000
>>> dev.ix.0.queue1.interrupt_rate: 500000
>>> dev.ix.0.queue0.interrupt_rate: 500000
>>>
>>> Last -stable, no tuning. Is this normal?
>>>
>>> _______________________________________________
>>> freebsd-stable@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
>>> To unsubscribe, send any mail to 
>>> "freebsd-stable-unsubscribe@freebsd.org"
>>>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to 
> "freebsd-stable-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0C19267-DCDB-432D-881F-DE15D5B8127F>