START sys/kern/sosplice/perf 2024-07-05T09:11:34Z ==== 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 ot11 '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 ot11 'cd /usr/src/regress/sys/kern/sosplice/perf && make PROG= LOCAL_ADDR=10.188.31.30 REMOTE_ADDR=10.188.31.31 remote-tcp-copy' ; sleep 2 ; tcpbench -t 7 -b 10.188.31.30 -s -p 12346 & sleep 1 ; tcpbench -t 5 10.188.31.31 ; pkill -x tcpbench pkill -x copy *** Error 1 in target 'remote-tcp-copy' (ignored) ./copy -b 10.188.31.31 12345 10.188.31.30 12346 & rpid=$! ; sleep 10 ; kill $rpid elapsed_ms bytes mbps bwidth elapsed_ms bytes mbps bwidth 1000 94120 0.753 100.00% Conn: 1 Mbps: 0.753 Peak Mbps: 0.753 Avg Mbps: 0.753 1000 82536 0.660 100.00% Conn: 1 Mbps: 0.660 Peak Mbps: 0.660 Avg Mbps: 0.660 2006 5815168 46.290 100.00% Conn: 1 Mbps: 46.290 Peak Mbps: 46.290 Avg Mbps: 46.290 2015 5583488 44.008 100.00% Conn: 1 Mbps: 44.008 Peak Mbps: 44.008 Avg Mbps: 44.008 3016 6316176 50.029 100.00% Conn: 1 Mbps: 50.029 Peak Mbps: 50.029 Avg Mbps: 50.029 3025 6293008 49.895 100.00% Conn: 1 Mbps: 49.895 Peak Mbps: 49.895 Avg Mbps: 49.895 4026 5615344 44.478 100.00% Conn: 1 Mbps: 44.478 Peak Mbps: 50.029 Avg Mbps: 44.478 4035 5844128 46.336 100.00% Conn: 1 Mbps: 46.336 Peak Mbps: 49.895 Avg Mbps: 46.336 5030 37556944 299.259 100.00% Conn: 1 Mbps: 299.259 Peak Mbps: 299.259 Avg Mbps: 299.259 5040 37581380 299.155 100.00% Conn: 1 Mbps: 299.155 Peak Mbps: 299.155 Avg Mbps: 299.155 --- 10.188.31.31 tcpbench statistics --- 94132312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 0.753/88.162/299.259/107.068 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 94132312 bytes received over 6.010 seconds bandwidth min/avg/max/std-dev = 0.660/88.011/299.155/107.087 Mbps sleep 1 ==== run-tcp-splice ==== ln -s relay splice ssh ot11 '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 ot11 'cd /usr/src/regress/sys/kern/sosplice/perf && make PROG= LOCAL_ADDR=10.188.31.30 REMOTE_ADDR=10.188.31.31 remote-tcp-splice' ; sleep 2 ; tcpbench -t 7 -b 10.188.31.30 -s -p 12346 & sleep 1 ; tcpbench -t 5 10.188.31.31 ; pkill -x tcpbench pkill -x splice *** Error 1 in target 'remote-tcp-splice' (ignored) ./splice -b 10.188.31.31 12345 10.188.31.30 12346 & rpid=$! ; sleep 10 ; kill $rpid elapsed_ms bytes mbps bwidth elapsed_ms bytes mbps bwidth 1000 13327392 106.619 100.00% Conn: 1 Mbps: 106.619 Peak Mbps: 106.619 Avg Mbps: 106.619 1015 13583912 107.065 100.00% Conn: 1 Mbps: 107.065 Peak Mbps: 107.065 Avg Mbps: 107.065 2002 22732152 181.676 100.00% Conn: 1 Mbps: 181.676 Peak Mbps: 181.676 Avg Mbps: 181.676 2024 22732040 180.413 100.00% Conn: 1 Mbps: 180.413 Peak Mbps: 180.413 Avg Mbps: 180.413 3002 38010168 304.386 100.00% Conn: 1 Mbps: 304.386 Peak Mbps: 304.386 Avg Mbps: 304.386 3027 38234832 304.964 100.00% Conn: 1 Mbps: 304.964 Peak Mbps: 304.964 Avg Mbps: 304.964 4003 38781120 309.939 100.00% Conn: 1 Mbps: 309.939 Peak Mbps: 309.939 Avg Mbps: 309.939 4017 38637364 312.221 100.00% Conn: 1 Mbps: 312.221 Peak Mbps: 312.221 Avg Mbps: 312.221 5008 39144344 311.597 100.00% Conn: 1 Mbps: 311.597 Peak Mbps: 311.597 Avg Mbps: 311.597 5028 39110508 309.786 100.00% Conn: 1 Mbps: 309.786 Peak Mbps: 312.221 Avg Mbps: 309.786 --- 10.188.31.31 tcpbench statistics --- 190354536 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 106.619/242.843/311.597/84.041 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 190354536 bytes received over 6.012 seconds bandwidth min/avg/max/std-dev = 107.065/242.890/312.221/84.246 Mbps sleep 1 ==== run-udp-copy ==== ssh ot11 '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 ot11 'cd /usr/src/regress/sys/kern/sosplice/perf && make PROG= LOCAL_ADDR=10.188.31.30 REMOTE_ADDR=10.188.31.31 remote-udp-copy' ; sleep 2 ; tcpbench -u -t 7 -b 10.188.31.30 -s -p 12346 & sleep 1 ; tcpbench -u -t 5 10.188.31.31 ; pkill -x tcpbench pkill -x copy *** Error 1 in target 'remote-udp-copy' (ignored) ./copy -u -b 10.188.31.31 12345 10.188.31.30 12346 & rpid=$! ; sleep 10 ; kill $rpid Elapsed: 1000 Mbps: 219.293 Peak Mbps: 219.293 Tx PPS: 18622 Elapsed: 1000 Mbps: 219.281 Peak Mbps: 219.281 Rx PPS: 18621 Elapsed: 2000 Mbps: 220.054 Peak Mbps: 220.054 Tx PPS: 18686 Elapsed: 2000 Mbps: 220.066 Peak Mbps: 220.066 Rx PPS: 18687 Elapsed: 3000 Mbps: 221.059 Peak Mbps: 221.059 Tx PPS: 18772 Elapsed: 3000 Mbps: 221.071 Peak Mbps: 221.071 Rx PPS: 18773 Elapsed: 4000 Mbps: 220.635 Peak Mbps: 221.059 Tx PPS: 18736 Elapsed: 4000 Mbps: 220.623 Peak Mbps: 221.071 Rx PPS: 18735 Elapsed: 5000 Mbps: 222.366 Peak Mbps: 222.366 Tx PPS: 18883 Elapsed: 5000 Mbps: 222.366 Peak Mbps: 222.366 Rx PPS: 18883 --- 10.188.31.31 tcpbench statistics --- 165717760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 219.293/220.682/222.366/1.030 Mbps Elapsed: 6010 Mbps: 220.304 Peak Mbps: 222.366 Rx PPS: 18707 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 165711872 bytes received over 6.010 seconds bandwidth min/avg/max/std-dev = 219.281/220.619/222.366/0.953 Mbps sleep 1 ==== run-udp-splice ==== ssh ot11 '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 ot11 'cd /usr/src/regress/sys/kern/sosplice/perf && make PROG= LOCAL_ADDR=10.188.31.30 REMOTE_ADDR=10.188.31.31 remote-udp-splice' ; sleep 2 ; tcpbench -u -t 7 -b 10.188.31.30 -s -p 12346 & sleep 1 ; tcpbench -u -t 5 10.188.31.31 ; pkill -x tcpbench pkill -x splice *** Error 1 in target 'remote-udp-splice' (ignored) ./splice -u -b 10.188.31.31 12345 10.188.31.30 12346 & rpid=$! ; sleep 10 ; kill $rpid Elapsed: 1000 Mbps: 228.973 Peak Mbps: 228.973 Tx PPS: 19444 Elapsed: 1000 Mbps: 228.973 Peak Mbps: 228.973 Rx PPS: 19444 Elapsed: 2000 Mbps: 230.828 Peak Mbps: 230.828 Tx PPS: 19601 Elapsed: 2000 Mbps: 230.899 Peak Mbps: 230.899 Rx PPS: 19607 Elapsed: 3000 Mbps: 231.328 Peak Mbps: 231.328 Tx PPS: 19644 Elapsed: 3000 Mbps: 231.340 Peak Mbps: 231.340 Rx PPS: 19645 Elapsed: 4000 Mbps: 230.916 Peak Mbps: 231.328 Tx PPS: 19609 Elapsed: 4000 Mbps: 230.904 Peak Mbps: 231.340 Rx PPS: 19608 Elapsed: 5000 Mbps: 230.904 Peak Mbps: 231.328 Tx PPS: 19608 Elapsed: 5000 Mbps: 230.845 Peak Mbps: 231.340 Rx PPS: 19603 --- 10.188.31.31 tcpbench statistics --- 172986496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 228.973/230.590/231.328/0.827 Mbps Elapsed: 6009 Mbps: 229.031 Peak Mbps: 231.340 Rx PPS: 19448 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 172977664 bytes received over 6.009 seconds bandwidth min/avg/max/std-dev = 228.973/230.332/231.340/0.955 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m49.51s