START sys/kern/sosplice/perf 2025-03-29T06:32:07Z ==== 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 800574744 6404.598 100.00% Conn: 1 Mbps: 6404.598 Peak Mbps: 6404.598 Avg Mbps: 6404.598 1000 800640164 6405.121 100.00% Conn: 1 Mbps: 6405.121 Peak Mbps: 6405.121 Avg Mbps: 6405.121 2000 885501128 7091.100 100.00% Conn: 1 Mbps: 7091.100 Peak Mbps: 7091.100 Avg Mbps: 7091.100 2000 885714002 7085.712 100.00% Conn: 1 Mbps: 7085.712 Peak Mbps: 7085.712 Avg Mbps: 7085.712 3000 898406818 7187.255 100.00% Conn: 1 Mbps: 7187.255 Peak Mbps: 7187.255 Avg Mbps: 7187.255 3000 898243446 7185.948 100.00% Conn: 1 Mbps: 7185.948 Peak Mbps: 7185.948 Avg Mbps: 7185.948 4000 896476378 7178.990 100.00% Conn: 1 Mbps: 7178.990 Peak Mbps: 7187.255 Avg Mbps: 7178.990 4000 896574306 7172.594 100.00% Conn: 1 Mbps: 7172.594 Peak Mbps: 7185.948 Avg Mbps: 7172.594 5000 898471774 7187.774 100.00% Conn: 1 Mbps: 7187.774 Peak Mbps: 7187.774 Avg Mbps: 7187.774 5000 898504282 7188.034 100.00% Conn: 1 Mbps: 7188.034 Peak Mbps: 7188.034 Avg Mbps: 7188.034 --- 127.0.0.1 tcpbench statistics --- 5273126352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6404.598/7009.943/7187.774/304.851 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 5273126352 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 6405.121/7007.482/7188.034/303.536 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 890588410 7124.707 100.00% Conn: 1 Mbps: 7124.707 Peak Mbps: 7124.707 Avg Mbps: 7124.707 999 890670200 7132.494 100.00% Conn: 1 Mbps: 7132.494 Peak Mbps: 7132.494 Avg Mbps: 7132.494 2000 978680228 7829.442 100.00% Conn: 1 Mbps: 7829.442 Peak Mbps: 7829.442 Avg Mbps: 7829.442 1999 978729302 7829.834 100.00% Conn: 1 Mbps: 7829.834 Peak Mbps: 7829.834 Avg Mbps: 7829.834 3000 981588376 7852.707 100.00% Conn: 1 Mbps: 7852.707 Peak Mbps: 7852.707 Avg Mbps: 7852.707 3000 981702882 7853.623 100.00% Conn: 1 Mbps: 7853.623 Peak Mbps: 7853.623 Avg Mbps: 7853.623 4000 973231662 7785.853 100.00% Conn: 1 Mbps: 7785.853 Peak Mbps: 7852.707 Avg Mbps: 7785.853 4000 973182588 7785.461 100.00% Conn: 1 Mbps: 7785.461 Peak Mbps: 7853.623 Avg Mbps: 7785.461 5000 973526850 7788.215 100.00% Conn: 1 Mbps: 7788.215 Peak Mbps: 7852.707 Avg Mbps: 7788.215 5000 973330554 7786.644 100.00% Conn: 1 Mbps: 7786.644 Peak Mbps: 7853.623 Avg Mbps: 7786.644 --- 127.0.0.1 tcpbench statistics --- 5763235850 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7124.707/7676.185/7852.707/276.895 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 5763235850 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 7132.494/7677.611/7853.623/273.797 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: 1815.930 Peak Mbps: 1815.930 Tx PPS: 154206 Elapsed: 999 Mbps: 1799.300 Peak Mbps: 1799.300 Rx PPS: 152793 Elapsed: 2000 Mbps: 2084.953 Peak Mbps: 2084.953 Tx PPS: 177051 Elapsed: 1999 Mbps: 2033.075 Peak Mbps: 2033.075 Rx PPS: 172645 Elapsed: 3000 Mbps: 2096.269 Peak Mbps: 2096.269 Tx PPS: 178012 Elapsed: 2999 Mbps: 1992.158 Peak Mbps: 2033.075 Rx PPS: 169171 Elapsed: 4000 Mbps: 2129.028 Peak Mbps: 2129.028 Tx PPS: 180793 Elapsed: 3999 Mbps: 1892.333 Peak Mbps: 2033.075 Rx PPS: 160694 Elapsed: 5000 Mbps: 2075.979 Peak Mbps: 2129.028 Tx PPS: 176289 Elapsed: 4999 Mbps: 1802.152 Peak Mbps: 2033.075 Rx PPS: 153036 --- 127.0.0.1 tcpbench statistics --- 1544600512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1815.930/2040.432/2129.028/113.678 Mbps Elapsed: 6003 Mbps: 1744.468 Peak Mbps: 2033.075 Rx PPS: 148137 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1408110784 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 1744.468/1877.248/2033.075/105.720 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: 1876.388 Peak Mbps: 1876.388 Tx PPS: 159340 Elapsed: 999 Mbps: 1551.780 Peak Mbps: 1551.780 Rx PPS: 131774 Elapsed: 2000 Mbps: 2113.869 Peak Mbps: 2113.869 Tx PPS: 179506 Elapsed: 1999 Mbps: 1630.628 Peak Mbps: 1630.628 Rx PPS: 138470 Elapsed: 3000 Mbps: 2136.696 Peak Mbps: 2136.696 Tx PPS: 181445 Elapsed: 2999 Mbps: 1651.690 Peak Mbps: 1651.690 Rx PPS: 140259 Elapsed: 4000 Mbps: 2114.275 Peak Mbps: 2136.696 Tx PPS: 179541 Elapsed: 3999 Mbps: 1646.968 Peak Mbps: 1651.690 Rx PPS: 139858 Elapsed: 5000 Mbps: 2118.973 Peak Mbps: 2136.696 Tx PPS: 179940 Elapsed: 4999 Mbps: 1645.967 Peak Mbps: 1651.690 Rx PPS: 139773 --- 127.0.0.1 tcpbench statistics --- 1559498624 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1876.388/2072.040/2136.696/98.180 Mbps Elapsed: 5999 Mbps: 1649.676 Peak Mbps: 1651.690 Rx PPS: 140088 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1227487552 bytes received over 6.022 seconds bandwidth min/avg/max/std-dev = 1551.780/1629.451/1651.690/35.396 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m33.07s