START sys/kern/sosplice/perf 2025-01-31T02:42:27Z Splice.c: loadable library and perl binaries are mismatched (got first handshake key 0xf280000, needed 0xf180000) *** Warning in /usr/src/regress/sys/kern/sosplice/perf: "perl -Mstrict -Mwarnings -e ' eval { require BSD::Socket::Splice } or print $@; eval { require Socket6 } or print $@; '" returned non-zero status (../Makefile.inc:15) ==== run-tcp-copy ==== Splice.c: loadable library and perl binaries are mismatched (got first handshake key 0xf280000, needed 0xf180000) *** Warning in /usr/src/regress/sys/kern/sosplice/perf: "perl -Mstrict -Mwarnings -e ' eval { require BSD::Socket::Splice } or print $@; eval { require Socket6 } or print $@; '" returned non-zero status (../Makefile.inc:15) 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 588377414 4707.019 100.00% Conn: 1 Mbps: 4707.019 Peak Mbps: 4707.019 Avg Mbps: 4707.019 1000 588246654 4705.973 100.00% Conn: 1 Mbps: 4705.973 Peak Mbps: 4705.973 Avg Mbps: 4705.973 2000 588283570 4706.269 100.00% Conn: 1 Mbps: 4706.269 Peak Mbps: 4706.269 Avg Mbps: 4706.269 2000 588250854 4706.007 100.00% Conn: 1 Mbps: 4706.007 Peak Mbps: 4707.019 Avg Mbps: 4706.007 3000 630816266 5046.530 100.00% Conn: 1 Mbps: 5046.530 Peak Mbps: 5046.530 Avg Mbps: 5046.530 3000 630849086 5046.793 100.00% Conn: 1 Mbps: 5046.793 Peak Mbps: 5046.793 Avg Mbps: 5046.793 4000 617106958 4936.856 100.00% Conn: 1 Mbps: 4936.856 Peak Mbps: 5046.793 Avg Mbps: 4936.856 4000 617057988 4936.464 100.00% Conn: 1 Mbps: 4936.464 Peak Mbps: 5046.530 Avg Mbps: 4936.464 5000 578568082 4628.545 100.00% Conn: 1 Mbps: 4628.545 Peak Mbps: 5046.530 Avg Mbps: 4628.545 5000 578699050 4629.592 100.00% Conn: 1 Mbps: 4629.592 Peak Mbps: 5046.793 Avg Mbps: 4629.592 --- 127.0.0.1 tcpbench statistics --- 3553286228 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4629.592/4805.253/5046.793/158.756 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 3553286228 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 4628.545/4804.756/5046.530/158.940 Mbps sleep 1 ==== run-tcp-splice ==== Splice.c: loadable library and perl binaries are mismatched (got first handshake key 0xf280000, needed 0xf180000) *** Warning in /usr/src/regress/sys/kern/sosplice/perf: "perl -Mstrict -Mwarnings -e ' eval { require BSD::Socket::Splice } or print $@; eval { require Socket6 } or print $@; '" returned non-zero status (../Makefile.inc:15) 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 342055334 2736.443 100.00% Conn: 1 Mbps: 2736.443 Peak Mbps: 2736.443 Avg Mbps: 2736.443 1000 342055334 2736.443 100.00% Conn: 1 Mbps: 2736.443 Peak Mbps: 2736.443 Avg Mbps: 2736.443 2000 367540830 2940.327 100.00% Conn: 1 Mbps: 2940.327 Peak Mbps: 2940.327 Avg Mbps: 2940.327 2000 367442682 2939.541 100.00% Conn: 1 Mbps: 2939.541 Peak Mbps: 2939.541 Avg Mbps: 2939.541 3000 369536714 2956.294 100.00% Conn: 1 Mbps: 2956.294 Peak Mbps: 2956.294 Avg Mbps: 2956.294 3000 369536714 2959.253 100.00% Conn: 1 Mbps: 2959.253 Peak Mbps: 2959.253 Avg Mbps: 2959.253 4000 364318212 2917.463 100.00% Conn: 1 Mbps: 2917.463 Peak Mbps: 2956.294 Avg Mbps: 2917.463 4000 364383644 2915.069 100.00% Conn: 1 Mbps: 2915.069 Peak Mbps: 2959.253 Avg Mbps: 2915.069 5000 440599214 3524.794 100.00% Conn: 1 Mbps: 3524.794 Peak Mbps: 3524.794 Avg Mbps: 3524.794 5000 440582856 3524.663 100.00% Conn: 1 Mbps: 3524.663 Peak Mbps: 3524.663 Avg Mbps: 3524.663 --- 127.0.0.1 tcpbench statistics --- 2233077858 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2736.443/3015.064/3524.794/266.841 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 2233077858 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 2736.443/3014.994/3524.663/266.885 Mbps sleep 1 ==== run-udp-copy ==== Splice.c: loadable library and perl binaries are mismatched (got first handshake key 0xf280000, needed 0xf180000) *** Warning in /usr/src/regress/sys/kern/sosplice/perf: "perl -Mstrict -Mwarnings -e ' eval { require BSD::Socket::Splice } or print $@; eval { require Socket6 } or print $@; '" returned non-zero status (../Makefile.inc:15) 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: 1394.879 Peak Mbps: 1394.879 Tx PPS: 118451 Elapsed: 1000 Mbps: 937.688 Peak Mbps: 937.688 Rx PPS: 79627 Elapsed: 2000 Mbps: 1416.126 Peak Mbps: 1416.126 Tx PPS: 120255 Elapsed: 2000 Mbps: 1050.349 Peak Mbps: 1050.349 Rx PPS: 89194 Elapsed: 3002 Mbps: 927.237 Peak Mbps: 1050.349 Rx PPS: 78739 Elapsed: 3003 Mbps: 1404.326 Peak Mbps: 1416.126 Tx PPS: 119253 Elapsed: 4005 Mbps: 1131.095 Peak Mbps: 1131.095 Rx PPS: 96050 Elapsed: 4006 Mbps: 1673.636 Peak Mbps: 1673.636 Tx PPS: 142122 Elapsed: 5005 Mbps: 759.022 Peak Mbps: 1131.095 Rx PPS: 64455 Elapsed: 5006 Mbps: 1905.298 Peak Mbps: 1905.298 Tx PPS: 161795 --- 127.0.0.1 tcpbench statistics --- 1140389312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1394.879/1558.853/1905.298/202.157 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 678397696 bytes received over 6.003 seconds bandwidth min/avg/max/std-dev = 759.022/961.078/1131.095/126.011 Mbps sleep 1 ==== run-udp-splice ==== Splice.c: loadable library and perl binaries are mismatched (got first handshake key 0xf280000, needed 0xf180000) *** Warning in /usr/src/regress/sys/kern/sosplice/perf: "perl -Mstrict -Mwarnings -e ' eval { require BSD::Socket::Splice } or print $@; eval { require Socket6 } or print $@; '" returned non-zero status (../Makefile.inc:15) 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: 1243.510 Peak Mbps: 1243.510 Tx PPS: 105597 Elapsed: 1000 Mbps: 902.218 Peak Mbps: 902.218 Rx PPS: 76615 Elapsed: 2000 Mbps: 2410.862 Peak Mbps: 2410.862 Tx PPS: 204726 Elapsed: 2000 Mbps: 471.005 Peak Mbps: 902.218 Rx PPS: 39996 Elapsed: 3000 Mbps: 1601.277 Peak Mbps: 2410.862 Tx PPS: 135978 Elapsed: 3000 Mbps: 1116.624 Peak Mbps: 1116.624 Rx PPS: 94822 Elapsed: 4000 Mbps: 1035.510 Peak Mbps: 2410.862 Tx PPS: 87933 Elapsed: 4000 Mbps: 744.385 Peak Mbps: 1116.624 Rx PPS: 63212 Elapsed: 5000 Mbps: 1491.407 Peak Mbps: 2410.862 Tx PPS: 126648 Elapsed: 5002 Mbps: 788.957 Peak Mbps: 1116.624 Rx PPS: 66997 --- 127.0.0.1 tcpbench statistics --- 1081958272 bytes sent over 6.012 seconds bandwidth min/avg/max/std-dev = 1035.510/1556.513/2410.862/470.228 Mbps Elapsed: 6012 Mbps: 88.577 Peak Mbps: 1116.624 Rx PPS: 7521 sleep 1 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 514224064 bytes received over 6.018 seconds bandwidth min/avg/max/std-dev = 88.577/685.294/1116.624/328.971 Mbps PASS sys/kern/sosplice/perf Duration 0m32.66s