==== 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 805, accept 53, send 340, recv 24, close 557, drop 0 10.01 real 15.06 user 9.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 131088, accept 63146, send 154826, recv 64305, close 126408, drop 0 0m10.09s real 0m09.65s user 0m18.58s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 8432, splice 4843, unsplice 0, max 0, idle 0, accept 4817, send 20462, recv 7036, close 15501, drop 0 10.03 real 14.55 user 10.27 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15638, splice 4910, unsplice 9685, max 0, idle 0, accept 6503, send 31824, recv 5188, close 23190, drop 0 10.02 real 15.95 user 15.53 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 7325, splice 4265, unsplice 0, max 1668, idle 0, accept 4381, send 27544, recv 7851, close 11196, drop 0 10.04 real 17.77 user 15.44 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12494, splice 5884, unsplice 0, max 0, idle 0, accept 6579, send 51591, recv 9238, close 19174, drop 0 10.02 real 17.02 user 15.66 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2882, accept 2638, send 125103, recv 4382, close 0, drop 2625 10.02 real 18.23 user 15.65 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3169, splice 1377, unsplice 0, max 0, idle 0, accept 1998, send 215713, recv 90018, close 0, drop 4279 10.05 real 14.81 user 16.62 sys