START sys/kern/sosplice/perf 2024-03-05T02:27: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 1554848328 12438.787 100.00% Conn: 1 Mbps: 12438.787 Peak Mbps: 12438.787 Avg Mbps: 12438.787 1000 1554769358 12438.155 100.00% Conn: 1 Mbps: 12438.155 Peak Mbps: 12438.155 Avg Mbps: 12438.155 2000 1550815610 12418.944 100.00% Conn: 1 Mbps: 12418.944 Peak Mbps: 12438.787 Avg Mbps: 12418.944 2000 1550944902 12407.559 100.00% Conn: 1 Mbps: 12407.559 Peak Mbps: 12438.155 Avg Mbps: 12407.559 3000 1558319252 12479.033 100.00% Conn: 1 Mbps: 12479.033 Peak Mbps: 12479.033 Avg Mbps: 12479.033 3000 1558388938 12467.112 100.00% Conn: 1 Mbps: 12467.112 Peak Mbps: 12467.112 Avg Mbps: 12467.112 4000 1557435560 12459.484 100.00% Conn: 1 Mbps: 12459.484 Peak Mbps: 12479.033 Avg Mbps: 12459.484 4000 1557372894 12471.455 100.00% Conn: 1 Mbps: 12471.455 Peak Mbps: 12471.455 Avg Mbps: 12471.455 5000 1556031124 12448.249 100.00% Conn: 1 Mbps: 12448.249 Peak Mbps: 12479.033 Avg Mbps: 12448.249 5000 1555893032 12447.144 100.00% Conn: 1 Mbps: 12447.144 Peak Mbps: 12471.455 Avg Mbps: 12447.144 --- 127.0.0.1 tcpbench statistics --- 9334362686 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12418.944/12448.899/12479.033/20.100 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 9334362686 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 12407.559/12446.285/12471.455/22.951 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 1925412460 15403.300 100.00% Conn: 1 Mbps: 15403.300 Peak Mbps: 15403.300 Avg Mbps: 15403.300 1000 1924029156 15392.233 100.00% Conn: 1 Mbps: 15392.233 Peak Mbps: 15392.233 Avg Mbps: 15392.233 2000 1938424282 15507.394 100.00% Conn: 1 Mbps: 15507.394 Peak Mbps: 15507.394 Avg Mbps: 15507.394 2000 1938292736 15506.342 100.00% Conn: 1 Mbps: 15506.342 Peak Mbps: 15506.342 Avg Mbps: 15506.342 3000 1933733068 15469.865 100.00% Conn: 1 Mbps: 15469.865 Peak Mbps: 15507.394 Avg Mbps: 15469.865 3000 1933574144 15468.593 100.00% Conn: 1 Mbps: 15468.593 Peak Mbps: 15506.342 Avg Mbps: 15468.593 4000 1939698602 15533.122 100.00% Conn: 1 Mbps: 15533.122 Peak Mbps: 15533.122 Avg Mbps: 15533.122 4000 1940127744 15521.022 100.00% Conn: 1 Mbps: 15521.022 Peak Mbps: 15521.022 Avg Mbps: 15521.022 5000 1936944098 15511.064 100.00% Conn: 1 Mbps: 15511.064 Peak Mbps: 15533.122 Avg Mbps: 15511.064 5000 1936982016 15511.367 100.00% Conn: 1 Mbps: 15511.367 Peak Mbps: 15521.022 Avg Mbps: 15511.367 --- 127.0.0.1 tcpbench statistics --- 11614069708 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 15403.300/15484.949/15533.122/45.608 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 11614069708 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 15392.233/15479.912/15521.022/47.315 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: 1594.576 Peak Mbps: 1594.576 Tx PPS: 135409 Elapsed: 1000 Mbps: 1376.932 Peak Mbps: 1376.932 Rx PPS: 116927 Elapsed: 2000 Mbps: 1599.249 Peak Mbps: 1599.249 Tx PPS: 135805 Elapsed: 2000 Mbps: 1379.183 Peak Mbps: 1379.183 Rx PPS: 117118 Elapsed: 3000 Mbps: 1601.878 Peak Mbps: 1601.878 Tx PPS: 136029 Elapsed: 3000 Mbps: 1378.546 Peak Mbps: 1379.183 Rx PPS: 117064 Elapsed: 4000 Mbps: 1597.179 Peak Mbps: 1601.878 Tx PPS: 135630 Elapsed: 4000 Mbps: 1379.582 Peak Mbps: 1379.582 Rx PPS: 117152 Elapsed: 5000 Mbps: 1599.414 Peak Mbps: 1601.878 Tx PPS: 135819 Elapsed: 5000 Mbps: 1382.260 Peak Mbps: 1382.260 Rx PPS: 117379 --- 127.0.0.1 tcpbench statistics --- 1198185920 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1594.576/1598.459/1601.878/2.447 Mbps Elapsed: 6000 Mbps: 1377.345 Peak Mbps: 1382.260 Rx PPS: 116962 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1033944576 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1376.932/1378.975/1382.260/1.742 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: 1534.083 Peak Mbps: 1534.083 Tx PPS: 130272 Elapsed: 1000 Mbps: 1534.107 Peak Mbps: 1534.107 Rx PPS: 130274 Elapsed: 2000 Mbps: 1532.613 Peak Mbps: 1534.083 Tx PPS: 130147 Elapsed: 1999 Mbps: 1532.766 Peak Mbps: 1534.107 Rx PPS: 130160 Elapsed: 3000 Mbps: 1533.424 Peak Mbps: 1534.083 Tx PPS: 130216 Elapsed: 2999 Mbps: 1533.365 Peak Mbps: 1534.107 Rx PPS: 130211 Elapsed: 4000 Mbps: 1533.176 Peak Mbps: 1534.083 Tx PPS: 130195 Elapsed: 3999 Mbps: 1534.687 Peak Mbps: 1534.687 Rx PPS: 130323 Elapsed: 5000 Mbps: 1535.390 Peak Mbps: 1535.390 Tx PPS: 130383 Elapsed: 4999 Mbps: 1535.449 Peak Mbps: 1535.449 Rx PPS: 130388 --- 127.0.0.1 tcpbench statistics --- 1150142784 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1532.613/1533.737/1535.390/0.952 Mbps Elapsed: 6002 Mbps: 1530.774 Peak Mbps: 1535.449 Rx PPS: 129991 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1150142784 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1530.774/1533.525/1535.449/1.503 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.58s