START sys/kern/sosplice/perf 2024-07-06T01:30:28Z ==== 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 1557037688 12456.302 100.00% Conn: 1 Mbps: 12456.302 Peak Mbps: 12456.302 Avg Mbps: 12456.302 999 1556966094 12468.197 100.00% Conn: 1 Mbps: 12468.197 Peak Mbps: 12468.197 Avg Mbps: 12468.197 2000 1561245570 12502.467 100.00% Conn: 1 Mbps: 12502.467 Peak Mbps: 12502.467 Avg Mbps: 12502.467 1999 1561238058 12502.407 100.00% Conn: 1 Mbps: 12502.407 Peak Mbps: 12502.407 Avg Mbps: 12502.407 3000 1557630692 12461.046 100.00% Conn: 1 Mbps: 12461.046 Peak Mbps: 12502.467 Avg Mbps: 12461.046 3000 1557663844 12461.311 100.00% Conn: 1 Mbps: 12461.311 Peak Mbps: 12502.407 Avg Mbps: 12461.311 4000 1558068986 12464.552 100.00% Conn: 1 Mbps: 12464.552 Peak Mbps: 12502.467 Avg Mbps: 12464.552 4000 1558035022 12476.757 100.00% Conn: 1 Mbps: 12476.757 Peak Mbps: 12502.407 Avg Mbps: 12476.757 5000 1557075048 12456.600 100.00% Conn: 1 Mbps: 12456.600 Peak Mbps: 12502.467 Avg Mbps: 12456.600 5000 1557080364 12456.643 100.00% Conn: 1 Mbps: 12456.643 Peak Mbps: 12502.407 Avg Mbps: 12456.643 --- 127.0.0.1 tcpbench statistics --- 9342552902 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12456.302/12468.193/12502.467/17.406 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 9342552902 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 12456.643/12473.063/12502.407/16.162 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 1884685254 15077.482 100.00% Conn: 1 Mbps: 15077.482 Peak Mbps: 15077.482 Avg Mbps: 15077.482 1000 1882995552 15063.964 100.00% Conn: 1 Mbps: 15063.964 Peak Mbps: 15063.964 Avg Mbps: 15063.964 2000 1901130952 15224.272 100.00% Conn: 1 Mbps: 15224.272 Peak Mbps: 15224.272 Avg Mbps: 15224.272 2000 1901330432 15210.643 100.00% Conn: 1 Mbps: 15210.643 Peak Mbps: 15210.643 Avg Mbps: 15210.643 3000 1897677104 15181.417 100.00% Conn: 1 Mbps: 15181.417 Peak Mbps: 15224.272 Avg Mbps: 15181.417 3000 1897660416 15181.283 100.00% Conn: 1 Mbps: 15181.283 Peak Mbps: 15210.643 Avg Mbps: 15181.283 4000 1894524424 15171.367 100.00% Conn: 1 Mbps: 15171.367 Peak Mbps: 15224.272 Avg Mbps: 15171.367 4000 1894514688 15171.289 100.00% Conn: 1 Mbps: 15171.289 Peak Mbps: 15210.643 Avg Mbps: 15171.289 5000 1902177838 15232.655 100.00% Conn: 1 Mbps: 15232.655 Peak Mbps: 15232.655 Avg Mbps: 15232.655 5000 1902116864 15232.167 100.00% Conn: 1 Mbps: 15232.167 Peak Mbps: 15232.167 Avg Mbps: 15232.167 --- 127.0.0.1 tcpbench statistics --- 11381798822 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 15077.482/15177.439/15232.655/55.292 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 11381798822 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 15063.964/15171.869/15232.167/58.089 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: 1452.829 Peak Mbps: 1452.829 Tx PPS: 123372 Elapsed: 1000 Mbps: 1452.935 Peak Mbps: 1452.935 Rx PPS: 123381 Elapsed: 2000 Mbps: 1457.430 Peak Mbps: 1457.430 Tx PPS: 123762 Elapsed: 1999 Mbps: 1457.454 Peak Mbps: 1457.454 Rx PPS: 123764 Elapsed: 3000 Mbps: 1457.904 Peak Mbps: 1457.904 Tx PPS: 123803 Elapsed: 3000 Mbps: 1457.904 Peak Mbps: 1457.904 Rx PPS: 123803 Elapsed: 4000 Mbps: 1459.210 Peak Mbps: 1459.210 Tx PPS: 123913 Elapsed: 4000 Mbps: 1457.798 Peak Mbps: 1457.904 Rx PPS: 123794 Elapsed: 5000 Mbps: 1458.081 Peak Mbps: 1459.210 Tx PPS: 123818 Elapsed: 5000 Mbps: 1458.034 Peak Mbps: 1458.034 Rx PPS: 123814 --- 127.0.0.1 tcpbench statistics --- 1092218112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1452.829/1457.091/1459.210/2.210 Mbps Elapsed: 6002 Mbps: 1452.174 Peak Mbps: 1458.034 Rx PPS: 123316 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1092218112 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1452.174/1456.050/1458.034/2.488 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: 1431.455 Peak Mbps: 1431.455 Tx PPS: 121557 Elapsed: 1000 Mbps: 1431.538 Peak Mbps: 1431.538 Rx PPS: 121564 Elapsed: 2000 Mbps: 1442.236 Peak Mbps: 1442.236 Tx PPS: 122472 Elapsed: 1999 Mbps: 1442.318 Peak Mbps: 1442.318 Rx PPS: 122479 Elapsed: 3000 Mbps: 1444.774 Peak Mbps: 1444.774 Tx PPS: 122688 Elapsed: 2999 Mbps: 1444.774 Peak Mbps: 1444.774 Rx PPS: 122688 Elapsed: 4000 Mbps: 1447.565 Peak Mbps: 1447.565 Tx PPS: 122925 Elapsed: 3999 Mbps: 1447.577 Peak Mbps: 1447.577 Rx PPS: 122926 Elapsed: 5000 Mbps: 1435.294 Peak Mbps: 1447.565 Tx PPS: 121883 Elapsed: 5000 Mbps: 1435.247 Peak Mbps: 1447.577 Rx PPS: 121879 --- 127.0.0.1 tcpbench statistics --- 1087260416 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1431.455/1440.265/1447.565/5.997 Mbps Elapsed: 6002 Mbps: 1495.082 Peak Mbps: 1495.082 Rx PPS: 126960 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1087260416 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1431.538/1449.423/1495.082/21.139 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.57s