git: 202d9ba2817b - stable/15 - virtual_oss.8: Remove CPU performance example
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Apr 2026 14:12:50 UTC
The branch stable/15 has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=202d9ba2817bdee0dff33a3e00c8a7092d8781f8
commit 202d9ba2817bdee0dff33a3e00c8a7092d8781f8
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-04-17 20:47:16 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-04-24 14:12:44 +0000
virtual_oss.8: Remove CPU performance example
See also: https://github.com/freebsd/virtual_oss/issues/2
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
(cherry picked from commit 788d71e73f1b4fdac572dae72d3eac5cfb0f9f18)
---
usr.sbin/virtual_oss/virtual_oss/virtual_oss.8 | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/usr.sbin/virtual_oss/virtual_oss/virtual_oss.8 b/usr.sbin/virtual_oss/virtual_oss/virtual_oss.8
index 6aa9f1289b35..b607f45cd369 100644
--- a/usr.sbin/virtual_oss/virtual_oss/virtual_oss.8
+++ b/usr.sbin/virtual_oss/virtual_oss/virtual_oss.8
@@ -23,7 +23,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd September 3, 2024
+.Dd April 17, 2026
.Dt VIRTUAL_OSS 8
.Os
.Sh NAME
@@ -325,17 +325,6 @@ server:
virtual_oss -S -b 16 -C 2 -c 2 -r 48000 -s 4ms \\
-f /dev/sndio/default -d dsp
.Ed
-.Pp
-How to set intel based CPUs in performance mode:
-.Bd -literal -offset indent
-sysctl -aN | fgrep dev.hwpstate | fgrep epp | \
-while read OID
-do
-sysctl ${OID}=0
-done
-
-sysctl kern.sched.preempt_thresh=224
-.Ed
.Sh NOTES
All character devices are created using the 0666 mode which gives
everyone in the system access.