Re: m_can error/overrun frames on high speed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 2, 2021 at 9:28 PM Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> wrote:
>
> On 01.04.2021 11:04:25, Belisko Marek wrote:
> > Is there anything I can tune to have it read faster? Thanks.
>
> Indeed, with current net-next/master, you put the NAPI on a per
> networking device from softirq to threaded mode.
>
> | echo 1 | sudo tee /sys/class/net/can0/threaded
>
> Then you a separate NAPI thread per networking device that can be tuned
> with chrt, etc...
OK I've tse threaded mode for NAPI and for napi:can0 thread I set chrt
-p 99 <pid> but unfortunately there are still buffer overruns which is
kind of strange.

For rx-offload branch I was not able yet to run it on my platform
(have panic during boot which I need to resolve first).

Thanks and BR,

marek
>
> regards,
> Marc
>
> --
> Pengutronix e.K.                 | Marc Kleine-Budde           |
> Embedded Linux                   | https://www.pengutronix.de  |
> Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
> Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux