==== 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 97, send 386, recv 44, close 583, drop 0 10.01 real 15.63 user 5.93 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122937, accept 62290, send 164120, recv 61453, close 120772, drop 0 0m10.07s real 0m09.11s user 0m18.07s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 8720, splice 4886, unsplice 0, max 0, idle 0, accept 4776, send 33741, recv 9880, close 14163, drop 0 10.02 real 14.51 user 7.42 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13304, splice 4959, unsplice 8563, max 0, idle 0, accept 5205, send 28177, recv 5433, close 18513, drop 0 10.18 real 16.79 user 13.87 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 7147, splice 4200, unsplice 0, max 1755, idle 0, accept 4134, send 31045, recv 8190, close 10283, drop 0 10.02 real 17.12 user 14.30 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11817, splice 5685, unsplice 0, max 0, idle 1, accept 6048, send 57475, recv 9371, close 17719, drop 0 10.21 real 16.58 user 14.76 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2888, accept 2654, send 123375, recv 4519, close 0, drop 2643 10.02 real 18.10 user 15.13 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2288, splice 978, unsplice 0, max 0, idle 0, accept 1425, send 185023, recv 82591, close 0, drop 3156 10.14 real 15.07 user 16.81 sys