TTY task group scheduling

Bruce Cran bruce at cran.org.uk
Thu Nov 18 20:12:00 UTC 2010


[removed current and stable from Cc list]

On Thu, 18 Nov 2010 19:55:05 +0100
Lucius Windschuh <lwindschuh at googlemail.com> wrote:

> Because currently, my machine is barely usable if a compile job with
> parallelism is running. Movies stutter, Firefox hangs. And even nice
> -n 20 doesn't do the job in every case, as +20 seems not to be the
> idle priority anymore?!?

Have you tried increasing kern.sched.preempt_thresh? According to
http://groups.google.com/group/mailing.freebsd.stable/browse_thread/thread/05a39f816fd8acc6/82affa9f195b747d?lnk=raot&fwc=1&pli=1
a good value for desktop use would be 224.

-- 
Bruce Cran


More information about the freebsd-performance mailing list