Netgear R7800 exploration (IPQ8065, QCA9984)

That will be complicated if you're new to build a firmware. First thing i'll try to start in this thread

hnyman made it easy to compile your own image but you also need to change a parameter (isolcpus) with make menuconfig command

To change the priority you need to use the nice command. I advise to change the service scripts in /etc/init.d/uhttpd , collectd, and nlbwmon