START sys/kern/sosplice/perf 2025-01-08T19:27:15Z ==== run-tcp-copy ==== cc -O2 -pipe -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -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 1358954524 10871.636 100.00% Conn: 1 Mbps: 10871.636 Peak Mbps: 10871.636 Avg Mbps: 10871.636 999 1358954524 10882.519 100.00% Conn: 1 Mbps: 10882.519 Peak Mbps: 10882.519 Avg Mbps: 10882.519 2000 1366238346 10929.907 100.00% Conn: 1 Mbps: 10929.907 Peak Mbps: 10929.907 Avg Mbps: 10929.907 2000 1366238346 10929.907 100.00% Conn: 1 Mbps: 10929.907 Peak Mbps: 10929.907 Avg Mbps: 10929.907 3000 1369146734 10964.138 100.00% Conn: 1 Mbps: 10964.138 Peak Mbps: 10964.138 Avg Mbps: 10964.138 3000 1369081638 10952.653 100.00% Conn: 1 Mbps: 10952.653 Peak Mbps: 10952.653 Avg Mbps: 10952.653 4000 1367069840 10936.559 100.00% Conn: 1 Mbps: 10936.559 Peak Mbps: 10964.138 Avg Mbps: 10936.559 4000 1367134936 10937.079 100.00% Conn: 1 Mbps: 10937.079 Peak Mbps: 10952.653 Avg Mbps: 10937.079 5000 1367954248 10954.589 100.00% Conn: 1 Mbps: 10954.589 Peak Mbps: 10964.138 Avg Mbps: 10954.589 5000 1367970606 10943.765 100.00% Conn: 1 Mbps: 10943.765 Peak Mbps: 10952.653 Avg Mbps: 10943.765 --- 127.0.0.1 tcpbench statistics --- 8197052384 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10871.636/10931.366/10964.138/32.280 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 8197052384 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 10882.519/10929.185/10952.653/24.511 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 1161075944 9288.608 100.00% Conn: 1 Mbps: 9288.608 Peak Mbps: 9288.608 Avg Mbps: 9288.608 999 1160945080 9296.857 100.00% Conn: 1 Mbps: 9296.857 Peak Mbps: 9296.857 Avg Mbps: 9296.857 2000 1167299946 9347.747 100.00% Conn: 1 Mbps: 9347.747 Peak Mbps: 9347.747 Avg Mbps: 9347.747 2000 1167430798 9339.446 100.00% Conn: 1 Mbps: 9339.446 Peak Mbps: 9339.446 Avg Mbps: 9339.446 3000 1167860198 9342.882 100.00% Conn: 1 Mbps: 9342.882 Peak Mbps: 9342.882 Avg Mbps: 9342.882 3000 1167991050 9343.928 100.00% Conn: 1 Mbps: 9343.928 Peak Mbps: 9347.747 Avg Mbps: 9343.928 4000 1168193092 9345.545 100.00% Conn: 1 Mbps: 9345.545 Peak Mbps: 9345.545 Avg Mbps: 9345.545 4000 1168340314 9346.723 100.00% Conn: 1 Mbps: 9346.723 Peak Mbps: 9347.747 Avg Mbps: 9346.723 5000 1164418216 9324.670 100.00% 5000 1164500006 9316.000 100.00% Conn: 1 Mbps: 9324.670 Peak Mbps: 9347.747 Avg Mbps: 9324.670 Conn: 1 Mbps: 9316.000 Peak Mbps: 9345.545 Avg Mbps: 9316.000 --- 127.0.0.1 tcpbench statistics --- 6989824482 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 9288.608/9330.335/9347.747/22.493 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 6989824482 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 9296.857/9328.146/9345.545/18.836 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: 1958.808 Peak Mbps: 1958.808 Tx PPS: 166339 Elapsed: 1000 Mbps: 1958.902 Peak Mbps: 1958.902 Rx PPS: 166347 Elapsed: 2000 Mbps: 1964.800 Peak Mbps: 1964.800 Tx PPS: 166847 Elapsed: 1999 Mbps: 1964.883 Peak Mbps: 1964.883 Rx PPS: 166854 Elapsed: 3000 Mbps: 1963.212 Peak Mbps: 1964.800 Tx PPS: 166713 Elapsed: 2999 Mbps: 1963.212 Peak Mbps: 1964.883 Rx PPS: 166713 Elapsed: 4000 Mbps: 1963.259 Peak Mbps: 1964.800 Tx PPS: 166717 Elapsed: 3999 Mbps: 1963.248 Peak Mbps: 1964.883 Rx PPS: 166716 Elapsed: 5000 Mbps: 1962.623 Peak Mbps: 1964.800 Tx PPS: 166663 Elapsed: 4999 Mbps: 1962.623 Peak Mbps: 1964.883 Rx PPS: 166663 --- 127.0.0.1 tcpbench statistics --- 1471704128 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1958.808/1962.541/1964.800/2.001 Mbps Elapsed: 6002 Mbps: 1958.812 Peak Mbps: 1964.883 Rx PPS: 166339 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1471704128 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1958.812/1961.947/1964.883/2.290 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: 1833.476 Peak Mbps: 1833.476 Tx PPS: 155696 Elapsed: 1000 Mbps: 1833.547 Peak Mbps: 1833.547 Rx PPS: 155702 Elapsed: 2000 Mbps: 1832.223 Peak Mbps: 1833.476 Tx PPS: 155589 Elapsed: 1999 Mbps: 1832.294 Peak Mbps: 1833.547 Rx PPS: 155595 Elapsed: 3000 Mbps: 1833.770 Peak Mbps: 1833.770 Tx PPS: 155721 Elapsed: 2999 Mbps: 1833.770 Peak Mbps: 1833.770 Rx PPS: 155721 Elapsed: 4000 Mbps: 1833.170 Peak Mbps: 1833.770 Tx PPS: 155670 Elapsed: 3999 Mbps: 1833.146 Peak Mbps: 1833.770 Rx PPS: 155668 Elapsed: 5000 Mbps: 1832.369 Peak Mbps: 1833.770 Tx PPS: 155602 Elapsed: 4999 Mbps: 1832.381 Peak Mbps: 1833.770 Rx PPS: 155603 --- 127.0.0.1 tcpbench statistics --- 1374488832 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1832.223/1833.002/1833.770/0.608 Mbps Elapsed: 6002 Mbps: 1828.947 Peak Mbps: 1833.770 Rx PPS: 155311 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1374488832 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1828.947/1832.348/1833.770/1.616 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.49s