Scheduler and interrupts tweaks benchmarks
I recently learn about the following Linux scheduler policies:
My attention got stuck with FIFO and RR which make the process run until it sleeps or yields, something very nice for raw performance specially with lots of cores.
Having a quad Q6600 G0 I run ET:QW (threading enabled) with FIFO or RR with improved perceived interactivy, also I run irqbalance daemon in one shot mode for initial interrupt balancing.
I have been wondering what options are the best for performance and efficiency so I ask phoronix to include this tests in their benchmarks.
What should answer our questions about the usefullness of tweaking to this level is that phoronix conduct benchmarking the different SCHED_ policies and if irqbalance is of any help or if manual IRQ affinity is required for better performance that would help a lot to know if advanced tweaking is of any help.
Obviously all this is of value just to SMP setups but maybe not.
I run my tweaks for ET:QW like this:
schedtool -F -p 50 `pidof etqw-rthread.x86`
echo 8 >/proc/irq/2/smp_affinity (kbd)
echo 8 >/proc/irq/12/smp_affinity (mouse)
echo 8 >/proc/irq/21/smp_affinity (nvidia)