chrt -i 0
Fragment of a discussion from Talk:RPi Upstream Kernel Compilation
Hi there!
Actually, it is not contradictory. It will use all of my 8 cores but won't affect my user experience on my Linux Desktop laptop.
Let's say I use in average 10% of my operating system, there's 90% sitting idle.
chrt -i 0 plus -j 8 will make a full use of my system and I'll keep working without performance harmed by the compilation underway.