Are there any hardcoded limits on octeon ethernet module?
Juli Mallett
jmallett at FreeBSD.org
Thu May 29 03:03:59 UTC 2014
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