START sys/kern/sosplice/perf 2025-01-01T02:23:40Z ==== 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 2144588068 17156.705 100.00% Conn: 1 Mbps: 17156.705 Peak Mbps: 17156.705 Avg Mbps: 17156.705 999 2144588068 17173.878 100.00% Conn: 1 Mbps: 17173.878 Peak Mbps: 17173.878 Avg Mbps: 17173.878 2000 2151625320 17230.233 100.00% Conn: 1 Mbps: 17230.233 Peak Mbps: 17230.233 Avg Mbps: 17230.233 1999 2151756184 17231.281 100.00% Conn: 1 Mbps: 17231.281 Peak Mbps: 17231.281 Avg Mbps: 17231.281 3000 2152704156 17221.633 100.00% Conn: 1 Mbps: 17221.633 Peak Mbps: 17230.233 Avg Mbps: 17221.633 3000 2152606008 17220.848 100.00% Conn: 1 Mbps: 17220.848 Peak Mbps: 17231.281 Avg Mbps: 17220.848 4000 2156384646 17251.077 100.00% Conn: 1 Mbps: 17251.077 Peak Mbps: 17251.077 Avg Mbps: 17251.077 4000 2156433720 17251.470 100.00% Conn: 1 Mbps: 17251.470 Peak Mbps: 17251.470 Avg Mbps: 17251.470 5000 2156597912 17252.783 100.00% Conn: 1 Mbps: 17252.783 Peak Mbps: 17252.783 Avg Mbps: 17252.783 5000 2156516122 17269.398 100.00% Conn: 1 Mbps: 17269.398 Peak Mbps: 17269.398 Avg Mbps: 17269.398 --- 127.0.0.1 tcpbench statistics --- 12914490292 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 17156.705/17222.486/17252.783/34.995 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 12914490292 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 17173.878/17229.375/17269.398/32.392 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 2014235736 16113.886 100.00% Conn: 1 Mbps: 16113.886 Peak Mbps: 16113.886 Avg Mbps: 16113.886 999 2014235736 16130.016 100.00% Conn: 1 Mbps: 16130.016 Peak Mbps: 16130.016 Avg Mbps: 16130.016 2000 2030331204 16242.650 100.00% Conn: 1 Mbps: 16242.650 Peak Mbps: 16242.650 Avg Mbps: 16242.650 2000 2030331192 16242.650 100.00% Conn: 1 Mbps: 16242.650 Peak Mbps: 16242.650 Avg Mbps: 16242.650 3000 2023117202 16201.139 100.00% Conn: 1 Mbps: 16201.139 Peak Mbps: 16242.650 Avg Mbps: 16201.139 3000 2023215362 16185.723 100.00% Conn: 1 Mbps: 16185.723 Peak Mbps: 16242.650 Avg Mbps: 16185.723 4000 2027842692 16222.742 100.00% Conn: 1 Mbps: 16222.742 Peak Mbps: 16242.650 Avg Mbps: 16222.742 4000 2027744532 16238.194 100.00% Conn: 1 Mbps: 16238.194 Peak Mbps: 16242.650 Avg Mbps: 16238.194 5000 2029546572 16236.373 100.00% Conn: 1 Mbps: 16236.373 Peak Mbps: 16242.650 Avg Mbps: 16236.373 5000 2029546584 16236.373 100.00% Conn: 1 Mbps: 16236.373 Peak Mbps: 16242.650 Avg Mbps: 16236.373 --- 127.0.0.1 tcpbench statistics --- 12152296942 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 16113.886/16203.358/16242.650/46.946 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 12152296942 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 16130.016/16206.591/16242.650/43.555 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: 3024.395 Peak Mbps: 3024.395 Tx PPS: 256827 Elapsed: 1000 Mbps: 2413.397 Peak Mbps: 2413.397 Rx PPS: 204942 Elapsed: 2000 Mbps: 2947.642 Peak Mbps: 3024.395 Tx PPS: 250309 Elapsed: 1999 Mbps: 2402.434 Peak Mbps: 2413.397 Rx PPS: 204011 Elapsed: 3000 Mbps: 2979.151 Peak Mbps: 3024.395 Tx PPS: 252985 Elapsed: 2999 Mbps: 2368.330 Peak Mbps: 2413.397 Rx PPS: 201115 Elapsed: 4000 Mbps: 2984.086 Peak Mbps: 3024.395 Tx PPS: 253404 Elapsed: 3999 Mbps: 2411.925 Peak Mbps: 2413.397 Rx PPS: 204817 Elapsed: 5000 Mbps: 2957.554 Peak Mbps: 3024.395 Tx PPS: 251151 Elapsed: 5000 Mbps: 2294.683 Peak Mbps: 2413.397 Rx PPS: 194861 --- 127.0.0.1 tcpbench statistics --- 2231719808 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2947.642/2978.566/3024.395/26.566 Mbps Elapsed: 6000 Mbps: 2388.479 Peak Mbps: 2413.397 Rx PPS: 202826 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1784754368 bytes received over 6.004 seconds bandwidth min/avg/max/std-dev = 2294.683/2379.875/2413.397/41.079 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: 1003 Mbps: 2975.101 Peak Mbps: 2975.101 Tx PPS: 252641 Elapsed: 1003 Mbps: 2105.943 Peak Mbps: 2105.943 Rx PPS: 178833 Elapsed: 2003 Mbps: 2259.943 Peak Mbps: 2259.943 Rx PPS: 191910 Elapsed: 2003 Mbps: 3124.766 Peak Mbps: 3124.766 Tx PPS: 265350 Elapsed: 3003 Mbps: 2188.334 Peak Mbps: 2259.943 Rx PPS: 185830 Elapsed: 3003 Mbps: 2927.537 Peak Mbps: 3124.766 Tx PPS: 248602 Elapsed: 4003 Mbps: 2149.250 Peak Mbps: 2259.943 Rx PPS: 182511 Elapsed: 4003 Mbps: 3026.479 Peak Mbps: 3124.766 Tx PPS: 257004 Elapsed: 5003 Mbps: 2120.952 Peak Mbps: 2259.943 Rx PPS: 180108 Elapsed: 5003 Mbps: 2947.639 Peak Mbps: 3124.766 Tx PPS: 250309 --- 127.0.0.1 tcpbench statistics --- 2237675520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2927.537/3000.304/3124.766/70.540 Mbps Elapsed: 6007 Mbps: 2221.418 Peak Mbps: 2259.943 Rx PPS: 188639 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1632453888 bytes received over 6.010 seconds bandwidth min/avg/max/std-dev = 2105.943/2174.307/2259.943/54.617 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.64s