START sys/kern/sosplice/perf 2025-03-08T06:25:45Z ==== 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 813801174 6510.409 100.00% Conn: 1 Mbps: 6510.409 Peak Mbps: 6510.409 Avg Mbps: 6510.409 999 813883068 6517.582 100.00% Conn: 1 Mbps: 6517.582 Peak Mbps: 6517.582 Avg Mbps: 6517.582 2000 918765952 7357.485 100.00% Conn: 1 Mbps: 7357.485 Peak Mbps: 7357.485 Avg Mbps: 7357.485 1999 918929532 7351.436 100.00% Conn: 1 Mbps: 7351.436 Peak Mbps: 7351.436 Avg Mbps: 7351.436 3000 935074898 7480.599 100.00% Conn: 1 Mbps: 7480.599 Peak Mbps: 7480.599 Avg Mbps: 7480.599 2999 935140214 7481.122 100.00% Conn: 1 Mbps: 7481.122 Peak Mbps: 7481.122 Avg Mbps: 7481.122 4000 931678254 7460.887 100.00% Conn: 1 Mbps: 7460.887 Peak Mbps: 7480.599 Avg Mbps: 7460.887 3999 931564616 7452.517 100.00% Conn: 1 Mbps: 7452.517 Peak Mbps: 7481.122 Avg Mbps: 7452.517 5000 932576060 7460.608 100.00% Conn: 1 Mbps: 7460.608 Peak Mbps: 7480.599 Avg Mbps: 7460.608 4999 932477044 7459.816 100.00% Conn: 1 Mbps: 7459.816 Peak Mbps: 7481.122 Avg Mbps: 7459.816 --- 127.0.0.1 tcpbench statistics --- 5465095142 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6510.409/7253.998/7480.599/374.292 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 5465095142 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 6517.582/7252.495/7481.122/370.175 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 912080206 7296.642 100.00% Conn: 1 Mbps: 7296.642 Peak Mbps: 7296.642 Avg Mbps: 7296.642 999 912292860 7305.649 100.00% Conn: 1 Mbps: 7305.649 Peak Mbps: 7305.649 Avg Mbps: 7305.649 2000 1044729160 8366.199 100.00% Conn: 1 Mbps: 8366.199 Peak Mbps: 8366.199 Avg Mbps: 8366.199 1999 1044909098 8367.640 100.00% Conn: 1 Mbps: 8367.640 Peak Mbps: 8367.640 Avg Mbps: 8367.640 3000 1021525304 8172.202 100.00% Conn: 1 Mbps: 8172.202 Peak Mbps: 8366.199 Avg Mbps: 8172.202 3000 1021361724 8170.894 100.00% Conn: 1 Mbps: 8170.894 Peak Mbps: 8367.640 Avg Mbps: 8170.894 4000 1022829506 8182.636 100.00% Conn: 1 Mbps: 8182.636 Peak Mbps: 8366.199 Avg Mbps: 8182.636 4000 1022862210 8182.898 100.00% Conn: 1 Mbps: 8182.898 Peak Mbps: 8367.640 Avg Mbps: 8182.898 5000 1022667250 8181.338 100.00% Conn: 1 Mbps: 8181.338 Peak Mbps: 8366.199 Avg Mbps: 8181.338 5000 1022503682 8188.218 100.00% Conn: 1 Mbps: 8188.218 Peak Mbps: 8367.640 Avg Mbps: 8188.218 --- 127.0.0.1 tcpbench statistics --- 6050437582 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7296.642/8039.804/8366.199/378.626 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 6050437582 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 7305.649/8043.060/8367.640/375.791 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: 1739.186 Peak Mbps: 1739.186 Tx PPS: 147689 Elapsed: 999 Mbps: 1740.561 Peak Mbps: 1740.561 Rx PPS: 147805 Elapsed: 2000 Mbps: 2023.433 Peak Mbps: 2023.433 Tx PPS: 171826 Elapsed: 1999 Mbps: 2022.961 Peak Mbps: 2022.961 Rx PPS: 171786 Elapsed: 3000 Mbps: 2082.150 Peak Mbps: 2082.150 Tx PPS: 176813 Elapsed: 2999 Mbps: 2082.115 Peak Mbps: 2082.115 Rx PPS: 176810 Elapsed: 4000 Mbps: 1929.050 Peak Mbps: 2082.150 Tx PPS: 163812 Elapsed: 3999 Mbps: 1929.038 Peak Mbps: 2082.115 Rx PPS: 163811 Elapsed: 5000 Mbps: 1989.284 Peak Mbps: 2082.150 Tx PPS: 168927 Elapsed: 4999 Mbps: 1986.647 Peak Mbps: 2082.115 Rx PPS: 168703 --- 127.0.0.1 tcpbench statistics --- 1480449280 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1739.186/1952.621/2082.150/117.683 Mbps Elapsed: 6003 Mbps: 2073.304 Peak Mbps: 2082.115 Rx PPS: 176061 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1479635264 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 1740.561/1972.438/2082.115/115.908 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: 1918.593 Peak Mbps: 1918.593 Tx PPS: 162924 Elapsed: 999 Mbps: 1622.011 Peak Mbps: 1622.011 Rx PPS: 137738 Elapsed: 2000 Mbps: 2162.104 Peak Mbps: 2162.104 Tx PPS: 183602 Elapsed: 1999 Mbps: 1852.180 Peak Mbps: 1852.180 Rx PPS: 157284 Elapsed: 3000 Mbps: 2148.602 Peak Mbps: 2162.104 Tx PPS: 182456 Elapsed: 2999 Mbps: 1852.082 Peak Mbps: 1852.180 Rx PPS: 157276 Elapsed: 4000 Mbps: 2158.235 Peak Mbps: 2162.104 Tx PPS: 183274 Elapsed: 3999 Mbps: 1838.777 Peak Mbps: 1852.180 Rx PPS: 156146 Elapsed: 5000 Mbps: 2102.593 Peak Mbps: 2162.104 Tx PPS: 178549 Elapsed: 4999 Mbps: 1870.983 Peak Mbps: 1870.983 Rx PPS: 158881 --- 127.0.0.1 tcpbench statistics --- 1569830592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1918.593/2098.025/2162.104/92.202 Mbps Elapsed: 5999 Mbps: 1940.296 Peak Mbps: 1940.296 Rx PPS: 164767 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1371761216 bytes received over 6.004 seconds bandwidth min/avg/max/std-dev = 1622.011/1829.388/1940.296/98.453 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m33.05s