Interrupt load with niced processes

Hasso Tepper hasso at estpak.ee
Thu Jun 7 02:20:44 PDT 2007


I noticed that even if I nice my compile jobs to 20, my desktop still
lags significantly. It might not be related, but while hunting potential
causes I noticed strange issue with load stats:

~:# while true; do echo "foo" > /dev/null; done

33.1%Sys   1.2%Intr 65.7%User  0.0%Nice  0.0%Idl

~:# while true; do nice -n 20 echo "foo" > /dev/null; done

33.3%Sys  44.2%Intr 21.9%User  0.6%Nice  0.0%Idl


Just wrong stats? I didn't notice any obvious error at first glance in
the kern/kern_clock.c, so anyone has ideas what's going on?


-- 
Hasso





More information about the Kernel mailing list