START sys/kern/sosplice/perf 2024-02-05T02:36:14Z ==== run-tcp-copy ==== 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 1000 1635081538 13080.652 100.00% Conn: 1 Mbps: 13080.652 Peak Mbps: 13080.652 Avg Mbps: 13080.652 999 1634974428 13092.888 100.00% Conn: 1 Mbps: 13092.888 Peak Mbps: 13092.888 Avg Mbps: 13092.888 2000 1641163774 13142.453 100.00% Conn: 1 Mbps: 13142.453 Peak Mbps: 13142.453 Avg Mbps: 13142.453 2000 1641257374 13130.059 100.00% Conn: 1 Mbps: 13130.059 Peak Mbps: 13130.059 Avg Mbps: 13130.059 3000 1642276958 13138.216 100.00% Conn: 1 Mbps: 13138.216 Peak Mbps: 13142.453 Avg Mbps: 13138.216 3000 1642277438 13138.220 100.00% Conn: 1 Mbps: 13138.220 Peak Mbps: 13138.220 Avg Mbps: 13138.220 4000 1639107382 13112.859 100.00% Conn: 1 Mbps: 13112.859 Peak Mbps: 13142.453 Avg Mbps: 13112.859 4000 1639120562 13112.964 100.00% Conn: 1 Mbps: 13112.964 Peak Mbps: 13138.220 Avg Mbps: 13112.964 5000 1642442074 13139.537 100.00% Conn: 1 Mbps: 13139.537 Peak Mbps: 13142.453 Avg Mbps: 13139.537 5000 1642500370 13140.003 100.00% Conn: 1 Mbps: 13140.003 Peak Mbps: 13140.003 Avg Mbps: 13140.003 --- 127.0.0.1 tcpbench statistics --- 9844964064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 13080.652/13122.743/13142.453/23.576 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 9844964064 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 13092.888/13122.827/13140.003/17.764 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 1962655018 15701.240 100.00% Conn: 1 Mbps: 15701.240 Peak Mbps: 15701.240 Avg Mbps: 15701.240 1000 1960904250 15687.234 100.00% Conn: 1 Mbps: 15687.234 Peak Mbps: 15687.234 Avg Mbps: 15687.234 2000 1975104992 15816.657 100.00% Conn: 1 Mbps: 15816.657 Peak Mbps: 15816.657 Avg Mbps: 15816.657 2000 1975255040 15802.040 100.00% Conn: 1 Mbps: 15802.040 Peak Mbps: 15802.040 Avg Mbps: 15802.040 3000 1974540084 15796.321 100.00% Conn: 1 Mbps: 15796.321 Peak Mbps: 15816.657 Avg Mbps: 15796.321 3000 1974468608 15795.749 100.00% Conn: 1 Mbps: 15795.749 Peak Mbps: 15802.040 Avg Mbps: 15795.749 4000 1974556992 15796.456 100.00% Conn: 1 Mbps: 15796.456 Peak Mbps: 15816.657 Avg Mbps: 15796.456 4000 1974730752 15797.846 100.00% Conn: 1 Mbps: 15797.846 Peak Mbps: 15802.040 Avg Mbps: 15797.846 5000 1974901430 15799.211 100.00% Conn: 1 Mbps: 15799.211 Peak Mbps: 15816.657 Avg Mbps: 15799.211 5000 1974992896 15799.943 100.00% Conn: 1 Mbps: 15799.943 Peak Mbps: 15802.040 Avg Mbps: 15799.943 --- 127.0.0.1 tcpbench statistics --- 11836127066 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 15701.240/15781.977/15816.657/41.070 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 11836127066 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 15687.234/15776.562/15802.040/44.713 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: 1585.285 Peak Mbps: 1585.285 Tx PPS: 134620 Elapsed: 1000 Mbps: 1374.766 Peak Mbps: 1374.766 Rx PPS: 116743 Elapsed: 2000 Mbps: 1592.837 Peak Mbps: 1592.837 Tx PPS: 135261 Elapsed: 2000 Mbps: 1374.295 Peak Mbps: 1374.766 Rx PPS: 116703 Elapsed: 3000 Mbps: 1591.550 Peak Mbps: 1592.837 Tx PPS: 135152 Elapsed: 3000 Mbps: 1375.131 Peak Mbps: 1375.131 Rx PPS: 116774 Elapsed: 4000 Mbps: 1591.032 Peak Mbps: 1592.837 Tx PPS: 135108 Elapsed: 4000 Mbps: 1376.426 Peak Mbps: 1376.426 Rx PPS: 116884 Elapsed: 5000 Mbps: 1593.399 Peak Mbps: 1593.399 Tx PPS: 135309 Elapsed: 5000 Mbps: 1374.907 Peak Mbps: 1376.426 Rx PPS: 116755 --- 127.0.0.1 tcpbench statistics --- 1192851392 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1585.285/1590.820/1593.399/2.896 Mbps Elapsed: 6000 Mbps: 1371.150 Peak Mbps: 1376.426 Rx PPS: 116436 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1030885760 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1371.150/1374.446/1376.426/1.612 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: 1535.084 Peak Mbps: 1535.084 Tx PPS: 130357 Elapsed: 1000 Mbps: 1535.096 Peak Mbps: 1535.096 Rx PPS: 130358 Elapsed: 2000 Mbps: 1538.082 Peak Mbps: 1538.082 Tx PPS: 130611 Elapsed: 2000 Mbps: 1538.224 Peak Mbps: 1538.224 Rx PPS: 130623 Elapsed: 3000 Mbps: 1535.166 Peak Mbps: 1538.082 Tx PPS: 130364 Elapsed: 3000 Mbps: 1535.108 Peak Mbps: 1538.224 Rx PPS: 130359 Elapsed: 4000 Mbps: 1535.944 Peak Mbps: 1538.082 Tx PPS: 130430 Elapsed: 4000 Mbps: 1535.955 Peak Mbps: 1538.224 Rx PPS: 130431 Elapsed: 5000 Mbps: 1535.520 Peak Mbps: 1538.082 Tx PPS: 130394 Elapsed: 5000 Mbps: 1535.508 Peak Mbps: 1538.224 Rx PPS: 130393 --- 127.0.0.1 tcpbench statistics --- 1151766400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1535.084/1535.959/1538.082/1.104 Mbps Elapsed: 6002 Mbps: 1532.713 Peak Mbps: 1538.224 Rx PPS: 130155 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1151766400 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1532.713/1535.434/1538.224/1.617 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.61s