START sys/kern/sosplice/perf 2024-04-15T16:09:05Z ==== 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' 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 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 111983976 895.872 100.00% Conn: 1 Mbps: 895.872 Peak Mbps: 895.872 Avg Mbps: 895.872 1000 111955016 895.640 100.00% Conn: 1 Mbps: 895.640 Peak Mbps: 895.640 Avg Mbps: 895.640 2000 113604288 909.744 100.00% Conn: 1 Mbps: 909.744 Peak Mbps: 909.744 Avg Mbps: 909.744 2000 113621664 908.973 100.00% Conn: 1 Mbps: 908.973 Peak Mbps: 908.973 Avg Mbps: 908.973 3000 113520304 908.162 100.00% Conn: 1 Mbps: 908.162 Peak Mbps: 909.744 Avg Mbps: 908.162 3000 113513064 908.105 100.00% Conn: 1 Mbps: 908.105 Peak Mbps: 908.973 Avg Mbps: 908.105 4000 113340752 906.726 100.00% Conn: 1 Mbps: 906.726 Peak Mbps: 909.744 Avg Mbps: 906.726 4000 113343648 906.749 100.00% Conn: 1 Mbps: 906.749 Peak Mbps: 908.973 Avg Mbps: 906.749 5000 113048256 904.386 100.00% Conn: 1 Mbps: 904.386 Peak Mbps: 909.744 Avg Mbps: 904.386 5000 113043912 904.351 100.00% Conn: 1 Mbps: 904.351 Peak Mbps: 908.973 Avg Mbps: 904.351 --- 10.188.81.22 tcpbench statistics --- 678878872 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 895.872/904.978/909.744/4.882 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 678878872 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 895.640/904.764/908.973/4.821 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 111868136 894.945 100.00% Conn: 1 Mbps: 894.945 Peak Mbps: 894.945 Avg Mbps: 894.945 1000 111840624 894.725 100.00% Conn: 1 Mbps: 894.725 Peak Mbps: 894.725 Avg Mbps: 894.725 2000 113242288 906.845 100.00% Conn: 1 Mbps: 906.845 Peak Mbps: 906.845 Avg Mbps: 906.845 2000 113246632 905.973 100.00% Conn: 1 Mbps: 905.973 Peak Mbps: 905.973 Avg Mbps: 905.973 3000 113132240 905.058 100.00% Conn: 1 Mbps: 905.058 Peak Mbps: 906.845 Avg Mbps: 905.058 3000 113132240 905.058 100.00% Conn: 1 Mbps: 905.058 Peak Mbps: 905.973 Avg Mbps: 905.058 4000 113255320 906.043 100.00% Conn: 1 Mbps: 906.043 Peak Mbps: 906.845 Avg Mbps: 906.043 4000 113253872 906.031 100.00% Conn: 1 Mbps: 906.031 Peak Mbps: 906.031 Avg Mbps: 906.031 5000 113408808 907.270 100.00% Conn: 1 Mbps: 907.270 Peak Mbps: 907.270 Avg Mbps: 907.270 5000 113400120 907.201 100.00% Conn: 1 Mbps: 907.201 Peak Mbps: 907.201 Avg Mbps: 907.201 --- 10.188.81.22 tcpbench statistics --- 678014416 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 894.945/904.032/907.270/4.606 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 678014416 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 894.725/903.798/907.201/4.587 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: 875.805 Peak Mbps: 875.805 Tx PPS: 74372 Elapsed: 1000 Mbps: 876.099 Peak Mbps: 876.099 Rx PPS: 74397 Elapsed: 2000 Mbps: 893.679 Peak Mbps: 893.679 Tx PPS: 75889 Elapsed: 1999 Mbps: 893.726 Peak Mbps: 893.726 Rx PPS: 75893 Elapsed: 3000 Mbps: 889.194 Peak Mbps: 893.679 Tx PPS: 75509 Elapsed: 3000 Mbps: 889.194 Peak Mbps: 893.726 Rx PPS: 75509 Elapsed: 4000 Mbps: 890.996 Peak Mbps: 893.679 Tx PPS: 75662 Elapsed: 4000 Mbps: 890.902 Peak Mbps: 893.726 Rx PPS: 75654 Elapsed: 5000 Mbps: 892.915 Peak Mbps: 893.679 Tx PPS: 75825 Elapsed: 5000 Mbps: 892.986 Peak Mbps: 893.726 Rx PPS: 75831 --- 10.188.81.22 tcpbench statistics --- 666789504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 875.805/888.518/893.679/6.545 Mbps Elapsed: 6002 Mbps: 890.346 Peak Mbps: 893.726 Rx PPS: 75606 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 666767424 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 876.099/888.875/893.726/5.917 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: 882.658 Peak Mbps: 882.658 Tx PPS: 74954 Elapsed: 1000 Mbps: 882.776 Peak Mbps: 882.776 Rx PPS: 74964 Elapsed: 2000 Mbps: 900.787 Peak Mbps: 900.787 Tx PPS: 76493 Elapsed: 2000 Mbps: 900.964 Peak Mbps: 900.964 Rx PPS: 76508 Elapsed: 3000 Mbps: 895.871 Peak Mbps: 900.787 Tx PPS: 76076 Elapsed: 3000 Mbps: 895.871 Peak Mbps: 900.964 Rx PPS: 76076 Elapsed: 4000 Mbps: 898.803 Peak Mbps: 900.787 Tx PPS: 76325 Elapsed: 4000 Mbps: 898.815 Peak Mbps: 900.964 Rx PPS: 76326 Elapsed: 5000 Mbps: 898.697 Peak Mbps: 900.787 Tx PPS: 76316 Elapsed: 5000 Mbps: 898.544 Peak Mbps: 900.964 Rx PPS: 76303 --- 10.188.81.22 tcpbench statistics --- 671332096 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 882.658/895.363/900.787/6.543 Mbps Elapsed: 6003 Mbps: 891.888 Peak Mbps: 900.964 Rx PPS: 75737 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 671329152 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 882.776/894.810/900.964/6.087 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m52.06s