==== 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 775, accept 83, send 346, recv 30, close 580, drop 0 10.01 real 16.70 user 6.08 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123256, accept 63239, send 170422, recv 63481, close 122638, drop 0 0m10.07s real 0m09.02s user 0m18.23s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13705, splice 6376, unsplice 0, max 0, idle 0, accept 6402, send 43117, recv 8344, close 22139, drop 0 10.05 real 14.99 user 8.19 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19122, splice 6017, unsplice 10799, max 0, idle 0, accept 6745, send 41789, recv 6671, close 25602, drop 0 10.03 real 16.48 user 14.81 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 21433, splice 8794, unsplice 0, max 2757, idle 0, accept 9035, send 84437, recv 11011, close 28017, drop 0 10.02 real 15.99 user 14.39 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11869, splice 5296, unsplice 0, max 0, idle 0, accept 5553, send 55956, recv 8380, close 16902, drop 0 10.11 real 16.94 user 15.32 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2981, accept 2674, send 124184, recv 4480, close 0, drop 2665 10.14 real 18.05 user 15.70 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2412, splice 1214, unsplice 0, max 0, idle 0, accept 1596, send 185676, recv 72085, close 0, drop 3341 10.16 real 15.51 user 17.05 sys