==== 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 743, accept 69, send 348, recv 29, close 502, drop 0 10.03 real 15.70 user 5.94 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123299, accept 62678, send 160584, recv 64346, close 121578, drop 0 0m10.07s real 0m09.53s user 0m17.77s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 8179, splice 4799, unsplice 0, max 0, idle 0, accept 4720, send 27311, recv 8374, close 14216, drop 0 10.02 real 14.71 user 7.26 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14204, splice 5603, unsplice 10352, max 0, idle 0, accept 6879, send 33215, recv 7770, close 20659, drop 0 10.02 real 16.29 user 14.28 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10809, splice 5354, unsplice 0, max 1985, idle 0, accept 5597, send 46290, recv 7583, close 16027, drop 0 10.07 real 16.97 user 14.71 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 17332, splice 8209, unsplice 0, max 0, idle 0, accept 8382, send 72999, recv 11065, close 25981, drop 0 10.05 real 15.57 user 14.18 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2897, accept 2666, send 123079, recv 4396, close 0, drop 2658 10.02 real 18.69 user 14.40 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3119, splice 1498, unsplice 0, max 0, idle 0, accept 1997, send 216041, recv 91285, close 0, drop 4243 10.06 real 14.81 user 16.93 sys