Date: Thu, 29 May 2014 13:24:55 -0300 From: Cesar Fazan <cesar.fazan@gmail.com> To: Juli Mallett <jmallett@freebsd.org> Cc: "freebsd-mips@FreeBSD.org" <freebsd-mips@freebsd.org> Subject: Re: Are there any hardcoded limits on octeon ethernet module? Message-ID: <CA%2BzsmXdfZmX%2B5rcgS04F3htJ6=8WQLwXny8EOgd2nV3OM0jdQA@mail.gmail.com> In-Reply-To: <CACVs6=9s4AjJcPJ6eV8ZEE0AOL2tp4nvYqn9OogNouDBFs55dQ@mail.gmail.com> References: <CA%2BzsmXcmUfqvtQjp4LDXX-V6b31qY1qnXrQv0QJvR3apcm3OHA@mail.gmail.com> <CACVs6=9s4AjJcPJ6eV8ZEE0AOL2tp4nvYqn9OogNouDBFs55dQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org> wrote:
> Cesar,
>
> On Wed, May 28, 2014 at 7:47 PM, Cesar Fazan <cesar.fazan@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.
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BzsmXdfZmX%2B5rcgS04F3htJ6=8WQLwXny8EOgd2nV3OM0jdQA>
