I'm working on a project where I want to study the impact of process priority on system behavior.
I know that tools like nice, renice, and chrt can change the priority or scheduling policy (e.g., SCHED_FIFO, SCHED_RR, etc.) from user space using system calls.
However, I’m wondering:
Is there any technical or practical advantage to adjusting process priority using a kernel module instead of via user-space tools like nice or chrt?
Have you encountered cases where a kernel module offered more control or precision in setting scheduling parameters than user-space methods?
Any insights or examples would be appreciated!