START sys/kern/sosplice/perf 2025-01-14T11:34:33Z ==== 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 1690945638 13527.565 100.00% Conn: 1 Mbps: 13527.565 Peak Mbps: 13527.565 Avg Mbps: 13527.565 999 1690765700 13539.665 100.00% Conn: 1 Mbps: 13539.665 Peak Mbps: 13539.665 Avg Mbps: 13539.665 2000 1495081462 11972.624 100.00% Conn: 1 Mbps: 11972.624 Peak Mbps: 13527.565 Avg Mbps: 11972.624 1999 1495163252 11961.306 100.00% Conn: 1 Mbps: 11961.306 Peak Mbps: 13539.665 Avg Mbps: 11961.306 3005 1818668604 14476.964 100.00% Conn: 1 Mbps: 14476.964 Peak Mbps: 14476.964 Avg Mbps: 14476.964 3005 1818815826 14478.136 100.00% Conn: 1 Mbps: 14478.136 Peak Mbps: 14478.136 Avg Mbps: 14478.136 4010 1331351702 10608.380 100.00% Conn: 1 Mbps: 10608.380 Peak Mbps: 14476.964 Avg Mbps: 10608.380 4010 1331482150 10609.420 100.00% Conn: 1 Mbps: 10609.420 Peak Mbps: 14478.136 Avg Mbps: 10609.420 5010 1746750306 13974.002 100.00% Conn: 1 Mbps: 13974.002 Peak Mbps: 14476.964 Avg Mbps: 13974.002 5010 1746619858 13986.946 100.00% Conn: 1 Mbps: 13986.946 Peak Mbps: 14478.136 Avg Mbps: 13986.946 --- 127.0.0.1 tcpbench statistics --- 9686652350 bytes sent over 6.007 seconds bandwidth min/avg/max/std-dev = 10609.420/12914.938/14478.136/1426.287 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 9686652350 bytes received over 6.038 seconds bandwidth min/avg/max/std-dev = 10608.380/12912.064/14476.964/1426.983 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 1749280336 13994.243 100.00% Conn: 1 Mbps: 13994.243 Peak Mbps: 13994.243 Avg Mbps: 13994.243 999 1749214904 14007.727 100.00% Conn: 1 Mbps: 14007.727 Peak Mbps: 14007.727 Avg Mbps: 14007.727 2000 1888435726 15122.608 100.00% Conn: 1 Mbps: 15122.608 Peak Mbps: 15122.608 Avg Mbps: 15122.608 2000 1888566590 15108.533 100.00% Conn: 1 Mbps: 15108.533 Peak Mbps: 15108.533 Avg Mbps: 15108.533 3012 1336472972 10565.004 100.00% Conn: 1 Mbps: 10565.004 Peak Mbps: 15108.533 Avg Mbps: 10565.004 3013 1336767000 10556.896 100.00% Conn: 1 Mbps: 10556.896 Peak Mbps: 15122.608 Avg Mbps: 10556.896 4012 1925211694 15417.111 100.00% Conn: 1 Mbps: 15417.111 Peak Mbps: 15417.111 Avg Mbps: 15417.111 4013 1925244826 15401.959 100.00% Conn: 1 Mbps: 15401.959 Peak Mbps: 15401.959 Avg Mbps: 15401.959 5012 1957369090 15658.953 100.00% Conn: 1 Mbps: 15658.953 Peak Mbps: 15658.953 Avg Mbps: 15658.953 5013 1957483596 15659.869 100.00% Conn: 1 Mbps: 15659.869 Peak Mbps: 15659.869 Avg Mbps: 15659.869 --- 127.0.0.1 tcpbench statistics --- 10502276694 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10556.896/14147.115/15659.869/1882.960 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 10502276694 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 10565.004/14151.465/15658.953/1880.092 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: 3062.372 Peak Mbps: 3062.372 Tx PPS: 260052 Elapsed: 1000 Mbps: 2735.164 Peak Mbps: 2735.164 Rx PPS: 232266 Elapsed: 2000 Mbps: 3096.652 Peak Mbps: 3096.652 Tx PPS: 262962 Elapsed: 2000 Mbps: 2580.276 Peak Mbps: 2735.164 Rx PPS: 219113 Elapsed: 3000 Mbps: 2990.492 Peak Mbps: 3096.652 Tx PPS: 253948 Elapsed: 3000 Mbps: 2428.871 Peak Mbps: 2735.164 Rx PPS: 206256 Elapsed: 4000 Mbps: 3207.818 Peak Mbps: 3207.818 Tx PPS: 272403 Elapsed: 4000 Mbps: 2609.326 Peak Mbps: 2735.164 Rx PPS: 221580 Elapsed: 5000 Mbps: 2754.830 Peak Mbps: 3207.818 Tx PPS: 233936 Elapsed: 5000 Mbps: 2165.807 Peak Mbps: 2735.164 Rx PPS: 183917 --- 127.0.0.1 tcpbench statistics --- 2263120512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2754.830/3022.433/3207.818/151.065 Mbps Elapsed: 6001 Mbps: 2067.917 Peak Mbps: 2735.164 Rx PPS: 175604 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1823491520 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 2067.917/2431.227/2735.164/241.095 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: 3012.925 Peak Mbps: 3012.925 Tx PPS: 255853 Elapsed: 1000 Mbps: 2299.323 Peak Mbps: 2299.323 Rx PPS: 195255 Elapsed: 2000 Mbps: 2987.839 Peak Mbps: 3012.925 Tx PPS: 253722 Elapsed: 1999 Mbps: 2274.666 Peak Mbps: 2299.323 Rx PPS: 193161 Elapsed: 3000 Mbps: 2979.163 Peak Mbps: 3012.925 Tx PPS: 252986 Elapsed: 3000 Mbps: 2197.225 Peak Mbps: 2299.323 Rx PPS: 186585 Elapsed: 4000 Mbps: 3076.963 Peak Mbps: 3076.963 Tx PPS: 261291 Elapsed: 4000 Mbps: 2284.991 Peak Mbps: 2299.323 Rx PPS: 194038 Elapsed: 5000 Mbps: 2971.638 Peak Mbps: 3076.963 Tx PPS: 252347 Elapsed: 5000 Mbps: 2307.672 Peak Mbps: 2307.672 Rx PPS: 195964 --- 127.0.0.1 tcpbench statistics --- 2247573248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2971.638/3005.706/3076.963/38.247 Mbps Elapsed: 6003 Mbps: 1987.608 Peak Mbps: 2307.672 Rx PPS: 168784 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1669474688 bytes received over 6.006 seconds bandwidth min/avg/max/std-dev = 1987.608/2225.248/2307.672/112.213 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.87s