Page MenuHomeFreeBSD

D44458.id178505.diff
No OneTemporary

D44458.id178505.diff

diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -254,6 +254,7 @@
${_imcsmb.4} \
inet.4 \
inet6.4 \
+ ${_intelhfi.4} \
intpm.4 \
intro.4 \
${_io.4} \
@@ -888,6 +889,7 @@
_if_wpi.4= if_wpi.4
_igc.4= igc.4
_imcsmb.4= imcsmb.4
+_intelhfi.4= intelhfi.4
_io.4= io.4
_itwd.4= itwd.4
_kvmclock.4= kvmclock.4
diff --git a/share/man/man4/intelhfi.4 b/share/man/man4/intelhfi.4
new file mode 100644
--- /dev/null
+++ b/share/man/man4/intelhfi.4
@@ -0,0 +1,80 @@
+.\"
+.\" Copyright (c) 2024-2026 Koine Yuusuke
+.\"
+.\" SPDX-License-Identifier: BSD-2-Clause
+.\"
+.Dd May 24, 2026
+.Dt INTELHFI 4
+.Os
+.Sh NAME
+.Nm intelhfi
+.Nd Intel Hardware Feedback Interface driver
+.Sh SYNOPSIS
+To compile this driver into the kernel,
+place the following line in your
+kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "device intelhfi"
+.Ed
+.Pp
+Alternatively, to load the driver as a
+module at boot time, place the following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+intelhfi_load="YES"
+.Ed
+.Pp
+Do not both compile the driver into the kernel and
+load it as a module at boot time.
+.Pp
+This driver can also cooperate with
+.Xr hmp 4
+to pass internal performance metrics to the ULE scheduler.
+To enable this capability, add the following line to
+your kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "options HMP"
+.Ed
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for Intel Hardware Feedback
+Interface (HFI) in Intel hybrid-architecture processors.
+.Pp
+By combining
+.Nm
+and
+.Xr hmp 4 ,
+.Xr sched_ule 4
+can make better task placement decisions by accounting for
+the performance and efficiency capabilities of each CPU core.
+.Sh SYSCTL VARIABLES
+The following
+.Xr sysctl 8
+variable is available:
+.Bl -tag -width indent
+.It Va hw.intelhfi.printtable
+Displays the performance and efficiency parameters for each
+CPU core group.
+.It Va hw.intelhfi.dumptable
+Dump the HFI table. (for Debug function)
+.Sh SEE ALSO
+.Xr hmp 4 ,
+.Xr sched_ule 4 ,
+.Xr loader.conf 5 ,
+.Xr sysctl 8
+.Sh HISTORY
+The
+.Nm
+driver first appeared in FreeBSD 16.0.
+.Sh BUGS
+The
+.Nm
+driver does not support Intel Thread Director, which is
+an extension of the Intel Hardware Feedback Interface.
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Koine Yuusuke Aq Mt koinec@yahoo.co.jp .

File Metadata

Mime Type
text/plain
Expires
Thu, Jun 4, 11:52 PM (7 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33734649
Default Alt Text
D44458.id178505.diff (2 KB)

Event Timeline