==== 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 796, accept 61, send 361, recv 35, close 542, drop 0 10.02 real 16.30 user 5.75 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127412, accept 62928, send 151388, recv 61190, close 124957, drop 0 0m10.07s real 0m09.28s user 0m18.53s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17936, splice 7019, unsplice 0, max 0, idle 0, accept 6900, send 43184, recv 6947, close 29765, drop 0 10.04 real 13.72 user 8.76 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14223, splice 5334, unsplice 9911, max 0, idle 0, accept 6221, send 30254, recv 5886, close 20790, drop 0 10.02 real 15.65 user 14.34 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16097, splice 6629, unsplice 0, max 1941, idle 0, accept 7378, send 60353, recv 8623, close 23282, drop 0 10.22 real 16.02 user 14.30 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14811, splice 6843, unsplice 0, max 0, idle 0, accept 7259, send 56967, recv 10118, close 21597, drop 0 10.02 real 15.97 user 14.88 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2924, accept 2651, send 122517, recv 4413, close 0, drop 2639 10.08 real 17.82 user 15.19 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3185, splice 1225, unsplice 0, max 0, idle 0, accept 1995, send 209110, recv 87080, close 0, drop 4259 10.10 real 14.41 user 16.89 sys