]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add hw.dmar.batch_coalesce tunable/sysctl, which specifies rate at
authorKonstantin Belousov <kib@FreeBSD.org>
Sun, 17 Apr 2016 10:56:56 +0000 (10:56 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Sun, 17 Apr 2016 10:56:56 +0000 (10:56 +0000)
commite164cafc699818f27dd1f24776a19bea4fd0b6f4
treee5e7f35cc039573f2472e1c7006553fe4f62d8c0
parent916d57dfc540681468c6093f2cb027c46be9444e
Add hw.dmar.batch_coalesce tunable/sysctl, which specifies rate at
which queued invalidation completion interrupt is requested with
regard to the queued invalidation requests.  In other words, setting
the value of the knob to N requests completion interrupt after N items
are processed.  Existing behaviour is restored by setting
hw.dmar.batch_coalesce=1.

The knob significantly decreases the DMAR qi interrupt rate at the
cost of slightly longer DMAR map entries recycling.

Sponsored by: The FreeBSD Foundation
sys/x86/iommu/intel_ctx.c
sys/x86/iommu/intel_dmar.h
sys/x86/iommu/intel_utils.c