Are there any hardcoded limits on octeon ethernet module?
Cesar Fazan
cesar.fazan at gmail.com
Thu May 29 16:24:56 UTC 2014
Hello Juli,
Thanks for the explanation. Unfortunately that fix is beyond my knowledge.
While I have suggested to Ubiquiti sponsor some fixes for FreeBSD, I don't
think they will.
So I guess we have to wait for someone with spare time and patient to do it
...
Thanks.
Cesar
On Wed, May 28, 2014 at 11:56 PM, Juli Mallett <jmallett at freebsd.org> wrote:
> Cesar,
>
> On Wed, May 28, 2014 at 7:47 PM, Cesar Fazan <cesar.fazan at gmail.com>wrote:
>
>> Hi,
>>
>> While testing the network performance of FreeBSD 10 running on EdgeRouter
>> Lite I noticed that kernel{octe taskq_0/1} can't use more than 50% of the
>> cpu.
>>
>> Are there any hardcoded limiting this?
>>
>
> There's no hard-coded limits, but there are some deficiencies in the
> current driver, particularly with regard to its ability to moderate
> interrupts and process packets in batches. Linux performs better because
> of NAPI, which is more suited to the kind of batch processing that Octeon
> wants. FreeBSD's DEVICE_POLLING would be better, but the committed driver
> lacks support for it, though I can probably dig up some old patches I did
> as a proof-of-concept for it. The right fix is for someone with a lot of
> patience to get interrupt moderation working, and then to handle batch
> processing correctly. There's no tunables or anything you should work with
> here, it's a matter of needed changes to the kernel driver.
>
> Thanks,
> Juli.
>
More information about the freebsd-mips
mailing list