summaryrefslogtreecommitdiffstats
path: root/contrib/bind/bin
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-06-17 06:39:51 +0000
committerjeff <jeff@FreeBSD.org>2003-06-17 06:39:51 +0000
commita9649bd4c0fffb1c03b6e894e8751243013a383a (patch)
tree0d99db46a610b9c14298e4eab0c2c2a81829fab1 /contrib/bind/bin
parent6a22b27277d90bf2c80b41a85881da4d17dcdc73 (diff)
downloadFreeBSD-src-a9649bd4c0fffb1c03b6e894e8751243013a383a.zip
FreeBSD-src-a9649bd4c0fffb1c03b6e894e8751243013a383a.tar.gz
- Add a new function "sched_interact_update()" that scales back the sleep
and run time. - Scale the sleep and run time back via sched_interact_update() in more places. This is to keep the statistic more accurate. - Charge a parent one tick for forking a child. - Add only the run time and not the sleep time to the parents kg when a thread exits. This allows us to give a penalty for having an expensive thread exit but does not give a bonus for having an interactive thread exit. - Change the SLP_RUN_THROTTLE to limit us to 4/5th and not 1/2. - Change the SLP_RUN_MAX to two seconds. This keeps bursty interactive applications like mozilla and openoffice in the interactive range even through expensive tasks. - Recalculate the slice after every sleep. This ensures that once a task has been marked interactive it only has a slice of 1 at the risk of giving tasks that sleep for a very brief period a longer time slice.
Diffstat (limited to 'contrib/bind/bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud