meta data for this page
  •  

Performance

sysctl

  • hw.ibrs_disable=1 Disable Indirect Branch Restricted Speculation (Spectre V2 mitigation)
  • vm.pmap.pti=0 Page Table Isolation (Meltdown mitigation, requires reboot.)
  • net.isr.maxthreads=-1 (was 1 thread) This uncaps the amount of CPU’s which can be used for netisr processing. By default this aspect of the network stack on FreeBSD seems to be single threaded. Default -1 is 1 thread per cpu.
  • net.isr.bindthreads=1 This binds each of the ISR threads to 1 CPU core, which makes sense to do since we are launching one per core.