START sys/kern/sosplice/perf 2025-01-01T19:22:32Z ==== 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 1526708926 12213.671 100.00% 999 1526561704 12224.718 100.00% Conn: 1 Mbps: 12213.671 Peak Mbps: 12213.671 Avg Mbps: 12213.671 Conn: 1 Mbps: 12224.718 Peak Mbps: 12224.718 Avg Mbps: 12224.718 2000 1536967156 12308.045 100.00% Conn: 1 Mbps: 12308.045 Peak Mbps: 12308.045 Avg Mbps: 12308.045 1999 1536983514 12308.176 100.00% Conn: 1 Mbps: 12308.176 Peak Mbps: 12308.176 Avg Mbps: 12308.176 2999 1539567990 12316.544 100.00% Conn: 1 Mbps: 12316.544 Peak Mbps: 12316.544 Avg Mbps: 12316.544 3000 1539633422 12317.067 100.00% Conn: 1 Mbps: 12317.067 Peak Mbps: 12317.067 Avg Mbps: 12317.067 4000 1535970422 12287.763 100.00% Conn: 1 Mbps: 12287.763 Peak Mbps: 12316.544 Avg Mbps: 12287.763 4000 1536052212 12288.418 100.00% Conn: 1 Mbps: 12288.418 Peak Mbps: 12317.067 Avg Mbps: 12288.418 5000 1539161380 12313.291 100.00% Conn: 1 Mbps: 12313.291 Peak Mbps: 12316.544 Avg Mbps: 12313.291 5000 1539112202 12312.898 100.00% Conn: 1 Mbps: 12312.898 Peak Mbps: 12317.067 Avg Mbps: 12312.898 --- 127.0.0.1 tcpbench statistics --- 9215572430 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12213.671/12288.020/12317.067/38.449 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 9215572430 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 12224.718/12290.099/12316.544/34.188 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 1447892610 11583.141 100.00% Conn: 1 Mbps: 11583.141 Peak Mbps: 11583.141 Avg Mbps: 11583.141 999 1447794462 11593.950 100.00% Conn: 1 Mbps: 11593.950 Peak Mbps: 11593.950 Avg Mbps: 11593.950 1999 1451413232 11611.306 100.00% Conn: 1 Mbps: 11611.306 Peak Mbps: 11611.306 Avg Mbps: 11611.306 2000 1451445948 11611.568 100.00% Conn: 1 Mbps: 11611.568 Peak Mbps: 11611.568 Avg Mbps: 11611.568 3000 1451918666 11615.349 100.00% Conn: 1 Mbps: 11615.349 Peak Mbps: 11615.349 Avg Mbps: 11615.349 3000 1452082234 11616.658 100.00% Conn: 1 Mbps: 11616.658 Peak Mbps: 11616.658 Avg Mbps: 11616.658 4000 1452761688 11622.094 100.00% Conn: 1 Mbps: 11622.094 Peak Mbps: 11622.094 Avg Mbps: 11622.094 4000 1452696268 11621.570 100.00% Conn: 1 Mbps: 11621.570 Peak Mbps: 11621.570 Avg Mbps: 11621.570 5000 1450670594 11605.365 100.00% Conn: 1 Mbps: 11605.365 Peak Mbps: 11622.094 Avg Mbps: 11605.365 5000 1450670594 11605.365 100.00% Conn: 1 Mbps: 11605.365 Peak Mbps: 11621.570 Avg Mbps: 11605.365 --- 127.0.0.1 tcpbench statistics --- 8708292350 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11583.141/11607.660/11621.570/13.388 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 8708292350 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 11593.950/11609.613/11622.094/9.539 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: 1935.021 Peak Mbps: 1935.021 Tx PPS: 164319 Elapsed: 999 Mbps: 1937.052 Peak Mbps: 1937.052 Rx PPS: 164491 Elapsed: 2000 Mbps: 1935.484 Peak Mbps: 1935.484 Tx PPS: 164358 Elapsed: 1999 Mbps: 1935.543 Peak Mbps: 1937.052 Rx PPS: 164363 Elapsed: 3000 Mbps: 1941.380 Peak Mbps: 1941.380 Tx PPS: 164859 Elapsed: 2999 Mbps: 1941.391 Peak Mbps: 1941.391 Rx PPS: 164860 Elapsed: 4000 Mbps: 1937.788 Peak Mbps: 1941.380 Tx PPS: 164554 Elapsed: 3999 Mbps: 1937.764 Peak Mbps: 1941.391 Rx PPS: 164552 Elapsed: 5000 Mbps: 1938.212 Peak Mbps: 1941.380 Tx PPS: 164590 Elapsed: 4999 Mbps: 1938.212 Peak Mbps: 1941.391 Rx PPS: 164590 --- 127.0.0.1 tcpbench statistics --- 1451720256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1935.021/1937.577/1941.380/2.273 Mbps Elapsed: 6002 Mbps: 1923.825 Peak Mbps: 1941.391 Rx PPS: 163368 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1451720256 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1923.825/1935.631/1941.391/5.565 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: 1855.674 Peak Mbps: 1855.674 Tx PPS: 157581 Elapsed: 999 Mbps: 1857.567 Peak Mbps: 1857.567 Rx PPS: 157741 Elapsed: 2000 Mbps: 1854.549 Peak Mbps: 1855.674 Tx PPS: 157485 Elapsed: 1999 Mbps: 1854.608 Peak Mbps: 1857.567 Rx PPS: 157490 Elapsed: 3000 Mbps: 1858.135 Peak Mbps: 1858.135 Tx PPS: 157790 Elapsed: 2999 Mbps: 1858.159 Peak Mbps: 1858.159 Rx PPS: 157792 Elapsed: 4000 Mbps: 1854.237 Peak Mbps: 1858.135 Tx PPS: 157459 Elapsed: 3999 Mbps: 1854.249 Peak Mbps: 1858.159 Rx PPS: 157460 Elapsed: 5000 Mbps: 1857.122 Peak Mbps: 1858.135 Tx PPS: 157704 Elapsed: 4999 Mbps: 1857.111 Peak Mbps: 1858.159 Rx PPS: 157703 --- 127.0.0.1 tcpbench statistics --- 1391727424 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1854.237/1855.943/1858.135/1.491 Mbps Elapsed: 6002 Mbps: 1852.134 Peak Mbps: 1858.159 Rx PPS: 157280 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1391727424 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1852.134/1855.638/1858.159/2.141 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.49s