Skip to content

Instantly share code, notes, and snippets.

@rtyler
Created March 28, 2014 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtyler/9839146 to your computer and use it in GitHub Desktop.
Save rtyler/9839146 to your computer and use it in GitHub Desktop.
geli_ada0p3_keyfile0_load="YES"
geli_ada0p3_keyfile0_type="ada0p3:geli_keyfile0"
geli_ada0p3_keyfile0_name="/boot/encryption.key"
aesni_load="YES"
geom_eli_load="YES"
vfs.root.mountfrom="zfs:zroot/bootenv/default"
zfs_load="YES"
zpool_cache_load="YES"
zpool_cache_type="/boot/zfs/zpool.cache"
zpool_cache_name="/boot/zfs/zpool.cache"
# Sound!
snd_hda_load="YES"
# Suggested by the Firefox port to make it work better
sem_load="YES"
# Wireless crypto drivers
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
# Wireless intel card drivers
if_iwn_load="YES"
iwn5000fw_load="YES"
iwnfw_load="YES"
# Higher shared memory limits to make sure that Qt apps paint properly
kern.ipc.shmall=32768
kern.ipc.shmmni=1024
kern.ipc.shmseg=1024
# Performance and power tuning taken from TuningPowerConsumption wiki
#####################################################################
# Disable PCI bus devices we don't have something built into the kernel
# for.
hw.pci.do_power_nodriver=3
# Disable throttling that would be hidden by the C2 state
hint.p4tcc.0.disabled=1
hint.acpi_throttle.0.disabled=1
# Enable clocks to make the C3 state viable
hint.apic.0.clock=0
hint.atrtc.0.clock=0
# Reduce the interrupt rate to make C3 more effective
kern.hz=100
# Newcons!
###########
# Enable textmode in newcons by default
hw.vga.textmode=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment