START sys/kern/sosplice/perf 2025-01-17T19:17:49Z ==== run-tcp-copy ==== cc -O2 -pipe -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -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 1390435796 11123.486 100.00% Conn: 1 Mbps: 11123.486 Peak Mbps: 11123.486 Avg Mbps: 11123.486 1000 1390435796 11123.486 100.00% Conn: 1 Mbps: 11123.486 Peak Mbps: 11123.486 Avg Mbps: 11123.486 2000 1404648586 11248.437 100.00% Conn: 1 Mbps: 11248.437 Peak Mbps: 11248.437 Avg Mbps: 11248.437 2000 1404633004 11237.064 100.00% Conn: 1 Mbps: 11237.064 Peak Mbps: 11237.064 Avg Mbps: 11237.064 3000 1401587376 11212.699 100.00% Conn: 1 Mbps: 11212.699 Peak Mbps: 11248.437 Avg Mbps: 11212.699 3000 1401701094 11213.609 100.00% Conn: 1 Mbps: 11213.609 Peak Mbps: 11237.064 Avg Mbps: 11213.609 4000 1403048870 11224.391 100.00% Conn: 1 Mbps: 11224.391 Peak Mbps: 11248.437 Avg Mbps: 11224.391 4000 1403016374 11224.131 100.00% Conn: 1 Mbps: 11224.131 Peak Mbps: 11237.064 Avg Mbps: 11224.131 5000 1400332254 11202.658 100.00% Conn: 1 Mbps: 11202.658 Peak Mbps: 11248.437 Avg Mbps: 11202.658 5000 1400233886 11201.871 100.00% Conn: 1 Mbps: 11201.871 Peak Mbps: 11237.064 Avg Mbps: 11201.871 --- 127.0.0.1 tcpbench statistics --- 8397850582 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11123.486/11202.334/11248.437/42.276 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 8397850582 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 11123.486/11200.032/11237.064/39.998 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 999 1491555206 11944.386 100.00% Conn: 1 Mbps: 11944.386 Peak Mbps: 11944.386 Avg Mbps: 11944.386 1000 1491767860 11934.143 100.00% Conn: 1 Mbps: 11934.143 Peak Mbps: 11934.143 Avg Mbps: 11934.143 1999 1512306724 12098.454 100.00% Conn: 1 Mbps: 12098.454 Peak Mbps: 12098.454 Avg Mbps: 12098.454 2000 1512257650 12110.171 100.00% Conn: 1 Mbps: 12110.171 Peak Mbps: 12110.171 Avg Mbps: 12110.171 2999 1514603072 12128.954 100.00% Conn: 1 Mbps: 12128.954 Peak Mbps: 12128.954 Avg Mbps: 12128.954 3000 1514783010 12118.264 100.00% Conn: 1 Mbps: 12118.264 Peak Mbps: 12118.264 Avg Mbps: 12118.264 4000 1511398806 12091.190 100.00% Conn: 1 Mbps: 12091.190 Peak Mbps: 12128.954 Avg Mbps: 12091.190 4000 1511333386 12090.667 100.00% Conn: 1 Mbps: 12090.667 Peak Mbps: 12118.264 Avg Mbps: 12090.667 5000 1511040340 12088.323 100.00% Conn: 1 Mbps: 12088.323 Peak Mbps: 12128.954 Avg Mbps: 12088.323 5000 1511105760 12088.846 100.00% Conn: 1 Mbps: 12088.846 Peak Mbps: 12118.264 Avg Mbps: 12088.846 --- 127.0.0.1 tcpbench statistics --- 9052076176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11934.143/12068.418/12118.264/68.074 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 9052076176 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 11944.386/12070.261/12128.954/64.573 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: 1919.441 Peak Mbps: 1919.441 Tx PPS: 162996 Elapsed: 1000 Mbps: 1919.523 Peak Mbps: 1919.523 Rx PPS: 163003 Elapsed: 2000 Mbps: 1930.191 Peak Mbps: 1930.191 Tx PPS: 163908 Elapsed: 1999 Mbps: 1930.309 Peak Mbps: 1930.309 Rx PPS: 163918 Elapsed: 3000 Mbps: 1928.767 Peak Mbps: 1930.191 Tx PPS: 163788 Elapsed: 3000 Mbps: 1928.756 Peak Mbps: 1930.309 Rx PPS: 163787 Elapsed: 4000 Mbps: 1930.533 Peak Mbps: 1930.533 Tx PPS: 163937 Elapsed: 4000 Mbps: 1928.638 Peak Mbps: 1930.309 Rx PPS: 163777 Elapsed: 5000 Mbps: 1928.815 Peak Mbps: 1930.533 Tx PPS: 163792 Elapsed: 5000 Mbps: 1928.815 Peak Mbps: 1930.309 Rx PPS: 163792 --- 127.0.0.1 tcpbench statistics --- 1445268480 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1919.441/1927.549/1930.533/4.116 Mbps Elapsed: 6002 Mbps: 1924.189 Peak Mbps: 1930.309 Rx PPS: 163399 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1445268480 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1919.523/1926.705/1930.309/3.726 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: 1800.751 Peak Mbps: 1800.751 Tx PPS: 152917 Elapsed: 1000 Mbps: 1800.798 Peak Mbps: 1800.798 Rx PPS: 152921 Elapsed: 2000 Mbps: 1805.005 Peak Mbps: 1805.005 Tx PPS: 153278 Elapsed: 1999 Mbps: 1805.076 Peak Mbps: 1805.076 Rx PPS: 153284 Elapsed: 3000 Mbps: 1801.422 Peak Mbps: 1805.005 Tx PPS: 152974 Elapsed: 2999 Mbps: 1801.422 Peak Mbps: 1805.076 Rx PPS: 152974 Elapsed: 4000 Mbps: 1805.755 Peak Mbps: 1805.755 Tx PPS: 153342 Elapsed: 4000 Mbps: 1805.755 Peak Mbps: 1805.755 Rx PPS: 153342 Elapsed: 5000 Mbps: 1803.294 Peak Mbps: 1805.755 Tx PPS: 153133 Elapsed: 5000 Mbps: 1803.294 Peak Mbps: 1805.755 Rx PPS: 153133 --- 127.0.0.1 tcpbench statistics --- 1352104128 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1800.751/1803.245/1805.755/1.947 Mbps Elapsed: 6002 Mbps: 1798.696 Peak Mbps: 1805.755 Rx PPS: 152742 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1352104128 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1798.696/1802.507/1805.755/2.463 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.48s