START sys/kern/sosplice/perf 2023-12-16T00:02:13Z ==== run-tcp-copy ==== cc -O2 -pipe -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -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 110942864 887.543 100.00% Conn: 1 Mbps: 887.543 Peak Mbps: 887.543 Avg Mbps: 887.543 999 110922592 888.269 100.00% Conn: 1 Mbps: 888.269 Peak Mbps: 888.269 Avg Mbps: 888.269 2000 111480072 891.841 100.00% Conn: 1 Mbps: 891.841 Peak Mbps: 891.841 Avg Mbps: 891.841 2000 111480072 891.841 100.00% Conn: 1 Mbps: 891.841 Peak Mbps: 891.841 Avg Mbps: 891.841 3000 112146152 897.169 100.00% Conn: 1 Mbps: 897.169 Peak Mbps: 897.169 Avg Mbps: 897.169 3000 112151944 897.216 100.00% Conn: 1 Mbps: 897.216 Peak Mbps: 897.216 Avg Mbps: 897.216 4000 112356112 898.849 100.00% Conn: 1 Mbps: 898.849 Peak Mbps: 898.849 Avg Mbps: 898.849 4000 112353216 898.826 100.00% Conn: 1 Mbps: 898.826 Peak Mbps: 898.826 Avg Mbps: 898.826 5000 112529872 900.239 100.00% Conn: 1 Mbps: 900.239 Peak Mbps: 900.239 Avg Mbps: 900.239 5000 112573312 900.586 100.00% Conn: 1 Mbps: 900.586 Peak Mbps: 900.586 Avg Mbps: 900.586 --- 10.188.81.22 tcpbench statistics --- 671544752 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 887.543/895.128/900.239/4.743 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 671544752 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 888.269/895.347/900.586/4.592 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 112231584 897.853 100.00% Conn: 1 Mbps: 897.853 Peak Mbps: 897.853 Avg Mbps: 897.853 1000 112221448 897.772 100.00% Conn: 1 Mbps: 897.772 Peak Mbps: 897.772 Avg Mbps: 897.772 2000 112938208 903.506 100.00% Conn: 1 Mbps: 903.506 Peak Mbps: 903.506 Avg Mbps: 903.506 2000 112951240 903.610 100.00% Conn: 1 Mbps: 903.610 Peak Mbps: 903.610 Avg Mbps: 903.610 3000 113450800 907.606 100.00% Conn: 1 Mbps: 907.606 Peak Mbps: 907.606 Avg Mbps: 907.606 3000 113423288 908.295 100.00% Conn: 1 Mbps: 908.295 Peak Mbps: 908.295 Avg Mbps: 908.295 4000 113482656 907.861 100.00% Conn: 1 Mbps: 907.861 Peak Mbps: 907.861 Avg Mbps: 907.861 4000 113487000 907.896 100.00% Conn: 1 Mbps: 907.896 Peak Mbps: 908.295 Avg Mbps: 907.896 5000 113543472 908.348 100.00% Conn: 1 Mbps: 908.348 Peak Mbps: 908.348 Avg Mbps: 908.348 5000 113575328 908.603 100.00% Conn: 1 Mbps: 908.603 Peak Mbps: 908.603 Avg Mbps: 908.603 --- 10.188.81.22 tcpbench statistics --- 678970096 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 897.853/905.035/908.348/3.987 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 678970096 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 897.772/905.235/908.603/4.150 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: 692.111 Peak Mbps: 692.111 Tx PPS: 58773 Elapsed: 999 Mbps: 691.943 Peak Mbps: 691.943 Rx PPS: 58758 Elapsed: 2000 Mbps: 713.173 Peak Mbps: 713.173 Tx PPS: 60561 Elapsed: 1999 Mbps: 712.112 Peak Mbps: 712.112 Rx PPS: 60471 Elapsed: 3000 Mbps: 706.007 Peak Mbps: 713.173 Tx PPS: 59953 Elapsed: 2999 Mbps: 705.512 Peak Mbps: 712.112 Rx PPS: 59911 Elapsed: 4000 Mbps: 707.585 Peak Mbps: 713.173 Tx PPS: 60087 Elapsed: 4000 Mbps: 706.395 Peak Mbps: 712.112 Rx PPS: 59986 Elapsed: 5000 Mbps: 709.233 Peak Mbps: 713.173 Tx PPS: 60227 Elapsed: 5000 Mbps: 708.456 Peak Mbps: 712.112 Rx PPS: 60161 --- 10.188.81.22 tcpbench statistics --- 529581440 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 692.111/705.622/713.173/7.164 Mbps Elapsed: 6003 Mbps: 706.349 Peak Mbps: 712.112 Rx PPS: 59982 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 528935232 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 691.943/705.128/712.112/6.284 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: 689.084 Peak Mbps: 689.084 Tx PPS: 58516 Elapsed: 1000 Mbps: 688.036 Peak Mbps: 688.036 Rx PPS: 58427 Elapsed: 2000 Mbps: 715.672 Peak Mbps: 715.672 Tx PPS: 60773 Elapsed: 2000 Mbps: 713.998 Peak Mbps: 713.998 Rx PPS: 60631 Elapsed: 3000 Mbps: 711.600 Peak Mbps: 715.672 Tx PPS: 60428 Elapsed: 3000 Mbps: 709.822 Peak Mbps: 713.998 Rx PPS: 60277 Elapsed: 4000 Mbps: 714.497 Peak Mbps: 715.672 Tx PPS: 60674 Elapsed: 4000 Mbps: 713.155 Peak Mbps: 713.998 Rx PPS: 60560 Elapsed: 5000 Mbps: 712.130 Peak Mbps: 715.672 Tx PPS: 60473 Elapsed: 5000 Mbps: 710.682 Peak Mbps: 713.998 Rx PPS: 60350 --- 10.188.81.22 tcpbench statistics --- 531717312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 689.084/708.597/715.672/9.870 Mbps Elapsed: 6002 Mbps: 708.511 Peak Mbps: 713.998 Rx PPS: 60165 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 530613312 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 688.036/707.367/713.998/8.846 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m47.17s