Module Name: src Committed By: ad Date: Sat Jan 4 22:46:01 UTC 2020
Modified Files: src/sys/kern: kern_runq.c Log Message: A couple of scheduler tweaks which benchmark well for me: - Add some simple SMT awareness. Try to keep as many different cores loaded up with jobs as possible before we start to make use of SMT. Have SMT "secondaries" function more as helpers to their respective primaries. This isn't enforced, it's an effort at herding/encouraging things to go in the right direction (for one because we support processor sets and those can be configured any way that you like). Seen at work with "top -1". - Don't allow sched_balance() to run any faster than the clock interrupt, because it causes terrible cache contention. Need to look into this in more detail because it's still not ideal. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 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.