diff options
author | jimharris <jimharris@FreeBSD.org> | 2012-10-24 18:36:41 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2012-10-24 18:36:41 +0000 |
commit | e56b4fdc17b3d9d906ac2a1a1fe90da82c774712 (patch) | |
tree | f1d39d90cd621bd25a46eba46dc944558c3c6727 /sbin/iscontrol | |
parent | 278c83657aa54ebb2f925731cce0f55827c15ecf (diff) | |
download | FreeBSD-src-e56b4fdc17b3d9d906ac2a1a1fe90da82c774712.zip FreeBSD-src-e56b4fdc17b3d9d906ac2a1a1fe90da82c774712.tar.gz |
Pad tdq_lock to avoid false sharing with tdq_load and tdq_cpu_idle.
This enables CPU searches (which read tdq_load) to operate independently
of any contention on the spinlock. Some scheduler-intensive workloads
running on an 8C single-socket SNB Xeon show considerable improvement with
this change (2-3% perf improvement, 5-6% decrease in CPU util).
Sponsored by: Intel
Reviewed by: jeff
Diffstat (limited to 'sbin/iscontrol')
0 files changed, 0 insertions, 0 deletions