Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/kern

Module Name:    src
Committed By:   mlelstv
Date:           Thu Dec 22 14:11:58 UTC 2016

Modified Files:
        src/sys/kern: kern_runq.c

Log Message:
When balancing threads over multiple CPUs, use fixpoint arithmetic
for averages. Otherwise the decisions can be heavily biased by rounding

Add sysctl kern.sched_average_weight to change the weight of
historical data, the default is 50%.

To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/kern/kern_runq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index