START sys/kern/sosplice/perf 2024-06-26T01:27:22Z ==== 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 1579929154 12639.433 100.00% Conn: 1 Mbps: 12639.433 Peak Mbps: 12639.433 Avg Mbps: 12639.433 1000 1579765574 12638.125 100.00% Conn: 1 Mbps: 12638.125 Peak Mbps: 12638.125 Avg Mbps: 12638.125 2000 1587846102 12715.484 100.00% Conn: 1 Mbps: 12715.484 Peak Mbps: 12715.484 Avg Mbps: 12715.484 2000 1587931660 12716.169 100.00% Conn: 1 Mbps: 12716.169 Peak Mbps: 12716.169 Avg Mbps: 12716.169 3000 1585132098 12681.057 100.00% Conn: 1 Mbps: 12681.057 Peak Mbps: 12715.484 Avg Mbps: 12681.057 3000 1585183040 12681.464 100.00% Conn: 1 Mbps: 12681.464 Peak Mbps: 12716.169 Avg Mbps: 12681.464 4000 1586750068 12694.001 100.00% Conn: 1 Mbps: 12694.001 Peak Mbps: 12715.484 Avg Mbps: 12694.001 4000 1586730154 12693.841 100.00% Conn: 1 Mbps: 12693.841 Peak Mbps: 12716.169 Avg Mbps: 12693.841 5000 1588744124 12709.953 100.00% Conn: 1 Mbps: 12709.953 Peak Mbps: 12715.484 Avg Mbps: 12709.953 5000 1588679212 12709.434 100.00% Conn: 1 Mbps: 12709.434 Peak Mbps: 12716.169 Avg Mbps: 12709.434 --- 127.0.0.1 tcpbench statistics --- 9516260178 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12639.433/12687.986/12715.484/27.130 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 9516260178 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 12638.125/12687.807/12716.169/27.630 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 1926755738 15414.046 100.00% Conn: 1 Mbps: 15414.046 Peak Mbps: 15414.046 Avg Mbps: 15414.046 1000 1925007426 15400.059 100.00% Conn: 1 Mbps: 15400.059 Peak Mbps: 15400.059 Avg Mbps: 15400.059 2000 1937913476 15503.308 100.00% Conn: 1 Mbps: 15503.308 Peak Mbps: 15503.308 Avg Mbps: 15503.308 2000 1938030592 15504.245 100.00% Conn: 1 Mbps: 15504.245 Peak Mbps: 15504.245 Avg Mbps: 15504.245 3000 1934044068 15472.353 100.00% Conn: 1 Mbps: 15472.353 Peak Mbps: 15503.308 Avg Mbps: 15472.353 3000 1934098432 15472.787 100.00% Conn: 1 Mbps: 15472.787 Peak Mbps: 15504.245 Avg Mbps: 15472.787 4000 1933224630 15465.797 100.00% Conn: 1 Mbps: 15465.797 Peak Mbps: 15503.308 Avg Mbps: 15465.797 4000 1933049856 15464.399 100.00% Conn: 1 Mbps: 15464.399 Peak Mbps: 15504.245 Avg Mbps: 15464.399 5000 1937926540 15518.931 100.00% Conn: 1 Mbps: 15518.931 Peak Mbps: 15518.931 Avg Mbps: 15518.931 5000 1938292736 15506.342 100.00% Conn: 1 Mbps: 15506.342 Peak Mbps: 15506.342 Avg Mbps: 15506.342 --- 127.0.0.1 tcpbench statistics --- 11603477710 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 15414.046/15474.887/15518.931/36.162 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 11603477710 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 15400.059/15469.566/15506.342/38.531 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: 1523.073 Peak Mbps: 1523.073 Tx PPS: 129337 Elapsed: 1000 Mbps: 1523.084 Peak Mbps: 1523.084 Rx PPS: 129338 Elapsed: 2000 Mbps: 1529.972 Peak Mbps: 1529.972 Tx PPS: 129922 Elapsed: 1999 Mbps: 1530.019 Peak Mbps: 1530.019 Rx PPS: 129926 Elapsed: 3000 Mbps: 1544.328 Peak Mbps: 1544.328 Tx PPS: 131142 Elapsed: 2999 Mbps: 1544.340 Peak Mbps: 1544.340 Rx PPS: 131143 Elapsed: 4000 Mbps: 1546.413 Peak Mbps: 1546.413 Tx PPS: 131319 Elapsed: 4000 Mbps: 1546.365 Peak Mbps: 1546.365 Rx PPS: 131315 Elapsed: 5000 Mbps: 1546.789 Peak Mbps: 1546.789 Tx PPS: 131351 Elapsed: 5000 Mbps: 1546.848 Peak Mbps: 1546.848 Rx PPS: 131356 --- 127.0.0.1 tcpbench statistics --- 1154876736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1523.073/1538.115/1546.789/9.750 Mbps Elapsed: 6002 Mbps: 1546.793 Peak Mbps: 1546.848 Rx PPS: 131351 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1154876736 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1523.084/1539.575/1546.848/9.461 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: 1542.609 Peak Mbps: 1542.609 Tx PPS: 130996 Elapsed: 1000 Mbps: 1542.621 Peak Mbps: 1542.621 Rx PPS: 130997 Elapsed: 2000 Mbps: 1544.990 Peak Mbps: 1544.990 Tx PPS: 131198 Elapsed: 2000 Mbps: 1545.179 Peak Mbps: 1545.179 Rx PPS: 131214 Elapsed: 3000 Mbps: 1504.090 Peak Mbps: 1544.990 Tx PPS: 127725 Elapsed: 3000 Mbps: 1504.042 Peak Mbps: 1545.179 Rx PPS: 127721 Elapsed: 4000 Mbps: 1545.989 Peak Mbps: 1545.989 Tx PPS: 131283 Elapsed: 4000 Mbps: 1546.024 Peak Mbps: 1546.024 Rx PPS: 131286 Elapsed: 5000 Mbps: 1547.355 Peak Mbps: 1547.355 Tx PPS: 131399 Elapsed: 5000 Mbps: 1547.378 Peak Mbps: 1547.378 Rx PPS: 131401 --- 127.0.0.1 tcpbench statistics --- 1154106880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1504.090/1537.006/1547.355/16.531 Mbps Elapsed: 6002 Mbps: 1546.064 Peak Mbps: 1547.378 Rx PPS: 131289 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1154106880 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1504.042/1538.551/1547.378/15.500 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.57s