dev.ix.0.queueX.interrupt_rate
Babak Farrokhi
farrokhi at FreeBSD.org
Tue Aug 25 04:24:28 UTC 2015
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 at 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 at freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
>>> To unsubscribe, send any mail to
>>> "freebsd-stable-unsubscribe at freebsd.org"
>>>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
> "freebsd-stable-unsubscribe at freebsd.org"
More information about the freebsd-stable
mailing list