vm.pmap.pti=0 performance regression

Slawa Olhovchenkov slw at zxy.spb.ru
Fri Jan 31 16:58:47 UTC 2020


I am try to do different benchmark for my application (NETMAP based
packet filtering) and see strange behavior:

vm.pmap.pti=0
machdep.hyperthreading_allowed=0

caused performance drop about 20% on network thread. In case of

vm.pmap.pti=1
machdep.hyperthreading_allowed=0

or

vm.pmap.pti=1
SMT=off in bios

or

vm.pmap.pti=0
SMT=off in bios

performance about same and high about 20%.

How does that work?


More information about the freebsd-hackers mailing list