START sys/kern/sosplice/perf 2025-01-03T02:26:43Z ==== 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 pkill -x tcpbench *** Error 1 in target 'run-tcp-copy' (ignored) ./copy -4 12345 127.0.0.1 12346 & rpid=$! ; tcpbench -4 -t 7 -s -p 12346 & sleep 1 ; tcpbench -4 -t 5 127.0.0.1 ; kill $rpid ; pkill -x tcpbench elapsed_ms bytes mbps bwidth elapsed_ms bytes mbps bwidth 1000 2192181264 17537.450 100.00% Conn: 1 Mbps: 17537.450 Peak Mbps: 17537.450 Avg Mbps: 17537.450 999 2192181264 17555.005 100.00% Conn: 1 Mbps: 17555.005 Peak Mbps: 17555.005 Avg Mbps: 17555.005 2000 2204206026 17651.300 100.00% Conn: 1 Mbps: 17651.300 Peak Mbps: 17651.300 Avg Mbps: 17651.300 1999 2204271434 17651.823 100.00% Conn: 1 Mbps: 17651.823 Peak Mbps: 17651.823 Avg Mbps: 17651.823 3000 2201215260 17609.722 100.00% Conn: 1 Mbps: 17609.722 Peak Mbps: 17651.300 Avg Mbps: 17609.722 3000 2201149840 17609.199 100.00% Conn: 1 Mbps: 17609.199 Peak Mbps: 17651.823 Avg Mbps: 17609.199 4000 2200838678 17606.709 100.00% Conn: 1 Mbps: 17606.709 Peak Mbps: 17651.300 Avg Mbps: 17606.709 4000 2200871382 17606.971 100.00% Conn: 1 Mbps: 17606.971 Peak Mbps: 17651.823 Avg Mbps: 17606.971 5000 2207589504 17660.716 100.00% Conn: 1 Mbps: 17660.716 Peak Mbps: 17660.716 Avg Mbps: 17660.716 5000 2207589504 17660.716 100.00% Conn: 1 Mbps: 17660.716 Peak Mbps: 17660.716 Avg Mbps: 17660.716 --- 127.0.0.1 tcpbench statistics --- 13210155856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 17537.450/17613.179/17660.716/43.593 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 13210155856 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 17555.005/17616.743/17660.716/37.758 Mbps sleep 1 ==== run-tcp-splice ==== ln -s relay splice pkill -x tcpbench *** Error 1 in target 'run-tcp-splice' (ignored) ./splice -4 12345 127.0.0.1 12346 & rpid=$! ; tcpbench -4 -t 7 -s -p 12346 & sleep 1 ; tcpbench -4 -t 5 127.0.0.1 ; kill $rpid ; pkill -x tcpbench elapsed_ms bytes mbps bwidth elapsed_ms bytes mbps bwidth 1000 1885636208 15085.090 100.00% 999 1885538060 15099.404 100.00% Conn: 1 Mbps: 15085.090 Peak Mbps: 15085.090 Avg Mbps: 15085.090 Conn: 1 Mbps: 15099.404 Peak Mbps: 15099.404 Avg Mbps: 15099.404 2000 1896921384 15190.562 100.00% Conn: 1 Mbps: 15190.562 Peak Mbps: 15190.562 Avg Mbps: 15190.562 1999 1896954100 15175.633 100.00% Conn: 1 Mbps: 15175.633 Peak Mbps: 15175.633 Avg Mbps: 15175.633 3000 1896201984 15169.616 100.00% Conn: 1 Mbps: 15169.616 Peak Mbps: 15190.562 Avg Mbps: 15169.616 3000 1896234688 15169.878 100.00% Conn: 1 Mbps: 15169.878 Peak Mbps: 15175.633 Avg Mbps: 15169.878 4000 1897478096 15195.020 100.00% Conn: 1 Mbps: 15195.020 Peak Mbps: 15195.020 Avg Mbps: 15195.020 4000 1897478108 15179.825 100.00% Conn: 1 Mbps: 15179.825 Peak Mbps: 15179.825 Avg Mbps: 15179.825 5000 1894665124 15157.321 100.00% Conn: 1 Mbps: 15157.321 Peak Mbps: 15195.020 Avg Mbps: 15157.321 5000 1894599692 15156.798 100.00% Conn: 1 Mbps: 15156.798 Peak Mbps: 15179.825 Avg Mbps: 15156.798 --- 127.0.0.1 tcpbench statistics --- 11366336998 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 15085.090/15159.522/15195.020/39.675 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 11366336998 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 15099.404/15156.307/15179.825/29.492 Mbps sleep 1 ==== run-udp-copy ==== pkill -x tcpbench *** Error 1 in target 'run-udp-copy' (ignored) ./copy -u -4 12345 127.0.0.1 12346 & rpid=$! ; tcpbench -u -4 -t 7 -s -p 12346 & sleep 1 ; tcpbench -u -4 -t 5 127.0.0.1 ; kill $rpid ; pkill -x tcpbench Elapsed: 1000 Mbps: 3188.317 Peak Mbps: 3188.317 Tx PPS: 270747 Elapsed: 1000 Mbps: 2610.433 Peak Mbps: 2610.433 Rx PPS: 221674 Elapsed: 2000 Mbps: 2955.139 Peak Mbps: 3188.317 Tx PPS: 250945 Elapsed: 1999 Mbps: 2464.355 Peak Mbps: 2610.433 Rx PPS: 209269 Elapsed: 3000 Mbps: 2993.447 Peak Mbps: 3188.317 Tx PPS: 254199 Elapsed: 2999 Mbps: 2541.767 Peak Mbps: 2610.433 Rx PPS: 215843 Elapsed: 4000 Mbps: 2998.523 Peak Mbps: 3188.317 Tx PPS: 254630 Elapsed: 4000 Mbps: 2546.937 Peak Mbps: 2610.433 Rx PPS: 216282 Elapsed: 5000 Mbps: 2998.488 Peak Mbps: 3188.317 Tx PPS: 254627 Elapsed: 5000 Mbps: 2540.492 Peak Mbps: 2610.433 Rx PPS: 215734 --- 127.0.0.1 tcpbench statistics --- 2266001216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2955.139/3026.783/3188.317/82.385 Mbps Elapsed: 6000 Mbps: 2501.599 Peak Mbps: 2610.433 Rx PPS: 212432 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1900212160 bytes received over 6.015 seconds bandwidth min/avg/max/std-dev = 2464.355/2534.264/2610.433/44.743 Mbps sleep 1 ==== run-udp-splice ==== pkill -x tcpbench *** Error 1 in target 'run-udp-splice' (ignored) ./splice -u -4 12345 127.0.0.1 12346 & rpid=$! ; tcpbench -u -4 -t 7 -s -p 12346 & sleep 1 ; tcpbench -u -4 -t 5 127.0.0.1 ; kill $rpid ; pkill -x tcpbench Elapsed: 1000 Mbps: 3105.425 Peak Mbps: 3105.425 Tx PPS: 263708 Elapsed: 1000 Mbps: 2361.076 Peak Mbps: 2361.076 Rx PPS: 200499 Elapsed: 2000 Mbps: 2987.426 Peak Mbps: 3105.425 Tx PPS: 253687 Elapsed: 1999 Mbps: 2306.705 Peak Mbps: 2361.076 Rx PPS: 195881 Elapsed: 3000 Mbps: 2967.929 Peak Mbps: 3105.425 Tx PPS: 252032 Elapsed: 2999 Mbps: 2338.549 Peak Mbps: 2361.076 Rx PPS: 198586 Elapsed: 4000 Mbps: 2984.798 Peak Mbps: 3105.425 Tx PPS: 253464 Elapsed: 3999 Mbps: 2255.975 Peak Mbps: 2361.076 Rx PPS: 191574 Elapsed: 5017 Mbps: 2228.790 Peak Mbps: 2361.076 Rx PPS: 189265 Elapsed: 5017 Mbps: 3047.483 Peak Mbps: 3105.425 Tx PPS: 258787 --- 127.0.0.1 tcpbench statistics --- 2284845760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2967.929/3018.612/3105.425/51.098 Mbps Elapsed: 6036 Mbps: 2267.886 Peak Mbps: 2361.076 Rx PPS: 192585 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1729570560 bytes received over 6.047 seconds bandwidth min/avg/max/std-dev = 2228.790/2293.164/2361.076/46.585 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.68s