On 4.10.2018. 5:58, Benjamin Petit wrote:
> Ok so I compared 6.3-release, 6.3-release+syspatches(=stable?) and the latest 
> snapshot from October 2.
> 
> I measured iperf3 throughput between A and B, like this:
> PC A <---> APU2 <---> PC B
> 
> pf rules are the one shipped by default in 6.3:
> 
>   gw# pfctl -sr                                                               
>    
>   block return all
>   pass all flags S/SA
>   block return in on ! lo0 proto tcp from any to any port 6000:6010
>   block return out log proto tcp all user = 55
>   block return out log proto udp all user = 55
> 
> OpenBSD 6.3 RELEASE:   
>   - pf enabled:  841 Mbits/sec  
>   - pf disabled: 935 Mbits/sec
> 
> OpenBSD 6.3 + Syspatch:
>   - pf enabled:  803 Mbits/sec
>   - pf disabled: 936 Mbits/sec
> 
> OpenBSD CURRENT:
>   - pf enabled: 526 Mbits/sec (541 with kern.pool_debug=0)
>   - pf disabled: 934 Mbits/sec
> 
> So there is a small perf drop when applying all syspatches to 6.3 (not sure 
> which one cause the drop), 
> but the performance drop SIGNIFICANTLY using the latest snapshot.
> 
> Am I missing something? (I really hope I am)
> 

Hi,

if you're feeling brave enough and you can test/experiment
with pf you can download openbsd kernel with experimental MP support
from here http://kosjenka.srce.hr/~hrvoje/zaprocvat/smpfbsd

SHA256 (smpfbsd) =
e95e94190a0e52de7690b3278cfab14985817089e7a53615cd2599420593b32c

this kernel is compiled with option WITH_PF_LOCK and NET_TASKQ=4

before you download it please backup your active kernel so if something
goes wrong you can put it back ..

cp /bsd /goodbsd
cp smpfbsd /bsd
reboot

if something goes wrong at boot prompt before kernel starts to boot you
can boot old kernel with command - boot goodbsd

i'm running this kernel for few days and i'm hitting pf, pfsync and
pflow quite hard and it seems stable :)

Reply via email to