==== 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 809, accept 60, send 365, recv 25, close 550, drop 0 10.02 real 15.66 user 6.08 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123478, accept 62446, send 173664, recv 64269, close 121043, drop 0 0m10.07s real 0m08.66s user 0m18.43s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16028, splice 6780, unsplice 0, max 0, idle 0, accept 6954, send 45259, recv 8634, close 25265, drop 0 10.04 real 13.97 user 8.85 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13861, splice 5370, unsplice 9643, max 0, idle 0, accept 5950, send 30672, recv 5946, close 20552, drop 0 10.20 real 16.55 user 14.67 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13349, splice 6172, unsplice 0, max 2185, idle 0, accept 6593, send 55392, recv 8946, close 19172, drop 0 10.16 real 16.30 user 14.06 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12437, splice 5462, unsplice 0, max 0, idle 0, accept 5746, send 50604, recv 8027, close 17843, drop 0 10.02 real 16.60 user 14.55 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2930, accept 2692, send 124362, recv 4583, close 0, drop 2678 10.02 real 16.89 user 15.62 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2905, splice 1359, unsplice 0, max 0, idle 0, accept 1882, send 150497, recv 43448, close 0, drop 4040 10.04 real 15.92 user 16.18 sys