summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2020-01-27 07:06:02 +0000
committermartin <martin@NetBSD.org>2020-01-27 07:06:02 +0000
commitff3af85e33ea8cdfd414819820cb7ca409133932 (patch)
treee7927d5e2c3b05869f82229b48d778a9aef02288 /sys/arch/amd64
parenta8d6024dab9730a0979644d4300a63002de81793 (diff)
Pull up following revision(s) (requested by nia in ticket #657):
sys/dev/files.audio: revision 1.13 sys/dev/files.audio: revision 1.14 sys/arch/amd64/conf/GENERIC: revision 1.559 sys/arch/evbarm/conf/GENERIC: revision 1.71 sys/arch/evbarm/conf/GENERIC64: revision 1.134 sys/dev/audio/audiodef.h: revision 1.8 Set AUDIO_BLK_MS=4 - unlikely to cause significant overhead on non-m68k. Several of us have been setting this in /etc/sysctl.conf for months, to get better performance from applications that require synced audio, etc. It's also mentioned as a good value with low overhead on most archs here: href="https://mail-index.netbsd.org/tech-kern/2019/12/07/msg025830.html We could probably go lower, but this is low enough to make most/all software run well, removing frame drops. It's also low enough to get emulators/mednafen to stop complaining in the console. defopt AUDIO_BLK_MS Follow amd64 and set AUDIO_BLK_MS=4 by default defopt -> defparam (oops)
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/conf/GENERIC7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/amd64/conf/GENERIC b/sys/arch/amd64/conf/GENERIC
index 8e92ae90abf..b67ba6daa9c 100644
--- a/sys/arch/amd64/conf/GENERIC
+++ b/sys/arch/amd64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.531.2.7 2020/01/21 11:55:57 martin Exp $
+# $NetBSD: GENERIC,v 1.531.2.8 2020/01/27 07:06:02 martin Exp $
#
# GENERIC machine description file
#
@@ -22,7 +22,7 @@ include "arch/amd64/conf/std.amd64"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.531.2.7 $"
+#ident "GENERIC-$Revision: 1.531.2.8 $"
maxusers 64 # estimated number of users
@@ -55,6 +55,9 @@ maxusers 64 # estimated number of users
options INSECURE # disable kernel security levels - X needs this
+options AUDIO_BLK_MS=4 # make software with low latency needs performant
+ # no substantial CPU overhead on this platform
+
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
options NTP # NTP phase/frequency locked loop