START sys/kern/sosplice/perf 2025-01-09T02:23:19Z ==== 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 1877890480 15023.124 100.00% Conn: 1 Mbps: 15023.124 Peak Mbps: 15023.124 Avg Mbps: 15023.124 999 1877792332 15037.376 100.00% Conn: 1 Mbps: 15037.376 Peak Mbps: 15037.376 Avg Mbps: 15037.376 2000 1877358574 15033.902 100.00% Conn: 1 Mbps: 15033.902 Peak Mbps: 15033.902 Avg Mbps: 15033.902 1999 1877522154 15020.177 100.00% Conn: 1 Mbps: 15020.177 Peak Mbps: 15037.376 Avg Mbps: 15020.177 3000 1878536362 15028.291 100.00% Conn: 1 Mbps: 15028.291 Peak Mbps: 15033.902 Avg Mbps: 15028.291 3000 1878569078 15028.553 100.00% Conn: 1 Mbps: 15028.553 Peak Mbps: 15037.376 Avg Mbps: 15028.553 4000 1883198344 15065.587 100.00% Conn: 1 Mbps: 15065.587 Peak Mbps: 15065.587 Avg Mbps: 15065.587 4000 1883165628 15080.405 100.00% Conn: 1 Mbps: 15080.405 Peak Mbps: 15080.405 Avg Mbps: 15080.405 5000 1895859472 15166.876 100.00% Conn: 1 Mbps: 15166.876 Peak Mbps: 15166.876 Avg Mbps: 15166.876 5000 1895892188 15167.138 100.00% Conn: 1 Mbps: 15167.138 Peak Mbps: 15167.138 Avg Mbps: 15167.138 --- 127.0.0.1 tcpbench statistics --- 11309389668 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 15023.124/15063.556/15166.876/53.734 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 11309389668 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 15020.177/15066.730/15167.138/54.323 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 1681854852 13454.839 100.00% Conn: 1 Mbps: 13454.839 Peak Mbps: 13454.839 Avg Mbps: 13454.839 1000 1681740346 13453.923 100.00% Conn: 1 Mbps: 13453.923 Peak Mbps: 13453.923 Avg Mbps: 13453.923 2000 1698798164 13603.989 100.00% Conn: 1 Mbps: 13603.989 Peak Mbps: 13603.989 Avg Mbps: 13603.989 2000 1699076238 13592.610 100.00% Conn: 1 Mbps: 13592.610 Peak Mbps: 13592.610 Avg Mbps: 13592.610 3000 1706046138 13648.369 100.00% Conn: 1 Mbps: 13648.369 Peak Mbps: 13648.369 Avg Mbps: 13648.369 3000 1706029780 13648.238 100.00% Conn: 1 Mbps: 13648.238 Peak Mbps: 13648.238 Avg Mbps: 13648.238 4000 1705080008 13640.640 100.00% Conn: 1 Mbps: 13640.640 Peak Mbps: 13648.369 Avg Mbps: 13640.640 4000 1704916440 13639.332 100.00% Conn: 1 Mbps: 13639.332 Peak Mbps: 13648.238 Avg Mbps: 13639.332 5000 1705947162 13647.577 100.00% Conn: 1 Mbps: 13647.577 Peak Mbps: 13648.369 Avg Mbps: 13647.577 5000 1706143434 13649.147 100.00% Conn: 1 Mbps: 13649.147 Peak Mbps: 13649.147 Avg Mbps: 13649.147 --- 127.0.0.1 tcpbench statistics --- 10198880460 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 13454.839/13599.083/13648.369/73.944 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 10198880460 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 13453.923/13596.650/13649.147/74.332 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: 2531.793 Peak Mbps: 2531.793 Tx PPS: 214996 Elapsed: 1000 Mbps: 1803.094 Peak Mbps: 1803.094 Rx PPS: 153116 Elapsed: 2000 Mbps: 2452.166 Peak Mbps: 2531.793 Tx PPS: 208234 Elapsed: 1999 Mbps: 1730.294 Peak Mbps: 1803.094 Rx PPS: 146933 Elapsed: 3000 Mbps: 2519.499 Peak Mbps: 2531.793 Tx PPS: 213952 Elapsed: 3000 Mbps: 1823.949 Peak Mbps: 1823.949 Rx PPS: 154887 Elapsed: 4000 Mbps: 2524.680 Peak Mbps: 2531.793 Tx PPS: 214392 Elapsed: 4000 Mbps: 1844.793 Peak Mbps: 1844.793 Rx PPS: 156657 Elapsed: 5000 Mbps: 2269.683 Peak Mbps: 2531.793 Tx PPS: 192738 Elapsed: 5000 Mbps: 1636.817 Peak Mbps: 1844.793 Rx PPS: 138996 --- 127.0.0.1 tcpbench statistics --- 1836174272 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2269.683/2459.564/2531.793/99.155 Mbps Elapsed: 6016 Mbps: 1690.378 Peak Mbps: 1844.793 Rx PPS: 143544 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1319466944 bytes received over 6.019 seconds bandwidth min/avg/max/std-dev = 1636.817/1754.887/1844.793/75.148 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: 2513.587 Peak Mbps: 2513.587 Tx PPS: 213450 Elapsed: 1000 Mbps: 1687.736 Peak Mbps: 1687.736 Rx PPS: 143320 Elapsed: 2000 Mbps: 2397.648 Peak Mbps: 2513.587 Tx PPS: 203604 Elapsed: 1999 Mbps: 1671.956 Peak Mbps: 1687.736 Rx PPS: 141979 Elapsed: 3000 Mbps: 2557.276 Peak Mbps: 2557.276 Tx PPS: 217160 Elapsed: 2999 Mbps: 1742.848 Peak Mbps: 1742.848 Rx PPS: 148000 Elapsed: 4000 Mbps: 2387.419 Peak Mbps: 2557.276 Tx PPS: 202736 Elapsed: 3999 Mbps: 1619.330 Peak Mbps: 1742.848 Rx PPS: 137511 Elapsed: 5000 Mbps: 2420.003 Peak Mbps: 2557.276 Tx PPS: 205503 Elapsed: 5000 Mbps: 1648.581 Peak Mbps: 1742.848 Rx PPS: 139995 --- 127.0.0.1 tcpbench statistics --- 1835551616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2387.419/2455.187/2557.276/67.785 Mbps Elapsed: 6012 Mbps: 1607.110 Peak Mbps: 1742.848 Rx PPS: 136473 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1249535168 bytes received over 6.016 seconds bandwidth min/avg/max/std-dev = 1607.110/1662.927/1742.848/45.289 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.65s