START sys/kern/sosplice/perf 2025-01-06T04:39:13Z ==== 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 112610960 900.888 100.00% Conn: 1 Mbps: 900.888 Peak Mbps: 900.888 Avg Mbps: 900.888 1000 112568968 900.552 100.00% Conn: 1 Mbps: 900.552 Peak Mbps: 900.552 Avg Mbps: 900.552 2000 113809904 911.391 100.00% Conn: 1 Mbps: 911.391 Peak Mbps: 911.391 Avg Mbps: 911.391 2000 113809904 910.479 100.00% Conn: 1 Mbps: 910.479 Peak Mbps: 910.479 Avg Mbps: 910.479 3000 113830176 910.641 100.00% Conn: 1 Mbps: 910.641 Peak Mbps: 911.391 Avg Mbps: 910.641 3000 113827280 910.618 100.00% Conn: 1 Mbps: 910.618 Peak Mbps: 910.618 Avg Mbps: 910.618 4000 113809904 910.479 100.00% Conn: 1 Mbps: 910.479 Peak Mbps: 911.391 Avg Mbps: 910.479 4000 113809904 910.479 100.00% Conn: 1 Mbps: 910.479 Peak Mbps: 910.618 Avg Mbps: 910.479 5000 113809904 910.479 100.00% Conn: 1 Mbps: 910.479 Peak Mbps: 911.391 Avg Mbps: 910.479 5000 113808456 910.468 100.00% Conn: 1 Mbps: 910.468 Peak Mbps: 910.618 Avg Mbps: 910.468 --- 10.188.81.22 tcpbench statistics --- 681569256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 900.888/908.776/911.391/3.958 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 681569256 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 900.552/908.519/910.618/3.984 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 113068528 904.548 100.00% Conn: 1 Mbps: 904.548 Peak Mbps: 904.548 Avg Mbps: 904.548 1000 113041016 904.328 100.00% Conn: 1 Mbps: 904.328 Peak Mbps: 904.328 Avg Mbps: 904.328 2000 113792528 910.340 100.00% Conn: 1 Mbps: 910.340 Peak Mbps: 910.340 Avg Mbps: 910.340 2000 113786736 910.294 100.00% Conn: 1 Mbps: 910.294 Peak Mbps: 910.294 Avg Mbps: 910.294 3000 113838864 910.711 100.00% Conn: 1 Mbps: 910.711 Peak Mbps: 910.711 Avg Mbps: 910.711 3000 113825832 910.607 100.00% Conn: 1 Mbps: 910.607 Peak Mbps: 910.607 Avg Mbps: 910.607 4000 113804112 910.433 100.00% Conn: 1 Mbps: 910.433 Peak Mbps: 910.711 Avg Mbps: 910.433 4000 113807008 910.456 100.00% Conn: 1 Mbps: 910.456 Peak Mbps: 910.607 Avg Mbps: 910.456 5000 113821488 910.572 100.00% Conn: 1 Mbps: 910.572 Peak Mbps: 910.711 Avg Mbps: 910.572 5000 113818592 910.549 100.00% Conn: 1 Mbps: 910.549 Peak Mbps: 910.607 Avg Mbps: 910.549 --- 10.188.81.22 tcpbench statistics --- 682039856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 904.548/909.321/910.711/2.390 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 682039856 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 904.328/909.247/910.607/2.462 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.130 Peak Mbps: 957.130 Rx PPS: 81278 Elapsed: 2000 Mbps: 958.064 Peak Mbps: 965.868 Tx PPS: 81357 Elapsed: 1999 Mbps: 957.994 Peak Mbps: 957.994 Rx PPS: 81351 Elapsed: 3000 Mbps: 957.094 Peak Mbps: 965.868 Tx PPS: 81275 Elapsed: 3000 Mbps: 957.130 Peak Mbps: 957.994 Rx PPS: 81278 Elapsed: 4000 Mbps: 957.047 Peak Mbps: 965.868 Tx PPS: 81271 Elapsed: 4000 Mbps: 957.130 Peak Mbps: 957.994 Rx PPS: 81278 Elapsed: 5000 Mbps: 957.106 Peak Mbps: 965.868 Tx PPS: 81276 Elapsed: 5000 Mbps: 957.130 Peak Mbps: 957.994 Rx PPS: 81278 --- 10.188.81.22 tcpbench statistics --- 718902720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 957.047/959.036/965.868/3.437 Mbps Elapsed: 6000 Mbps: 957.130 Peak Mbps: 957.994 Rx PPS: 81278 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 718144640 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 957.130/957.274/957.994/0.322 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.153 Peak Mbps: 957.153 Rx PPS: 81280 Elapsed: 2000 Mbps: 958.064 Peak Mbps: 965.868 Tx PPS: 81357 Elapsed: 1999 Mbps: 958.005 Peak Mbps: 958.005 Rx PPS: 81352 Elapsed: 3000 Mbps: 957.059 Peak Mbps: 965.868 Tx PPS: 81272 Elapsed: 3000 Mbps: 957.094 Peak Mbps: 958.005 Rx PPS: 81275 Elapsed: 4000 Mbps: 957.071 Peak Mbps: 965.868 Tx PPS: 81273 Elapsed: 4000 Mbps: 957.130 Peak Mbps: 958.005 Rx PPS: 81278 Elapsed: 5000 Mbps: 957.118 Peak Mbps: 965.868 Tx PPS: 81277 Elapsed: 5000 Mbps: 957.130 Peak Mbps: 958.005 Rx PPS: 81278 --- 10.188.81.22 tcpbench statistics --- 718901248 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.005 Rx PPS: 81277 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 718138752 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 957.094/957.272/958.005/0.329 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m44.82s