SCHED_ULE should not be the default

Garrett Wollman wollman at hergotha.csail.mit.edu
Mon Dec 12 20:25:48 UTC 2011


In article <4EE6595C.3080608 at cran.org.uk>, bruce at cran.org.uk writes:
>On 12/12/2011 19:23, Garrett Wollman wrote:
>> Where do you get that idea?  I've never seen any evidence for this
>> proposition (although the claim is repeated often enough).  What are
>> the specific circumstances that make this useful?  Where did the
>> number come from?
>
>It's just something I've heard repeated, and people claiming that 
>setting it improves performance.
>
>This explains how the value 224 was obtained:
>http://lists.freebsd.org/pipermail/freebsd-stable/2010-September/058686.html

Not so far as I can see.

The message does suggest that it helps if you are running a CPU-hog
GUI, which seems plausible to me, but doesn't justify making it the
default -- particularly when the setting is undocumented.  (It appears
to control how CPU-bound a process can be and still preempt another
even more CPU-bound process, so using this as a "desktop performance"
"fix" looks doubly wrong.)

-GAWollman



More information about the freebsd-stable mailing list