START sys/kern/sosplice/perf 2025-01-12T02:28:31Z ==== 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 1925007910 15400.063 100.00% Conn: 1 Mbps: 15400.063 Peak Mbps: 15400.063 Avg Mbps: 15400.063 999 1924909762 15414.693 100.00% Conn: 1 Mbps: 15414.693 Peak Mbps: 15414.693 Avg Mbps: 15414.693 2000 1937995334 15519.482 100.00% Conn: 1 Mbps: 15519.482 Peak Mbps: 15519.482 Avg Mbps: 15519.482 2000 1938093470 15504.748 100.00% Conn: 1 Mbps: 15504.748 Peak Mbps: 15504.748 Avg Mbps: 15504.748 3000 1934610008 15476.880 100.00% Conn: 1 Mbps: 15476.880 Peak Mbps: 15519.482 Avg Mbps: 15476.880 3000 1934544576 15476.357 100.00% Conn: 1 Mbps: 15476.357 Peak Mbps: 15504.748 Avg Mbps: 15476.357 4000 1934477932 15475.823 100.00% Conn: 1 Mbps: 15475.823 Peak Mbps: 15519.482 Avg Mbps: 15475.823 4000 1934445228 15491.053 100.00% Conn: 1 Mbps: 15491.053 Peak Mbps: 15504.748 Avg Mbps: 15491.053 5000 1920398950 15363.192 100.00% Conn: 1 Mbps: 15363.192 Peak Mbps: 15519.482 Avg Mbps: 15363.192 5000 1920431770 15363.454 100.00% Conn: 1 Mbps: 15363.454 Peak Mbps: 15504.748 Avg Mbps: 15363.454 --- 127.0.0.1 tcpbench statistics --- 11588408278 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 15363.192/15447.088/15519.482/56.928 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 11588408278 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 15363.454/15450.061/15504.748/53.130 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 1511079632 12088.637 100.00% Conn: 1 Mbps: 12088.637 Peak Mbps: 12088.637 Avg Mbps: 12088.637 999 1511095990 12100.869 100.00% Conn: 1 Mbps: 12100.869 Peak Mbps: 12100.869 Avg Mbps: 12100.869 2000 1515351902 12134.950 100.00% Conn: 1 Mbps: 12134.950 Peak Mbps: 12134.950 Avg Mbps: 12134.950 1999 1515433692 12123.470 100.00% Conn: 1 Mbps: 12123.470 Peak Mbps: 12123.470 Avg Mbps: 12123.470 3000 1515859476 12126.876 100.00% Conn: 1 Mbps: 12126.876 Peak Mbps: 12134.950 Avg Mbps: 12126.876 3000 1515826760 12126.614 100.00% Conn: 1 Mbps: 12126.614 Peak Mbps: 12126.614 Avg Mbps: 12126.614 4000 1514355728 12114.846 100.00% Conn: 1 Mbps: 12114.846 Peak Mbps: 12134.950 Avg Mbps: 12114.846 4000 1514257580 12114.061 100.00% Conn: 1 Mbps: 12114.061 Peak Mbps: 12126.614 Avg Mbps: 12114.061 5000 1511704436 12105.741 100.00% Conn: 1 Mbps: 12105.741 Peak Mbps: 12134.950 Avg Mbps: 12105.741 5000 1511802572 12094.421 100.00% Conn: 1 Mbps: 12094.421 Peak Mbps: 12126.614 Avg Mbps: 12094.421 --- 127.0.0.1 tcpbench statistics --- 9084259104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12088.637/12114.210/12134.950/16.228 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 9084259104 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 12094.421/12111.887/12126.614/12.508 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: 3264.425 Peak Mbps: 3264.425 Tx PPS: 277210 Elapsed: 1000 Mbps: 2619.748 Peak Mbps: 2619.748 Rx PPS: 222465 Elapsed: 2000 Mbps: 3094.789 Peak Mbps: 3264.425 Tx PPS: 262804 Elapsed: 1999 Mbps: 2389.679 Peak Mbps: 2619.748 Rx PPS: 202927 Elapsed: 3000 Mbps: 3134.818 Peak Mbps: 3264.425 Tx PPS: 266204 Elapsed: 3000 Mbps: 2465.859 Peak Mbps: 2619.748 Rx PPS: 209397 Elapsed: 4000 Mbps: 2982.955 Peak Mbps: 3264.425 Tx PPS: 253308 Elapsed: 4000 Mbps: 2499.739 Peak Mbps: 2619.748 Rx PPS: 212274 Elapsed: 5000 Mbps: 2965.138 Peak Mbps: 3264.425 Tx PPS: 251795 Elapsed: 5000 Mbps: 2357.237 Peak Mbps: 2619.748 Rx PPS: 200173 --- 127.0.0.1 tcpbench statistics --- 2301645696 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2965.138/3088.425/3264.425/109.080 Mbps Elapsed: 6000 Mbps: 2453.522 Peak Mbps: 2619.748 Rx PPS: 208349 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1847780992 bytes received over 6.004 seconds bandwidth min/avg/max/std-dev = 2357.237/2464.297/2619.748/84.231 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: 3115.141 Peak Mbps: 3115.141 Tx PPS: 264533 Elapsed: 1000 Mbps: 2204.609 Peak Mbps: 2204.609 Rx PPS: 187212 Elapsed: 2000 Mbps: 3284.738 Peak Mbps: 3284.738 Tx PPS: 278934 Elapsed: 1999 Mbps: 2388.170 Peak Mbps: 2388.170 Rx PPS: 202799 Elapsed: 3000 Mbps: 2885.779 Peak Mbps: 3284.738 Tx PPS: 245056 Elapsed: 2999 Mbps: 2271.225 Peak Mbps: 2388.170 Rx PPS: 192869 Elapsed: 4000 Mbps: 3003.751 Peak Mbps: 3284.738 Tx PPS: 255074 Elapsed: 3999 Mbps: 2225.476 Peak Mbps: 2388.170 Rx PPS: 188984 Elapsed: 5000 Mbps: 3026.138 Peak Mbps: 3284.738 Tx PPS: 256975 Elapsed: 4999 Mbps: 2220.365 Peak Mbps: 2388.170 Rx PPS: 188550 --- 127.0.0.1 tcpbench statistics --- 2290451136 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2885.779/3063.109/3284.738/132.787 Mbps Elapsed: 6013 Mbps: 2144.255 Peak Mbps: 2388.170 Rx PPS: 182086 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1685045504 bytes received over 6.016 seconds bandwidth min/avg/max/std-dev = 2144.255/2242.350/2388.170/75.180 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.64s