START sys/kern/sosplice/perf 2025-01-11T06:27:43Z ==== 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 890098722 7120.790 100.00% Conn: 1 Mbps: 7120.790 Peak Mbps: 7120.790 Avg Mbps: 7120.790 999 890164154 7128.442 100.00% Conn: 1 Mbps: 7128.442 Peak Mbps: 7128.442 Avg Mbps: 7128.442 2000 948038670 7584.309 100.00% Conn: 1 Mbps: 7584.309 Peak Mbps: 7584.309 Avg Mbps: 7584.309 1999 948055028 7584.440 100.00% Conn: 1 Mbps: 7584.440 Peak Mbps: 7584.440 Avg Mbps: 7584.440 3000 931549718 7452.398 100.00% Conn: 1 Mbps: 7452.398 Peak Mbps: 7584.309 Avg Mbps: 7452.398 2999 931566180 7452.529 100.00% Conn: 1 Mbps: 7452.529 Peak Mbps: 7584.440 Avg Mbps: 7452.529 4000 955173630 7641.389 100.00% Conn: 1 Mbps: 7641.389 Peak Mbps: 7641.389 Avg Mbps: 7641.389 3999 955124452 7640.996 100.00% Conn: 1 Mbps: 7640.996 Peak Mbps: 7640.996 Avg Mbps: 7640.996 5000 955156660 7641.253 100.00% Conn: 1 Mbps: 7641.253 Peak Mbps: 7641.389 Avg Mbps: 7641.253 4999 955107586 7640.861 100.00% Conn: 1 Mbps: 7640.861 Peak Mbps: 7640.996 Avg Mbps: 7640.861 --- 127.0.0.1 tcpbench statistics --- 5634535526 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7120.790/7488.028/7641.389/196.164 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 5634535526 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 7128.442/7489.454/7640.996/193.186 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 999 733094656 5870.628 100.00% Conn: 1 Mbps: 5870.628 Peak Mbps: 5870.628 Avg Mbps: 5870.628 1000 733192804 5865.542 100.00% Conn: 1 Mbps: 5865.542 Peak Mbps: 5865.542 Avg Mbps: 5865.542 2000 827387480 6625.726 100.00% Conn: 1 Mbps: 6625.726 Peak Mbps: 6625.726 Avg Mbps: 6625.726 1999 827501986 6620.016 100.00% Conn: 1 Mbps: 6620.016 Peak Mbps: 6620.016 Avg Mbps: 6620.016 3000 818805546 6550.444 100.00% Conn: 1 Mbps: 6550.444 Peak Mbps: 6625.726 Avg Mbps: 6550.444 3000 818723756 6549.790 100.00% Conn: 1 Mbps: 6549.790 Peak Mbps: 6620.016 Avg Mbps: 6549.790 4000 822387168 6585.683 100.00% Conn: 1 Mbps: 6585.683 Peak Mbps: 6625.726 Avg Mbps: 6585.683 4000 822518020 6580.144 100.00% Conn: 1 Mbps: 6580.144 Peak Mbps: 6620.016 Avg Mbps: 6580.144 5000 817004526 6536.036 100.00% Conn: 1 Mbps: 6536.036 Peak Mbps: 6625.726 Avg Mbps: 6536.036 5000 816906378 6541.793 100.00% Conn: 1 Mbps: 6541.793 Peak Mbps: 6620.016 Avg Mbps: 6541.793 --- 127.0.0.1 tcpbench statistics --- 4844271804 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5865.542/6432.686/6625.726/285.262 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 4844271804 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 5870.628/6432.474/6620.016/282.263 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: 1762.549 Peak Mbps: 1762.549 Tx PPS: 149673 Elapsed: 999 Mbps: 1224.138 Peak Mbps: 1224.138 Rx PPS: 103951 Elapsed: 2000 Mbps: 2006.352 Peak Mbps: 2006.352 Tx PPS: 170376 Elapsed: 1999 Mbps: 1345.918 Peak Mbps: 1345.918 Rx PPS: 114293 Elapsed: 3000 Mbps: 1996.409 Peak Mbps: 2006.352 Tx PPS: 169532 Elapsed: 2999 Mbps: 1234.513 Peak Mbps: 1345.918 Rx PPS: 104833 Elapsed: 4000 Mbps: 1955.829 Peak Mbps: 2006.352 Tx PPS: 166086 Elapsed: 3999 Mbps: 1487.956 Peak Mbps: 1487.956 Rx PPS: 126355 Elapsed: 5000 Mbps: 1965.167 Peak Mbps: 2006.352 Tx PPS: 166879 Elapsed: 4999 Mbps: 1717.812 Peak Mbps: 1717.812 Rx PPS: 145874 --- 127.0.0.1 tcpbench statistics --- 1454771712 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1762.549/1937.261/2006.352/89.353 Mbps Elapsed: 6001 Mbps: 1597.101 Peak Mbps: 1717.812 Rx PPS: 135623 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1076698816 bytes received over 6.005 seconds bandwidth min/avg/max/std-dev = 1224.138/1434.573/1717.812/183.328 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: 1622.792 Peak Mbps: 1622.792 Tx PPS: 137805 Elapsed: 999 Mbps: 971.219 Peak Mbps: 971.219 Rx PPS: 82474 Elapsed: 2000 Mbps: 1747.964 Peak Mbps: 1747.964 Tx PPS: 148434 Elapsed: 1999 Mbps: 1063.058 Peak Mbps: 1063.058 Rx PPS: 90273 Elapsed: 3000 Mbps: 1814.670 Peak Mbps: 1814.670 Tx PPS: 154099 Elapsed: 2999 Mbps: 948.493 Peak Mbps: 1063.058 Rx PPS: 80544 Elapsed: 4054 Mbps: 990.257 Peak Mbps: 1063.058 Rx PPS: 84091 Elapsed: 4054 Mbps: 1850.307 Peak Mbps: 1850.307 Tx PPS: 157125 Elapsed: 5054 Mbps: 1238.342 Peak Mbps: 1238.342 Rx PPS: 105158 Elapsed: 5054 Mbps: 1942.616 Peak Mbps: 1942.616 Tx PPS: 164963 --- 127.0.0.1 tcpbench statistics --- 1348686144 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1622.792/1795.670/1942.616/106.866 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 776560960 bytes received over 6.036 seconds bandwidth min/avg/max/std-dev = 948.493/1042.274/1238.342/105.285 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m33.08s