START sys/kern/sosplice/perf 2024-04-06T01:31:28Z ==== 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 1551560230 12412.482 100.00% Conn: 1 Mbps: 12412.482 Peak Mbps: 12412.482 Avg Mbps: 12412.482 999 1551482288 12424.283 100.00% Conn: 1 Mbps: 12424.283 Peak Mbps: 12424.283 Avg Mbps: 12424.283 2000 1555797000 12446.376 100.00% Conn: 1 Mbps: 12446.376 Peak Mbps: 12446.376 Avg Mbps: 12446.376 1999 1555804308 12446.434 100.00% Conn: 1 Mbps: 12446.434 Peak Mbps: 12446.434 Avg Mbps: 12446.434 3000 1553965684 12444.170 100.00% Conn: 1 Mbps: 12444.170 Peak Mbps: 12446.376 Avg Mbps: 12444.170 3000 1553990376 12431.923 100.00% Conn: 1 Mbps: 12431.923 Peak Mbps: 12446.434 Avg Mbps: 12431.923 4000 1554604714 12436.838 100.00% Conn: 1 Mbps: 12436.838 Peak Mbps: 12446.376 Avg Mbps: 12436.838 4000 1554652778 12437.222 100.00% Conn: 1 Mbps: 12437.222 Peak Mbps: 12446.434 Avg Mbps: 12437.222 5000 1554832598 12451.112 100.00% Conn: 1 Mbps: 12451.112 Peak Mbps: 12451.112 Avg Mbps: 12451.112 5000 1554852682 12438.821 100.00% Conn: 1 Mbps: 12438.821 Peak Mbps: 12446.434 Avg Mbps: 12438.821 --- 127.0.0.1 tcpbench statistics --- 9324661590 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12412.482/12438.195/12451.112/13.656 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 9324661590 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 12424.283/12435.737/12446.434/7.374 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 1897954268 15183.634 100.00% Conn: 1 Mbps: 15183.634 Peak Mbps: 15183.634 Avg Mbps: 15183.634 1000 1896421896 15171.375 100.00% Conn: 1 Mbps: 15171.375 Peak Mbps: 15171.375 Avg Mbps: 15171.375 2000 1909332582 15289.951 100.00% Conn: 1 Mbps: 15289.951 Peak Mbps: 15289.951 Avg Mbps: 15289.951 2000 1909719040 15277.752 100.00% Conn: 1 Mbps: 15277.752 Peak Mbps: 15277.752 Avg Mbps: 15277.752 3000 1910382004 15298.354 100.00% Conn: 1 Mbps: 15298.354 Peak Mbps: 15298.354 Avg Mbps: 15298.354 3000 1910505472 15284.044 100.00% Conn: 1 Mbps: 15284.044 Peak Mbps: 15284.044 Avg Mbps: 15284.044 4000 1908318066 15266.545 100.00% Conn: 1 Mbps: 15266.545 Peak Mbps: 15298.354 Avg Mbps: 15266.545 4000 1908408320 15267.267 100.00% Conn: 1 Mbps: 15267.267 Peak Mbps: 15284.044 Avg Mbps: 15267.267 5000 1906744662 15269.227 100.00% Conn: 1 Mbps: 15269.227 Peak Mbps: 15298.354 Avg Mbps: 15269.227 5000 1906835456 15254.684 100.00% Conn: 1 Mbps: 15254.684 Peak Mbps: 15284.044 Avg Mbps: 15254.684 --- 127.0.0.1 tcpbench statistics --- 11443412196 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 15183.634/15261.542/15298.354/40.782 Mbps tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 11443412196 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 15171.375/15251.024/15284.044/41.051 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: 1591.833 Peak Mbps: 1591.833 Tx PPS: 135176 Elapsed: 1000 Mbps: 1380.077 Peak Mbps: 1380.077 Rx PPS: 117194 Elapsed: 2000 Mbps: 1600.063 Peak Mbps: 1600.063 Tx PPS: 135874 Elapsed: 1999 Mbps: 1382.295 Peak Mbps: 1382.295 Rx PPS: 117382 Elapsed: 3000 Mbps: 1598.545 Peak Mbps: 1600.063 Tx PPS: 135746 Elapsed: 3000 Mbps: 1381.113 Peak Mbps: 1382.295 Rx PPS: 117282 Elapsed: 4000 Mbps: 1598.733 Peak Mbps: 1600.063 Tx PPS: 135762 Elapsed: 4000 Mbps: 1382.047 Peak Mbps: 1382.295 Rx PPS: 117361 Elapsed: 5000 Mbps: 1600.453 Peak Mbps: 1600.453 Tx PPS: 135908 Elapsed: 5000 Mbps: 1380.418 Peak Mbps: 1382.295 Rx PPS: 117223 --- 127.0.0.1 tcpbench statistics --- 1198392000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1591.833/1597.925/1600.453/3.134 Mbps Elapsed: 6000 Mbps: 1377.969 Peak Mbps: 1382.295 Rx PPS: 117015 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1035194304 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1377.969/1380.653/1382.295/1.440 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: 1504.219 Peak Mbps: 1504.219 Tx PPS: 127736 Elapsed: 1000 Mbps: 1504.231 Peak Mbps: 1504.231 Rx PPS: 127737 Elapsed: 2000 Mbps: 1506.102 Peak Mbps: 1506.102 Tx PPS: 127895 Elapsed: 2000 Mbps: 1506.244 Peak Mbps: 1506.244 Rx PPS: 127907 Elapsed: 3000 Mbps: 1505.915 Peak Mbps: 1506.102 Tx PPS: 127880 Elapsed: 3000 Mbps: 1505.903 Peak Mbps: 1506.244 Rx PPS: 127879 Elapsed: 4000 Mbps: 1505.526 Peak Mbps: 1506.102 Tx PPS: 127847 Elapsed: 4000 Mbps: 1506.986 Peak Mbps: 1506.986 Rx PPS: 127970 Elapsed: 5000 Mbps: 1505.432 Peak Mbps: 1506.102 Tx PPS: 127839 Elapsed: 5000 Mbps: 1505.456 Peak Mbps: 1506.986 Rx PPS: 127841 --- 127.0.0.1 tcpbench statistics --- 1128795840 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1504.219/1505.439/1506.102/0.658 Mbps Elapsed: 6002 Mbps: 1501.558 Peak Mbps: 1506.986 Rx PPS: 127509 tcpbench: Terminated by signal 15 --- tcpbench server statistics --- 1128795840 bytes received over 6.002 seconds bandwidth min/avg/max/std-dev = 1501.558/1505.063/1506.986/1.776 Mbps sleep 1 PASS sys/kern/sosplice/perf Duration 0m32.58s