START sys/kern/sosplice/perf 2024-05-26T01:27:01Z ==== run-tcp-copy ==== cc -O2 -pipe -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -MD -MP -c /usr/src/regress/sys/kern/sosplice/perf/relay.c cc -o relay relay.o ln -s relay copy pkill -x tcpbench *** Error 1 in target 'run-tcp-copy' (ignored) ./copy -4 12345 127.0.0.1 12346 & rpid=$! ; tcpbench -4 -t 7 -s -p 12346 & sleep 1 ; tcpbench -4 -t 5 127.0.0.1 ; kill $rpid ; pkill -x tcpbench elapsed_ms bytes mbps bwidth elapsed_ms bytes mbps bwidth 1000 1567148552 12537.188 100.00% Conn: 1 Mbps: 12537.188 Peak Mbps: 12537.188 Avg Mbps: 12537.188 999 1567083224 12549.215 100.00% Conn: 1 Mbps: 12549.215 Peak Mbps: 12549.215 Avg Mbps: 12549.215 2000 1574659622 12609.887 100.00% Conn: 1 Mbps: 12609.887 Peak Mbps: 12609.887 Avg Mbps: 12609.887 2000 1574724950 12597.800 100.00% Conn: 1 Mbps: 12597.800 Peak Mbps: 12597.800 Avg Mbps: 12597.800 3000 1569452906 12555.623 100.00% Conn: 1 Mbps: 12555.623 Peak Mbps: 12609.887 Avg Mbps: 12555.623 3000 1569377952 12555.024 100.00% Conn: 1 Mbps: 12555.024 Peak Mbps: 12597.800 Avg Mbps: 12555.024 4000 1564173016 12525.910 100.00% Conn: 1 Mbps: 12525.910 Peak Mbps: 12609.887 Avg Mbps: 12525.910 4000 1564280778 12514.246 100.00% Conn: 1 Mbps: 12514.246 Peak Mbps: 12597.800 Avg Mbps: 12514.246 5000 1567866816 12542.935 100.00% Conn: 1 Mbps: 12542.935 Peak Mbps: 12609.887 Avg Mbps: 12542.935 5000 1568020102 12544.161 100.00% Conn: 1 Mbps: 12544.161 Peak Mbps: 12597.800 Avg Mbps: 12544.161 --- 127.0.0.1 tcpbench statistics --- 9414474240 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12525.910/12554.309/12609.887/29.393 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 9414474240 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 12514.246/12552.089/12597.800/26.838 Mbps sleep 1 ==== run-tcp-splice ==== ln -s relay splice pkill -x tcpbench *** Error 1 in target 'run-tcp-splice' (ignored) ./splice -4 12345 127.0.0.1 12346 & rpid=$! ; tcpbench -4 -t 7 -s -p 12346 & sleep 1 ; tcpbench -4 -t 5 127.0.0.1 ; kill $rpid ; pkill -x tcpbench elapsed_ms bytes mbps bwidth elapsed_ms bytes mbps bwidth 1000 1914094018 15312.752 100.00% Conn: 1 Mbps: 15312.752 Peak Mbps: 15312.752 Avg Mbps: 15312.752 1000 1912528138 15300.225 100.00% Conn: 1 Mbps: 15300.225 Peak Mbps: 15300.225 Avg Mbps: 15300.225 2000 1928520464 15443.607 100.00% Conn: 1 Mbps: 15443.607 Peak Mbps: 15443.607 Avg Mbps: 15443.607 2000 1928593408 15428.747 100.00% Conn: 1 Mbps: 15428.747 Peak Mbps: 15428.747 Avg Mbps: 15428.747 3000 1929408082 15435.265 100.00% Conn: 1 Mbps: 15435.265 Peak Mbps: 15443.607 Avg Mbps: 15435.265 3000 1929379840 15450.489 100.00% Conn: 1 Mbps: 15450.489 Peak Mbps: 15450.489 Avg Mbps: 15450.489 4000 1930605770 15444.846 100.00% Conn: 1 Mbps: 15444.846 Peak Mbps: 15444.846 Avg Mbps: 15444.846 4000 1930690560 15445.524 100.00% Conn: 1 Mbps: 15445.524 Peak Mbps: 15450.489 Avg Mbps: 15445.524 5000 1928738604 15429.909 100.00% Conn: 1 Mbps: 15429.909 Peak Mbps: 15444.846 Avg Mbps: 15429.909 5000 1928855552 15430.844 100.00% Conn: 1 Mbps: 15430.844 Peak Mbps: 15450.489 Avg Mbps: 15430.844 --- 127.0.0.1 tcpbench statistics --- 11562629820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 15312.752/15413.276/15444.846/50.561 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 11562629820 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 15300.225/15411.166/15450.489/56.091 Mbps sleep 1 ==== run-udp-copy ==== pkill -x tcpbench *** Error 1 in target 'run-udp-copy' (ignored) ./copy -u -4 12345 127.0.0.1 12346 & rpid=$! ; tcpbench -u -4 -t 7 -s -p 12346 & sleep 1 ; tcpbench -u -4 -t 5 127.0.0.1 ; kill $rpid ; pkill -x tcpbench Elapsed: 1000 Mbps: 1518.138 Peak Mbps: 1518.138 Tx PPS: 128918 Elapsed: 1000 Mbps: 1518.150 Peak Mbps: 1518.150 Rx PPS: 128919 Elapsed: 2000 Mbps: 1532.000 Peak Mbps: 1532.000 Tx PPS: 130095 Elapsed: 1999 Mbps: 1532.059 Peak Mbps: 1532.059 Rx PPS: 130100 Elapsed: 3000 Mbps: 1529.396 Peak Mbps: 1532.000 Tx PPS: 129874 Elapsed: 2999 Mbps: 1529.384 Peak Mbps: 1532.059 Rx PPS: 129873 Elapsed: 4000 Mbps: 1535.041 Peak Mbps: 1535.041 Tx PPS: 130353 Elapsed: 4000 Mbps: 1533.482 Peak Mbps: 1533.482 Rx PPS: 130221 Elapsed: 5000 Mbps: 1531.952 Peak Mbps: 1535.041 Tx PPS: 130091 Elapsed: 5000 Mbps: 1531.963 Peak Mbps: 1533.482 Rx PPS: 130092 --- 127.0.0.1 tcpbench statistics --- 1147148736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1518.138/1529.305/1535.041/5.863 Mbps Elapsed: 6002 Mbps: 1530.621 Peak Mbps: 1533.482 Rx PPS: 129978 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1147148736 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1518.150/1529.277/1533.482/5.136 Mbps sleep 1 ==== run-udp-splice ==== pkill -x tcpbench *** Error 1 in target 'run-udp-splice' (ignored) ./splice -u -4 12345 127.0.0.1 12346 & rpid=$! ; tcpbench -u -4 -t 7 -s -p 12346 & sleep 1 ; tcpbench -u -4 -t 5 127.0.0.1 ; kill $rpid ; pkill -x tcpbench Elapsed: 1000 Mbps: 1486.437 Peak Mbps: 1486.437 Tx PPS: 126226 Elapsed: 1000 Mbps: 1486.449 Peak Mbps: 1486.449 Rx PPS: 126227 Elapsed: 2000 Mbps: 1486.063 Peak Mbps: 1486.437 Tx PPS: 126194 Elapsed: 2000 Mbps: 1486.216 Peak Mbps: 1486.449 Rx PPS: 126207 Elapsed: 3000 Mbps: 1491.878 Peak Mbps: 1491.878 Tx PPS: 126688 Elapsed: 3000 Mbps: 1491.843 Peak Mbps: 1491.843 Rx PPS: 126685 Elapsed: 4000 Mbps: 1491.572 Peak Mbps: 1491.878 Tx PPS: 126662 Elapsed: 4000 Mbps: 1491.666 Peak Mbps: 1491.843 Rx PPS: 126670 Elapsed: 5000 Mbps: 1490.971 Peak Mbps: 1491.878 Tx PPS: 126611 Elapsed: 5000 Mbps: 1490.971 Peak Mbps: 1491.843 Rx PPS: 126611 --- 127.0.0.1 tcpbench statistics --- 1117774976 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1486.063/1489.384/1491.878/2.578 Mbps Elapsed: 6002 Mbps: 1493.554 Peak Mbps: 1493.554 Rx PPS: 126830 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1117774976 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1486.216/1490.116/1493.554/2.787 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.57s