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 |