-
Notifications
You must be signed in to change notification settings - Fork 27
/
sysctl.conf
52 lines (46 loc) · 1.16 KB
/
sysctl.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
## SECURITY
security.bsd.see_jail_proc=0
security.bsd.unprivileged_proc_debug=0
kern.randompid=1
## I/O TUNING
vfs.usermount=1
vfs.read_max=128
vfs.write_behind=0
kern.coredump=0
kern.filedelay=15
kern.dirdelay=14
kern.metadelay=13
## MISC TUNING
kern.evdev.rcpt_mask=12
## NETWORK
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
net.inet.tcp.syncache.rexmtlimit=0
net.inet.tcp.syncookies=0
net.inet.ip.redirect=0
net.inet.icmp.drop_redirect=1
net.inet.tcp.drop_synfin=1
net.inet.tcp.fast_finwait2_recycle=1
net.inet.tcp.icmp_may_rst=0
## DESKTOP
kern.sched.preempt_thresh=224
kern.sched.slice=3
kern.sched.steal_thresh=1
kern.ipc.shm_allow_removed=1
kern.ipc.shm_use_phys=1
## AUDIO CONFIG
kern.timecounter.alloweddeviation=0
hw.usb.uaudio.buffer_ms=2
hw.snd.latency=0
## Use your own default unit
hw.snd.default_unit=7
#hw.snd.default_auto=0
## AUDIO QUALITY
## Change pcm.7 by your own interface
## If you want Bitperfect mode just enable it and disable vchanmode and vchanrate parameters
dev.pcm.7.play.vchanmode=passthrough
dev.pcm.7.play.vchanrate=48000
dev.pcm.7.rec.vchanrate=48000
dev.pcm.7.play.vchanformat=s16le:2.1
#dev.pcm.7.bitperfect=1
hw.snd.feeder_rate_quality=4