START sys/kern/sosplice/perf 2024-12-30T00:12:08Z ==== 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 ssh ot2 'cd /usr/src/regress/sys/kern/sosplice/perf && make copy splice' `copy' is up to date. `splice' is up to date. pkill -x tcpbench *** Error 1 in target 'run-tcp-copy' (ignored) ssh -f ot2 'cd /usr/src/regress/sys/kern/sosplice/perf && make PROG= LOCAL_ADDR=10.188.81.21 REMOTE_ADDR=10.188.81.22 remote-tcp-copy' ; sleep 2 ; tcpbench -t 7 -b 10.188.81.21 -s -p 12346 & sleep 1 ; tcpbench -t 5 10.188.81.22 ; pkill -x tcpbench pkill -x copy *** Error 1 in target 'remote-tcp-copy' (ignored) ./copy -b 10.188.81.22 12345 10.188.81.21 12346 & rpid=$! ; sleep 10 ; kill $rpid elapsed_ms bytes mbps bwidth elapsed_ms bytes mbps bwidth 1000 112586344 900.691 100.00% Conn: 1 Mbps: 900.691 Peak Mbps: 900.691 Avg Mbps: 900.691 1000 112553040 900.424 100.00% Conn: 1 Mbps: 900.424 Peak Mbps: 900.424 Avg Mbps: 900.424 2000 113804112 911.344 100.00% Conn: 1 Mbps: 911.344 Peak Mbps: 911.344 Avg Mbps: 911.344 2000 113808456 910.468 100.00% Conn: 1 Mbps: 910.468 Peak Mbps: 910.468 Avg Mbps: 910.468 3000 113809904 910.479 100.00% Conn: 1 Mbps: 910.479 Peak Mbps: 911.344 Avg Mbps: 910.479 3000 113811352 910.491 100.00% Conn: 1 Mbps: 910.491 Peak Mbps: 910.491 Avg Mbps: 910.491 4000 113831624 910.653 100.00% Conn: 1 Mbps: 910.653 Peak Mbps: 911.344 Avg Mbps: 910.653 4000 113811352 910.491 100.00% Conn: 1 Mbps: 910.491 Peak Mbps: 910.491 Avg Mbps: 910.491 5000 113807008 910.456 100.00% Conn: 1 Mbps: 910.456 Peak Mbps: 911.344 Avg Mbps: 910.456 5000 113809904 910.479 100.00% Conn: 1 Mbps: 910.479 Peak Mbps: 910.491 Avg Mbps: 910.479 --- 10.188.81.22 tcpbench statistics --- 681538848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 900.691/908.725/911.344/4.030 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 681538848 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 900.424/908.471/910.491/4.023 Mbps sleep 1 ==== run-tcp-splice ==== ln -s relay splice ssh ot2 'cd /usr/src/regress/sys/kern/sosplice/perf && make copy splice' `copy' is up to date. `splice' is up to date. pkill -x tcpbench *** Error 1 in target 'run-tcp-splice' (ignored) ssh -f ot2 'cd /usr/src/regress/sys/kern/sosplice/perf && make PROG= LOCAL_ADDR=10.188.81.21 REMOTE_ADDR=10.188.81.22 remote-tcp-splice' ; sleep 2 ; tcpbench -t 7 -b 10.188.81.21 -s -p 12346 & sleep 1 ; tcpbench -t 5 10.188.81.22 ; pkill -x tcpbench pkill -x splice *** Error 1 in target 'remote-tcp-splice' (ignored) ./splice -b 10.188.81.22 12345 10.188.81.21 12346 & rpid=$! ; sleep 10 ; kill $rpid elapsed_ms bytes mbps bwidth elapsed_ms bytes mbps bwidth 1000 113000472 904.004 100.00% Conn: 1 Mbps: 904.004 Peak Mbps: 904.004 Avg Mbps: 904.004 1000 112972960 903.784 100.00% Conn: 1 Mbps: 903.784 Peak Mbps: 903.784 Avg Mbps: 903.784 2000 113814248 910.514 100.00% Conn: 1 Mbps: 910.514 Peak Mbps: 910.514 Avg Mbps: 910.514 2000 113801216 910.410 100.00% Conn: 1 Mbps: 910.410 Peak Mbps: 910.410 Avg Mbps: 910.410 3000 113814248 910.514 100.00% Conn: 1 Mbps: 910.514 Peak Mbps: 910.514 Avg Mbps: 910.514 3000 113815696 910.526 100.00% Conn: 1 Mbps: 910.526 Peak Mbps: 910.526 Avg Mbps: 910.526 4000 113828728 910.630 100.00% Conn: 1 Mbps: 910.630 Peak Mbps: 910.630 Avg Mbps: 910.630 4000 113807008 910.456 100.00% Conn: 1 Mbps: 910.456 Peak Mbps: 910.526 Avg Mbps: 910.456 5000 113796872 910.375 100.00% Conn: 1 Mbps: 910.375 Peak Mbps: 910.630 Avg Mbps: 910.375 5000 113807008 910.456 100.00% Conn: 1 Mbps: 910.456 Peak Mbps: 910.526 Avg Mbps: 910.456 --- 10.188.81.22 tcpbench statistics --- 681974696 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 904.004/909.207/910.630/2.603 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 681974696 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 903.784/909.126/910.526/2.672 Mbps sleep 1 ==== run-udp-copy ==== ssh ot2 'cd /usr/src/regress/sys/kern/sosplice/perf && make copy splice' `copy' is up to date. `splice' is up to date. pkill -x tcpbench *** Error 1 in target 'run-udp-copy' (ignored) ssh -f ot2 'cd /usr/src/regress/sys/kern/sosplice/perf && make PROG= LOCAL_ADDR=10.188.81.21 REMOTE_ADDR=10.188.81.22 remote-udp-copy' ; sleep 2 ; tcpbench -u -t 7 -b 10.188.81.21 -s -p 12346 & sleep 1 ; tcpbench -u -t 5 10.188.81.22 ; pkill -x tcpbench pkill -x copy *** Error 1 in target 'remote-udp-copy' (ignored) ./copy -u -b 10.188.81.22 12345 10.188.81.21 12346 & rpid=$! ; sleep 10 ; kill $rpid Elapsed: 1000 Mbps: 965.868 Peak Mbps: 965.868 Tx PPS: 82020 Elapsed: 1000 Mbps: 957.212 Peak Mbps: 957.212 Rx PPS: 81285 Elapsed: 2000 Mbps: 958.064 Peak Mbps: 965.868 Tx PPS: 81357 Elapsed: 2000 Mbps: 958.088 Peak Mbps: 958.088 Rx PPS: 81359 Elapsed: 3000 Mbps: 957.071 Peak Mbps: 965.868 Tx PPS: 81273 Elapsed: 3000 Mbps: 957.130 Peak Mbps: 958.088 Rx PPS: 81278 Elapsed: 4000 Mbps: 957.059 Peak Mbps: 965.868 Tx PPS: 81272 Elapsed: 4000 Mbps: 957.130 Peak Mbps: 958.088 Rx PPS: 81278 Elapsed: 5000 Mbps: 957.118 Peak Mbps: 965.868 Tx PPS: 81277 Elapsed: 5000 Mbps: 957.130 Peak Mbps: 958.088 Rx PPS: 81278 --- 10.188.81.22 tcpbench statistics --- 718902720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 957.059/959.036/965.868/3.437 Mbps Elapsed: 6000 Mbps: 957.118 Peak Mbps: 958.088 Rx PPS: 81277 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 718129920 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 957.118/957.301/958.088/0.353 Mbps sleep 1 ==== run-udp-splice ==== ssh ot2 'cd /usr/src/regress/sys/kern/sosplice/perf && make copy splice' `copy' is up to date. `splice' is up to date. pkill -x tcpbench *** Error 1 in target 'run-udp-splice' (ignored) ssh -f ot2 'cd /usr/src/regress/sys/kern/sosplice/perf && make PROG= LOCAL_ADDR=10.188.81.21 REMOTE_ADDR=10.188.81.22 remote-udp-splice' ; sleep 2 ; tcpbench -u -t 7 -b 10.188.81.21 -s -p 12346 & sleep 1 ; tcpbench -u -t 5 10.188.81.22 ; pkill -x tcpbench pkill -x splice *** Error 1 in target 'remote-udp-splice' (ignored) ./splice -u -b 10.188.81.22 12345 10.188.81.21 12346 & rpid=$! ; sleep 10 ; kill $rpid Elapsed: 1000 Mbps: 965.868 Peak Mbps: 965.868 Tx PPS: 82020 Elapsed: 1000 Mbps: 957.212 Peak Mbps: 957.212 Rx PPS: 81285 Elapsed: 2000 Mbps: 958.064 Peak Mbps: 965.868 Tx PPS: 81357 Elapsed: 1999 Mbps: 958.017 Peak Mbps: 958.017 Rx PPS: 81353 Elapsed: 3000 Mbps: 957.071 Peak Mbps: 965.868 Tx PPS: 81273 Elapsed: 3000 Mbps: 957.106 Peak Mbps: 958.017 Rx PPS: 81276 Elapsed: 4000 Mbps: 957.059 Peak Mbps: 965.868 Tx PPS: 81272 Elapsed: 4000 Mbps: 957.130 Peak Mbps: 958.017 Rx PPS: 81278 Elapsed: 5000 Mbps: 957.118 Peak Mbps: 965.868 Tx PPS: 81277 Elapsed: 5000 Mbps: 957.130 Peak Mbps: 958.017 Rx PPS: 81278 --- 10.188.81.22 tcpbench statistics --- 718902720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 957.059/959.036/965.868/3.437 Mbps Elapsed: 6000 Mbps: 957.130 Peak Mbps: 958.017 Rx PPS: 81278 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 718121088 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 957.106/957.287/958.017/0.328 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m44.94s