[Intel-wired-lan] [next-queue 13/17] fm10k: Update adaptive ITR algorithm
Keller, Jacob E
jacob.e.keller at intel.com
Thu Oct 15 16:32:56 UTC 2015
> -----Original Message-----
> From: Alexander Duyck [mailto:alexander.duyck at gmail.com]
> Sent: Wednesday, October 14, 2015 7:17 PM
> To: Keller, Jacob E; intel-wired-lan at lists.osuosl.org
> Subject: Re: [Intel-wired-lan] [next-queue 13/17] fm10k: Update adaptive
> ITR algorithm
>
> >
> > So this is calculating the inverse ints/sec? where do we end up
> > converting this to microseconds. Hmm.
>
> The value generated at the end is in microseconds. Basically this would
> replace all the code that is located before your shift at the end that
> uses the PCIe factor + 8. So everything from the size > 3000 check down
> to the adjustments for the other sizes.
>
> I kind of always hated the algorithms that try to work everything out in
> terms of interrupts and then have to flip it over and into microseconds.
> This is just working with the raw microseconds like the fm10k driver
> currently does.
>
Ok, that makes sense. I figured that out a few minutes after sending the last email while I was on my way home. I'll try to code this up and see how it goes.
Regards,
Jake
More information about the Intel-wired-lan
mailing list