==== 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 819, accept 53, send 363, recv 27, close 549, drop 0 10.02 real 15.41 user 10.05 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 119466, accept 63763, send 193188, recv 66942, close 119145, drop 0 0m10.07s real 0m08.76s user 0m18.28s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17240, splice 7653, unsplice 0, max 0, idle 0, accept 7619, send 50488, recv 8605, close 27446, drop 0 10.02 real 13.36 user 11.80 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12684, splice 4014, unsplice 8184, max 0, idle 0, accept 4810, send 27331, recv 4936, close 17444, drop 0 10.12 real 17.16 user 15.42 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 20393, splice 9024, unsplice 0, max 3076, idle 0, accept 9138, send 86548, recv 12245, close 27252, drop 0 10.03 real 15.30 user 15.67 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14072, splice 6208, unsplice 0, max 0, idle 0, accept 6297, send 65297, recv 11345, close 18868, drop 0 10.01 real 16.12 user 16.13 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2975, accept 2694, send 123720, recv 4362, close 0, drop 2682 10.02 real 18.24 user 16.34 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2975, splice 1258, unsplice 0, max 0, idle 0, accept 1854, send 147351, recv 37054, close 0, drop 4094 10.06 real 16.46 user 16.91 sys