START sys/kern/sosplice/perf 2024-06-05T21:36:57Z Splice.c: loadable library and perl binaries are mismatched (got first handshake key 0x10f80000, needed 0x11680000) *** 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 0x10f80000, needed 0x11680000) *** 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 -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 999 64108098 513.378 100.00% Conn: 1 Mbps: 513.378 Peak Mbps: 513.378 Avg Mbps: 513.378 1001 64383540 514.554 100.00% Conn: 1 Mbps: 514.554 Peak Mbps: 514.554 Avg Mbps: 514.554 2004 63792696 507.803 100.00% Conn: 1 Mbps: 507.803 Peak Mbps: 513.378 Avg Mbps: 507.803 2005 63713122 507.674 100.00% Conn: 1 Mbps: 507.674 Peak Mbps: 514.554 Avg Mbps: 507.674 3001 63092802 506.769 100.00% Conn: 1 Mbps: 506.769 Peak Mbps: 513.378 Avg Mbps: 506.769 3003 63141160 506.649 100.00% Conn: 1 Mbps: 506.649 Peak Mbps: 514.554 Avg Mbps: 506.649 4001 65299388 522.918 100.00% Conn: 1 Mbps: 522.918 Peak Mbps: 522.918 Avg Mbps: 522.918 4004 65397108 522.654 100.00% Conn: 1 Mbps: 522.654 Peak Mbps: 522.654 Avg Mbps: 522.654 5003 64793294 519.385 100.00% Conn: 1 Mbps: 519.385 Peak Mbps: 522.654 Avg Mbps: 519.385 5002 64924574 518.878 100.00% Conn: 1 Mbps: 518.878 Peak Mbps: 522.918 Avg Mbps: 518.878 --- 127.0.0.1 tcpbench statistics --- 385191300 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 506.649/514.183/522.654/6.294 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 385191300 bytes received over 6.010 seconds bandwidth min/avg/max/std-dev = 506.769/513.949/522.918/6.235 Mbps sleep 1 ==== run-tcp-splice ==== Splice.c: loadable library and perl binaries are mismatched (got first handshake key 0x10f80000, needed 0x11680000) *** 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 1002 60837592 485.729 100.00% Conn: 1 Mbps: 485.729 Peak Mbps: 485.729 Avg Mbps: 485.729 1007 60351896 479.459 100.00% Conn: 1 Mbps: 479.459 Peak Mbps: 479.459 Avg Mbps: 479.459 2005 60886738 485.637 100.00% Conn: 1 Mbps: 485.637 Peak Mbps: 485.729 Avg Mbps: 485.637 2007 60555264 484.927 100.00% Conn: 1 Mbps: 484.927 Peak Mbps: 484.927 Avg Mbps: 484.927 3005 59527812 476.699 100.00% Conn: 1 Mbps: 476.699 Peak Mbps: 485.729 Avg Mbps: 476.699 3013 59768832 475.772 100.00% Conn: 1 Mbps: 475.772 Peak Mbps: 484.927 Avg Mbps: 475.772 4009 61260572 488.619 100.00% Conn: 1 Mbps: 488.619 Peak Mbps: 488.619 Avg Mbps: 488.619 4012 61079552 489.126 100.00% Conn: 1 Mbps: 489.126 Peak Mbps: 489.126 Avg Mbps: 489.126 5009 61519056 492.152 100.00% Conn: 1 Mbps: 492.152 Peak Mbps: 492.152 Avg Mbps: 492.152 5014 61603840 491.847 100.00% Conn: 1 Mbps: 491.847 Peak Mbps: 491.847 Avg Mbps: 491.847 --- 127.0.0.1 tcpbench statistics --- 365730916 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 476.699/485.767/492.152/5.122 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 365730916 bytes received over 6.013 seconds bandwidth min/avg/max/std-dev = 475.772/484.226/491.847/5.946 Mbps sleep 1 ==== run-udp-copy ==== Splice.c: loadable library and perl binaries are mismatched (got first handshake key 0x10f80000, needed 0x11680000) *** 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: 124.743 Peak Mbps: 124.743 Tx PPS: 10593 Elapsed: 999 Mbps: 124.833 Peak Mbps: 124.833 Rx PPS: 10600 Elapsed: 2000 Mbps: 122.129 Peak Mbps: 124.743 Tx PPS: 10371 Elapsed: 1999 Mbps: 122.164 Peak Mbps: 124.833 Rx PPS: 10374 Elapsed: 3000 Mbps: 125.132 Peak Mbps: 125.132 Tx PPS: 10626 Elapsed: 3000 Mbps: 125.120 Peak Mbps: 125.120 Rx PPS: 10625 Elapsed: 4000 Mbps: 121.952 Peak Mbps: 125.132 Tx PPS: 10356 Elapsed: 4000 Mbps: 121.964 Peak Mbps: 125.120 Rx PPS: 10357 Elapsed: 5000 Mbps: 123.566 Peak Mbps: 125.132 Tx PPS: 10493 Elapsed: 5000 Mbps: 123.566 Peak Mbps: 125.120 Rx PPS: 10493 --- 127.0.0.1 tcpbench statistics --- 92513728 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 121.952/123.504/125.132/1.303 Mbps Elapsed: 6008 Mbps: 121.615 Peak Mbps: 125.120 Rx PPS: 10327 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 92513728 bytes received over 6.009 seconds bandwidth min/avg/max/std-dev = 121.615/123.210/125.120/1.390 Mbps sleep 1 ==== run-udp-splice ==== Splice.c: loadable library and perl binaries are mismatched (got first handshake key 0x10f80000, needed 0x11680000) *** 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: 124.449 Peak Mbps: 124.449 Tx PPS: 10568 Elapsed: 999 Mbps: 124.597 Peak Mbps: 124.597 Rx PPS: 10580 Elapsed: 2000 Mbps: 123.248 Peak Mbps: 124.449 Tx PPS: 10466 Elapsed: 2000 Mbps: 123.236 Peak Mbps: 124.597 Rx PPS: 10465 Elapsed: 3000 Mbps: 125.516 Peak Mbps: 125.516 Tx PPS: 10658 Elapsed: 3000 Mbps: 125.414 Peak Mbps: 125.414 Rx PPS: 10650 Elapsed: 4000 Mbps: 125.721 Peak Mbps: 125.721 Tx PPS: 10676 Elapsed: 4000 Mbps: 125.721 Peak Mbps: 125.721 Rx PPS: 10676 Elapsed: 5000 Mbps: 122.965 Peak Mbps: 125.721 Tx PPS: 10442 Elapsed: 5000 Mbps: 122.965 Peak Mbps: 125.721 Rx PPS: 10442 --- 127.0.0.1 tcpbench statistics --- 93282112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 122.965/124.380/125.721/1.129 Mbps Elapsed: 6009 Mbps: 123.461 Peak Mbps: 125.721 Rx PPS: 10484 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 93282112 bytes received over 6.009 seconds bandwidth min/avg/max/std-dev = 122.965/124.232/125.721/1.075 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m34.60s