"taskset" utility

Hi, is the "taskset" utility support din LEDE? Could not find a single reference to it in this forum.

Checked my install of 17.01.4 stable and it is not included.

Neither it is in master. Is there a way to install it?

It's part of the util-linux package on most distro's.

Yeah, but the package is not available :frowning: So I guess there is no easy way to get that one or renice for that matter. With the dual core routers, IRQs can be assigned to dedicated cores, but all the background processes (collect, nlbwmon, etc) cannot and use both cores (confirmed with htop). I was hoping I could play with priorities and affinity. Using nice is a little cumbersome as it requires modifying the startup scripts.

kernel boot parameter isolcpus could maybe used aswell

I cannot find a way to set it: is it possible without building my own firmware?

You can manually compile util-linux. I compiled one for mipsel_24kc.

Any quick pointers on how to do that?

Get source here: https://www.kernel.org/pub/linux/utils/util-linux/v2.32/

How to build: https://github.com/karelzak/util-linux/blob/master/Documentation/howto-build-sys.txt

To cross compile, you need to change the environment variable (location of gcc), set CFLAGS and LDFLAGS, add "-host=mipsel-openwrt-linux" or something to configure.