START sys/kern/sosplice/perf 2024-04-16T01:24:08Z ==== 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 1542119168 12336.953 100.00% Conn: 1 Mbps: 12336.953 Peak Mbps: 12336.953 Avg Mbps: 12336.953 1000 1542113662 12336.909 100.00% Conn: 1 Mbps: 12336.909 Peak Mbps: 12336.909 Avg Mbps: 12336.909 2000 1556070322 12448.563 100.00% Conn: 1 Mbps: 12448.563 Peak Mbps: 12448.563 Avg Mbps: 12448.563 2000 1556027794 12448.222 100.00% Conn: 1 Mbps: 12448.222 Peak Mbps: 12448.222 Avg Mbps: 12448.222 3000 1553081940 12437.093 100.00% Conn: 1 Mbps: 12437.093 Peak Mbps: 12448.563 Avg Mbps: 12437.093 3000 1553188908 12425.511 100.00% Conn: 1 Mbps: 12425.511 Peak Mbps: 12448.222 Avg Mbps: 12425.511 4000 1547619080 12393.346 100.00% Conn: 1 Mbps: 12393.346 Peak Mbps: 12448.563 Avg Mbps: 12393.346 4000 1547709344 12381.675 100.00% Conn: 1 Mbps: 12381.675 Peak Mbps: 12448.222 Avg Mbps: 12381.675 5000 1553521378 12428.171 100.00% Conn: 1 Mbps: 12428.171 Peak Mbps: 12448.563 Avg Mbps: 12428.171 5000 1553405312 12427.242 100.00% Conn: 1 Mbps: 12427.242 Peak Mbps: 12448.222 Avg Mbps: 12427.242 --- 127.0.0.1 tcpbench statistics --- 9305689156 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12336.953/12408.825/12448.563/40.392 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 9305689156 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 12336.909/12403.912/12448.222/39.895 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 1908315678 15266.525 100.00% Conn: 1 Mbps: 15266.525 Peak Mbps: 15266.525 Avg Mbps: 15266.525 1000 1906566684 15252.533 100.00% Conn: 1 Mbps: 15252.533 Peak Mbps: 15252.533 Avg Mbps: 15252.533 2000 1918589390 15348.715 100.00% Conn: 1 Mbps: 15348.715 Peak Mbps: 15348.715 Avg Mbps: 15348.715 2000 1918631936 15364.420 100.00% Conn: 1 Mbps: 15364.420 Peak Mbps: 15364.420 Avg Mbps: 15364.420 3000 1920860082 15366.881 100.00% Conn: 1 Mbps: 15366.881 Peak Mbps: 15366.881 Avg Mbps: 15366.881 3000 1920991232 15367.930 100.00% Conn: 1 Mbps: 15367.930 Peak Mbps: 15367.930 Avg Mbps: 15367.930 4000 1916932128 15350.808 100.00% Conn: 1 Mbps: 15350.808 Peak Mbps: 15366.881 Avg Mbps: 15350.808 4000 1917059072 15336.473 100.00% Conn: 1 Mbps: 15336.473 Peak Mbps: 15367.930 Avg Mbps: 15336.473 5000 1920932914 15367.463 100.00% Conn: 1 Mbps: 15367.463 Peak Mbps: 15367.463 Avg Mbps: 15367.463 5000 1921253376 15370.027 100.00% Conn: 1 Mbps: 15370.027 Peak Mbps: 15370.027 Avg Mbps: 15370.027 --- 127.0.0.1 tcpbench statistics --- 11500906958 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 15266.525/15340.078/15367.463/37.598 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 11500906958 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 15252.533/15338.277/15370.027/44.556 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: 1591.232 Peak Mbps: 1591.232 Tx PPS: 135125 Elapsed: 999 Mbps: 1377.592 Peak Mbps: 1377.592 Rx PPS: 116982 Elapsed: 2000 Mbps: 1598.212 Peak Mbps: 1598.212 Tx PPS: 135717 Elapsed: 2000 Mbps: 1377.038 Peak Mbps: 1377.592 Rx PPS: 116936 Elapsed: 3000 Mbps: 1593.787 Peak Mbps: 1598.212 Tx PPS: 135342 Elapsed: 3000 Mbps: 1374.318 Peak Mbps: 1377.592 Rx PPS: 116705 Elapsed: 4000 Mbps: 1599.522 Peak Mbps: 1599.522 Tx PPS: 135829 Elapsed: 4000 Mbps: 1375.873 Peak Mbps: 1377.592 Rx PPS: 116837 Elapsed: 5000 Mbps: 1598.250 Peak Mbps: 1599.522 Tx PPS: 135721 Elapsed: 5000 Mbps: 1376.037 Peak Mbps: 1377.592 Rx PPS: 116851 --- 127.0.0.1 tcpbench statistics --- 1197470528 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1591.232/1596.201/1599.522/3.156 Mbps Elapsed: 6000 Mbps: 1375.295 Peak Mbps: 1377.592 Rx PPS: 116788 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1031892608 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1374.318/1376.026/1377.592/1.076 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: 1519.669 Peak Mbps: 1519.669 Tx PPS: 129048 Elapsed: 1000 Mbps: 1519.681 Peak Mbps: 1519.681 Rx PPS: 129049 Elapsed: 2000 Mbps: 1520.636 Peak Mbps: 1520.636 Tx PPS: 129130 Elapsed: 2000 Mbps: 1520.766 Peak Mbps: 1520.766 Rx PPS: 129141 Elapsed: 3000 Mbps: 1521.118 Peak Mbps: 1521.118 Tx PPS: 129171 Elapsed: 3000 Mbps: 1521.059 Peak Mbps: 1521.059 Rx PPS: 129166 Elapsed: 4000 Mbps: 1519.964 Peak Mbps: 1521.118 Tx PPS: 129073 Elapsed: 4000 Mbps: 1520.093 Peak Mbps: 1521.059 Rx PPS: 129084 Elapsed: 5000 Mbps: 1518.492 Peak Mbps: 1521.118 Tx PPS: 128948 Elapsed: 5000 Mbps: 1518.456 Peak Mbps: 1521.059 Rx PPS: 128945 --- 127.0.0.1 tcpbench statistics --- 1139740160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1518.492/1519.976/1521.118/0.899 Mbps Elapsed: 6002 Mbps: 1516.354 Peak Mbps: 1521.059 Rx PPS: 128766 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1139740160 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1516.354/1519.402/1521.059/1.599 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.58s