START sys/kern/sosplice/perf 2025-01-09T04:34:45Z ==== 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' 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 ln -s relay splice 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 112619648 900.957 100.00% Conn: 1 Mbps: 900.957 Peak Mbps: 900.957 Avg Mbps: 900.957 1000 112573312 900.586 100.00% Conn: 1 Mbps: 900.586 Peak Mbps: 900.586 Avg Mbps: 900.586 2000 113808456 911.379 100.00% Conn: 1 Mbps: 911.379 Peak Mbps: 911.379 Avg Mbps: 911.379 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.379 Avg Mbps: 910.479 3000 113809904 910.479 100.00% Conn: 1 Mbps: 910.479 Peak Mbps: 910.479 Avg Mbps: 910.479 4000 113809904 910.479 100.00% Conn: 1 Mbps: 910.479 Peak Mbps: 911.379 Avg Mbps: 910.479 4000 113809904 910.479 100.00% Conn: 1 Mbps: 910.479 Peak Mbps: 910.479 Avg Mbps: 910.479 5000 113809904 910.479 100.00% Conn: 1 Mbps: 910.479 Peak Mbps: 911.379 Avg Mbps: 910.479 5000 113809904 910.479 100.00% Conn: 1 Mbps: 910.479 Peak Mbps: 910.479 Avg Mbps: 910.479 --- 10.188.81.22 tcpbench statistics --- 681575048 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 900.957/908.755/911.379/3.914 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 681575048 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 900.586/908.498/910.479/3.956 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 112983096 903.865 100.00% Conn: 1 Mbps: 903.865 Peak Mbps: 903.865 Avg Mbps: 903.865 999 112930968 904.352 100.00% Conn: 1 Mbps: 904.352 Peak Mbps: 904.352 Avg Mbps: 904.352 2000 113824384 911.507 100.00% Conn: 1 Mbps: 911.507 Peak Mbps: 911.507 Avg Mbps: 911.507 2000 113820040 910.560 100.00% Conn: 1 Mbps: 910.560 Peak Mbps: 910.560 Avg Mbps: 910.560 3000 113793976 910.352 100.00% Conn: 1 Mbps: 910.352 Peak Mbps: 911.507 Avg Mbps: 910.352 3000 113799768 910.398 100.00% Conn: 1 Mbps: 910.398 Peak Mbps: 910.560 Avg Mbps: 910.398 4000 113808456 910.468 100.00% Conn: 1 Mbps: 910.468 Peak Mbps: 911.507 Avg Mbps: 910.468 4000 113801216 911.321 100.00% Conn: 1 Mbps: 911.321 Peak Mbps: 911.321 Avg Mbps: 911.321 5000 113804112 910.433 100.00% Conn: 1 Mbps: 910.433 Peak Mbps: 911.507 Avg Mbps: 910.433 5000 113792528 910.340 100.00% Conn: 1 Mbps: 910.340 Peak Mbps: 911.321 Avg Mbps: 910.340 --- 10.188.81.22 tcpbench statistics --- 681960216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 903.865/909.325/911.507/2.763 Mbps 6000 113815696 910.526 100.00% Conn: 1 Mbps: 910.526 Peak Mbps: 911.321 Avg Mbps: 910.526 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 681960216 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 904.352/909.583/911.321/2.362 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.153 Peak Mbps: 957.153 Rx PPS: 81280 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.071 Peak Mbps: 965.868 Tx PPS: 81273 Elapsed: 4000 Mbps: 957.130 Peak Mbps: 958.088 Rx PPS: 81278 Elapsed: 5000 Mbps: 957.106 Peak Mbps: 965.868 Tx PPS: 81276 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.071/959.036/965.868/3.437 Mbps Elapsed: 6000 Mbps: 957.130 Peak Mbps: 958.088 Rx PPS: 81278 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 718154944 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 957.130/957.293/958.088/0.355 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.224 Peak Mbps: 957.224 Rx PPS: 81286 Elapsed: 2000 Mbps: 958.064 Peak Mbps: 965.868 Tx PPS: 81357 Elapsed: 1999 Mbps: 957.663 Peak Mbps: 957.663 Rx PPS: 81323 Elapsed: 3000 Mbps: 957.106 Peak Mbps: 965.868 Tx PPS: 81276 Elapsed: 3000 Mbps: 957.012 Peak Mbps: 957.663 Rx PPS: 81268 Elapsed: 4000 Mbps: 957.059 Peak Mbps: 965.868 Tx PPS: 81272 Elapsed: 4000 Mbps: 956.305 Peak Mbps: 957.663 Rx PPS: 81208 Elapsed: 5000 Mbps: 957.083 Peak Mbps: 965.868 Tx PPS: 81274 Elapsed: 5000 Mbps: 957.130 Peak Mbps: 957.663 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: 957.663 Rx PPS: 81278 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 718022464 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 956.305/957.077/957.663/0.402 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m51.36s