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: 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.
This commit is contained in:
parent
e2703ffc13
commit
f7be620d82
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: GENERIC,v 1.558 2020/01/20 18:38:19 thorpej Exp $
|
||||
# $NetBSD: GENERIC,v 1.559 2020/01/24 18:58:46 nia 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.558 $"
|
||||
#ident "GENERIC-$Revision: 1.559 $"
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue