==== 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 803, accept 64, send 356, recv 27, close 574, drop 0 10.03 real 14.56 user 9.75 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126526, accept 61991, send 155377, recv 61885, close 123609, drop 0 0m10.07s real 0m09.67s user 0m18.16s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12955, splice 5742, unsplice 0, max 0, idle 0, accept 5886, send 33300, recv 7195, close 22317, drop 0 10.01 real 13.53 user 9.71 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 18972, splice 6108, unsplice 12088, max 0, idle 0, accept 7811, send 38463, recv 6720, close 28012, drop 0 10.03 real 14.89 user 14.77 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14823, splice 5839, unsplice 0, max 1641, idle 0, accept 6825, send 58601, recv 7833, close 22011, drop 0 10.04 real 15.53 user 16.33 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 17233, splice 7099, unsplice 0, max 0, idle 0, accept 7891, send 69526, recv 10717, close 24489, drop 0 10.03 real 15.21 user 15.90 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2890, accept 2640, send 123037, recv 4526, close 0, drop 2626 10.02 real 17.76 user 16.37 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3116, splice 948, unsplice 0, max 0, idle 0, accept 1891, send 202566, recv 88617, close 0, drop 4198 10.10 real 14.40 user 16.91 sys