START sys/kern/sosplice/perf 2024-10-05T11:52:21Z ==== 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 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 68540020 548.320 100.00% Conn: 1 Mbps: 548.320 Peak Mbps: 548.320 Avg Mbps: 548.320 1000 68404208 547.234 100.00% Conn: 1 Mbps: 547.234 Peak Mbps: 547.234 Avg Mbps: 547.234 2001 61407932 491.263 100.00% Conn: 1 Mbps: 491.263 Peak Mbps: 548.320 Avg Mbps: 491.263 2000 61407232 491.258 100.00% Conn: 1 Mbps: 491.258 Peak Mbps: 547.234 Avg Mbps: 491.258 3001 60884476 487.076 100.00% Conn: 1 Mbps: 487.076 Peak Mbps: 548.320 Avg Mbps: 487.076 3000 60882944 487.064 100.00% Conn: 1 Mbps: 487.064 Peak Mbps: 547.234 Avg Mbps: 487.064 4001 61211636 489.693 100.00% Conn: 1 Mbps: 489.693 Peak Mbps: 548.320 Avg Mbps: 489.693 4000 61210624 489.685 100.00% Conn: 1 Mbps: 489.685 Peak Mbps: 547.234 Avg Mbps: 489.685 5002 61015340 488.123 100.00% Conn: 1 Mbps: 488.123 Peak Mbps: 548.320 Avg Mbps: 488.123 5001 61014016 487.625 100.00% Conn: 1 Mbps: 487.625 Peak Mbps: 547.234 Avg Mbps: 487.625 --- 127.0.0.1 tcpbench statistics --- 374205608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 487.076/500.895/548.320/23.755 Mbps 6015 61079552 482.366 100.00% Conn: 1 Mbps: 482.366 Peak Mbps: 547.234 Avg Mbps: 482.366 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 373998576 bytes received over 6.017 seconds bandwidth min/avg/max/std-dev = 482.366/497.538/547.234/22.394 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 1001 99505474 795.249 100.00% Conn: 1 Mbps: 795.249 Peak Mbps: 795.249 Avg Mbps: 795.249 1001 99603610 796.033 100.00% Conn: 1 Mbps: 796.033 Peak Mbps: 796.033 Avg Mbps: 796.033 2001 109140576 873.125 100.00% Conn: 1 Mbps: 873.125 Peak Mbps: 873.125 Avg Mbps: 873.125 2003 109140576 872.252 100.00% Conn: 1 Mbps: 872.252 Peak Mbps: 872.252 Avg Mbps: 872.252 3002 106620832 852.967 100.00% Conn: 1 Mbps: 852.967 Peak Mbps: 873.125 Avg Mbps: 852.967 3004 106637202 853.098 100.00% Conn: 1 Mbps: 853.098 Peak Mbps: 872.252 Avg Mbps: 853.098 4002 98752382 790.810 100.00% Conn: 1 Mbps: 790.810 Peak Mbps: 873.125 Avg Mbps: 790.810 4007 97627936 778.687 100.00% Conn: 1 Mbps: 778.687 Peak Mbps: 872.252 Avg Mbps: 778.687 5004 81410070 650.630 100.00% Conn: 1 Mbps: 650.630 Peak Mbps: 873.125 Avg Mbps: 650.630 5010 81526784 650.263 100.00% Conn: 1 Mbps: 650.263 Peak Mbps: 872.252 Avg Mbps: 650.263 --- 127.0.0.1 tcpbench statistics --- 575399972 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 650.630/792.556/873.125/77.838 Mbps sleep 1 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 574227884 bytes received over 6.037 seconds bandwidth min/avg/max/std-dev = 650.263/790.067/872.252/78.022 Mbps ==== 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: 70.809 Peak Mbps: 70.809 Tx PPS: 6013 Elapsed: 1000 Mbps: 67.418 Peak Mbps: 67.418 Rx PPS: 5725 Elapsed: 2000 Mbps: 68.795 Peak Mbps: 70.809 Tx PPS: 5842 Elapsed: 2000 Mbps: 68.831 Peak Mbps: 68.831 Rx PPS: 5845 Elapsed: 3000 Mbps: 68.489 Peak Mbps: 70.809 Tx PPS: 5816 Elapsed: 3000 Mbps: 68.489 Peak Mbps: 68.831 Rx PPS: 5816 Elapsed: 4000 Mbps: 68.522 Peak Mbps: 70.809 Tx PPS: 5818 Elapsed: 4000 Mbps: 68.454 Peak Mbps: 68.831 Rx PPS: 5813 Elapsed: 5000 Mbps: 68.713 Peak Mbps: 70.809 Tx PPS: 5835 Elapsed: 5000 Mbps: 68.713 Peak Mbps: 68.831 Rx PPS: 5835 --- 127.0.0.1 tcpbench statistics --- 51855616 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 68.489/69.066/70.809/0.879 Mbps Elapsed: 6016 Mbps: 68.510 Peak Mbps: 68.831 Rx PPS: 5817 sleep 1 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 51430208 bytes received over 6.035 seconds bandwidth min/avg/max/std-dev = 67.418/68.402/68.831/0.460 Mbps ==== 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: 80.253 Peak Mbps: 80.253 Tx PPS: 6815 Elapsed: 1000 Mbps: 80.265 Peak Mbps: 80.265 Rx PPS: 6816 Elapsed: 2000 Mbps: 80.298 Peak Mbps: 80.298 Tx PPS: 6818 Elapsed: 2000 Mbps: 80.334 Peak Mbps: 80.334 Rx PPS: 6821 Elapsed: 3000 Mbps: 80.041 Peak Mbps: 80.298 Tx PPS: 6797 Elapsed: 3000 Mbps: 80.041 Peak Mbps: 80.334 Rx PPS: 6797 Elapsed: 4000 Mbps: 80.136 Peak Mbps: 80.298 Tx PPS: 6805 Elapsed: 4000 Mbps: 80.136 Peak Mbps: 80.334 Rx PPS: 6805 Elapsed: 5000 Mbps: 79.865 Peak Mbps: 80.298 Tx PPS: 6782 Elapsed: 5000 Mbps: 79.865 Peak Mbps: 80.334 Rx PPS: 6782 --- 127.0.0.1 tcpbench statistics --- 60006080 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 79.865/80.119/80.298/0.156 Mbps Elapsed: 6016 Mbps: 78.313 Peak Mbps: 80.334 Rx PPS: 6650 sleep 1 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 60006080 bytes received over 6.034 seconds bandwidth min/avg/max/std-dev = 78.313/79.826/80.334/0.693 Mbps PASS sys/kern/sosplice/perf Duration 0m36.59s