START sys/kern/sosplice/perf 2024-05-06T01:27:52Z ==== 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 1570631758 12565.054 100.00% Conn: 1 Mbps: 12565.054 Peak Mbps: 12565.054 Avg Mbps: 12565.054 1000 1570630976 12565.048 100.00% Conn: 1 Mbps: 12565.048 Peak Mbps: 12565.048 Avg Mbps: 12565.048 2000 1570295588 12574.940 100.00% Conn: 1 Mbps: 12574.940 Peak Mbps: 12574.940 Avg Mbps: 12574.940 2000 1570360992 12562.888 100.00% Conn: 1 Mbps: 12562.888 Peak Mbps: 12565.048 Avg Mbps: 12562.888 3000 1569932348 12559.459 100.00% Conn: 1 Mbps: 12559.459 Peak Mbps: 12574.940 Avg Mbps: 12559.459 3000 1569843814 12558.751 100.00% Conn: 1 Mbps: 12558.751 Peak Mbps: 12565.048 Avg Mbps: 12558.751 4000 1567663354 12541.307 100.00% Conn: 1 Mbps: 12541.307 Peak Mbps: 12574.940 Avg Mbps: 12541.307 4000 1567708824 12541.671 100.00% Conn: 1 Mbps: 12541.671 Peak Mbps: 12565.048 Avg Mbps: 12541.671 5000 1572792638 12582.341 100.00% Conn: 1 Mbps: 12582.341 Peak Mbps: 12582.341 Avg Mbps: 12582.341 5000 1572826546 12582.612 100.00% Conn: 1 Mbps: 12582.612 Peak Mbps: 12582.612 Avg Mbps: 12582.612 --- 127.0.0.1 tcpbench statistics --- 9422590618 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12541.307/12564.620/12582.341/14.077 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 9422590618 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 12541.671/12562.194/12582.612/13.104 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 1927501334 15420.011 100.00% Conn: 1 Mbps: 15420.011 Peak Mbps: 15420.011 Avg Mbps: 15420.011 1000 1926334304 15410.674 100.00% Conn: 1 Mbps: 15410.674 Peak Mbps: 15410.674 Avg Mbps: 15410.674 2000 1939146372 15513.171 100.00% Conn: 1 Mbps: 15513.171 Peak Mbps: 15513.171 Avg Mbps: 15513.171 2000 1938817024 15510.536 100.00% Conn: 1 Mbps: 15510.536 Peak Mbps: 15510.536 Avg Mbps: 15510.536 3000 1939876452 15534.546 100.00% Conn: 1 Mbps: 15534.546 Peak Mbps: 15534.546 Avg Mbps: 15534.546 3000 1939865600 15534.459 100.00% Conn: 1 Mbps: 15534.459 Peak Mbps: 15534.459 Avg Mbps: 15534.459 4000 1937312956 15498.504 100.00% Conn: 1 Mbps: 15498.504 Peak Mbps: 15534.546 Avg Mbps: 15498.504 4000 1937244160 15497.953 100.00% Conn: 1 Mbps: 15497.953 Peak Mbps: 15534.459 Avg Mbps: 15497.953 5000 1939318350 15514.547 100.00% Conn: 1 Mbps: 15514.547 Peak Mbps: 15534.546 Avg Mbps: 15514.547 5000 1939341312 15514.730 100.00% Conn: 1 Mbps: 15514.730 Peak Mbps: 15534.459 Avg Mbps: 15514.730 --- 127.0.0.1 tcpbench statistics --- 11620434540 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 15420.011/15496.156/15534.546/39.762 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 11620434540 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 15410.674/15493.671/15534.459/43.124 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: 1501.369 Peak Mbps: 1501.369 Tx PPS: 127494 Elapsed: 1000 Mbps: 1501.381 Peak Mbps: 1501.381 Rx PPS: 127495 Elapsed: 2000 Mbps: 1496.743 Peak Mbps: 1501.369 Tx PPS: 127101 Elapsed: 2000 Mbps: 1496.778 Peak Mbps: 1501.381 Rx PPS: 127104 Elapsed: 3000 Mbps: 1513.522 Peak Mbps: 1513.522 Tx PPS: 128526 Elapsed: 3000 Mbps: 1513.546 Peak Mbps: 1513.546 Rx PPS: 128528 Elapsed: 4000 Mbps: 1519.823 Peak Mbps: 1519.823 Tx PPS: 129061 Elapsed: 4000 Mbps: 1518.280 Peak Mbps: 1518.280 Rx PPS: 128930 Elapsed: 5000 Mbps: 1515.430 Peak Mbps: 1519.823 Tx PPS: 128688 Elapsed: 5000 Mbps: 1515.477 Peak Mbps: 1518.280 Rx PPS: 128692 --- 127.0.0.1 tcpbench statistics --- 1132193216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1496.743/1509.377/1519.823/8.794 Mbps Elapsed: 6002 Mbps: 1510.560 Peak Mbps: 1518.280 Rx PPS: 128274 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1132193216 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1496.778/1509.337/1518.280/7.723 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: 1464.652 Peak Mbps: 1464.652 Tx PPS: 124376 Elapsed: 1000 Mbps: 1464.664 Peak Mbps: 1464.664 Rx PPS: 124377 Elapsed: 2000 Mbps: 1474.405 Peak Mbps: 1474.405 Tx PPS: 125204 Elapsed: 2000 Mbps: 1474.523 Peak Mbps: 1474.523 Rx PPS: 125214 Elapsed: 3000 Mbps: 1474.499 Peak Mbps: 1474.499 Tx PPS: 125212 Elapsed: 3000 Mbps: 1473.095 Peak Mbps: 1474.523 Rx PPS: 125093 Elapsed: 4000 Mbps: 1465.670 Peak Mbps: 1474.499 Tx PPS: 124462 Elapsed: 4000 Mbps: 1464.193 Peak Mbps: 1474.523 Rx PPS: 124337 Elapsed: 5000 Mbps: 1449.437 Peak Mbps: 1474.499 Tx PPS: 123084 Elapsed: 5000 Mbps: 1449.425 Peak Mbps: 1474.523 Rx PPS: 123083 --- 127.0.0.1 tcpbench statistics --- 1099526592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1449.437/1465.733/1474.499/9.152 Mbps Elapsed: 6002 Mbps: 1468.850 Peak Mbps: 1474.523 Rx PPS: 124732 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1099526592 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1449.425/1465.792/1474.523/8.273 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.57s