==== 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 752, accept 70, send 342, recv 28, close 553, drop 0 10.04 real 15.31 user 6.18 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121096, accept 63570, send 159370, recv 65041, close 121749, drop 0 0m10.08s real 0m09.18s user 0m17.87s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13598, splice 6455, unsplice 0, max 0, idle 0, accept 6467, send 43165, recv 8174, close 23241, drop 0 10.02 real 14.36 user 7.56 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19930, splice 6802, unsplice 12470, max 0, idle 0, accept 8082, send 43039, recv 6899, close 29111, drop 0 10.23 real 15.81 user 14.33 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 22587, splice 10126, unsplice 0, max 3134, idle 0, accept 9184, send 93780, recv 12215, close 29865, drop 0 10.03 real 14.42 user 14.51 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 32295, splice 6682, unsplice 0, max 0, idle 0, accept 6342, send 77930, recv 11856, close 25452, drop 0 10.04 real 14.46 user 16.74 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3026, accept 2695, send 125269, recv 4556, close 0, drop 2681 10.02 real 17.55 user 15.19 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2640, splice 1216, unsplice 0, max 0, idle 0, accept 1691, send 167734, recv 58630, close 0, drop 3684 10.04 real 16.24 user 16.06 sys