==== run-default ==== cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/netinet/tcpthread/tcpthread.c cc -o tcpthread tcpthread.o -lpthread time ./tcpthread count: connect 831, accept 72, send 377, recv 42, close 596, drop 0 10.03 real 14.78 user 6.43 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123180, accept 63837, send 175168, recv 63273, close 121907, drop 0 0m10.08s real 0m09.33s user 0m17.94s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16155, splice 7127, unsplice 0, max 0, idle 0, accept 6866, send 46718, recv 9832, close 24836, drop 0 10.03 real 13.95 user 8.46 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11082, splice 5051, unsplice 8350, max 0, idle 0, accept 5295, send 26927, recv 6821, close 15622, drop 0 10.02 real 17.24 user 13.60 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13206, splice 5670, unsplice 0, max 2063, idle 0, accept 6339, send 51436, recv 7610, close 18618, drop 0 10.04 real 15.56 user 15.41 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14544, splice 6290, unsplice 0, max 0, idle 1, accept 7070, send 67778, recv 10915, close 21345, drop 0 10.14 real 15.45 user 15.03 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2928, accept 2694, send 123039, recv 4471, close 0, drop 2684 10.02 real 18.29 user 15.15 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2599, splice 1149, unsplice 0, max 0, idle 0, accept 1702, send 169250, recv 59848, close 0, drop 3690 10.06 real 15.91 user 16.33 sys