2013/1/15 Chris Cappuccio <ch...@nmedia.net>:
> Well your numbers clearly show almost no difference. But TCP might not
> be the best way to test due to the regular ack reply.

Ok, -current kernel:

$ int1=`vmstat -i | awk '$1 ~ /vr0/ {print $2}'`; tcpbench -u -t 100
-r 10000 r; int2=`vmstat -i | awk '$1 ~ /vr0/ {print $2}'`; let "intps
= (int2 - int1) / 100"; echo int/s: $intps
Elapsed:       10000 Mbps:      87.668 Peak Mbps:      87.668 Tx PPS:    7444
Elapsed:       20000 Mbps:      87.217 Peak Mbps:      87.668 Tx PPS:    7406
Elapsed:       30000 Mbps:      87.210 Peak Mbps:      87.668 Tx PPS:    7405
Elapsed:       40000 Mbps:      87.212 Peak Mbps:      87.668 Tx PPS:    7405
Elapsed:       50000 Mbps:      87.210 Peak Mbps:      87.668 Tx PPS:    7405
Elapsed:       60000 Mbps:      87.210 Peak Mbps:      87.668 Tx PPS:    7405
Elapsed:       70000 Mbps:      87.215 Peak Mbps:      87.668 Tx PPS:    7406
Elapsed:       80000 Mbps:      87.208 Peak Mbps:      87.668 Tx PPS:    7405
Elapsed:       89995 Mbps:      87.207 Peak Mbps:      87.668 Tx PPS:    7405
Elapsed:      100005 Mbps:      87.212 Peak Mbps:      87.668 Tx PPS:    7405
int/s: 7472

Patched (http://marc.info/?l=openbsd-tech&m=135820613320957&q=raw) kernel:

$ int1=`vmstat -i | awk '$1 ~ /vr0/ {print $2}'`; tcpbench -u -t 100
-r 10000 r; int2=`vmstat -i | awk '$1 ~ /vr0/ {print $2}'`; let "intps
= (int2 - int1) / 100"; echo int/s: $intps
Elapsed:       10000 Mbps:      87.638 Peak Mbps:      87.638 Tx PPS:    7442
Elapsed:       20000 Mbps:      87.198 Peak Mbps:      87.638 Tx PPS:    7404
Elapsed:       30000 Mbps:      87.193 Peak Mbps:      87.638 Tx PPS:    7404
Elapsed:       40000 Mbps:      87.192 Peak Mbps:      87.638 Tx PPS:    7404
Elapsed:       50000 Mbps:      87.192 Peak Mbps:      87.638 Tx PPS:    7404
Elapsed:       60000 Mbps:      87.199 Peak Mbps:      87.638 Tx PPS:    7404
Elapsed:       70000 Mbps:      87.194 Peak Mbps:      87.638 Tx PPS:    7404
Elapsed:       80000 Mbps:      87.193 Peak Mbps:      87.638 Tx PPS:    7404
Elapsed:       90000 Mbps:      87.198 Peak Mbps:      87.638 Tx PPS:    7404
Elapsed:      100000 Mbps:      87.190 Peak Mbps:      87.638 Tx PPS:    7404
int/s: 7471

-- 
Michał Markowski

Reply via email to