==== 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 824, accept 52, send 390, recv 17, close 539, drop 0 10.01 real 15.38 user 5.84 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123703, accept 61853, send 153963, recv 62721, close 121023, drop 0 0m10.08s real 0m09.21s user 0m18.12s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15524, splice 6254, unsplice 0, max 0, idle 0, accept 6248, send 38704, recv 6475, close 25045, drop 0 10.03 real 14.56 user 7.82 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12810, splice 4353, unsplice 8701, max 0, idle 0, accept 5165, send 25129, recv 4871, close 18968, drop 0 10.04 real 16.36 user 13.59 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16738, splice 7022, unsplice 0, max 2497, idle 0, accept 7619, send 66775, recv 8896, close 22900, drop 0 10.08 real 16.16 user 14.37 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9688, splice 4695, unsplice 0, max 0, idle 0, accept 4895, send 45942, recv 8697, close 14347, drop 0 10.06 real 16.73 user 14.66 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2882, accept 2635, send 123797, recv 4307, close 0, drop 2630 10.18 real 17.63 user 15.25 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2881, splice 1441, unsplice 0, max 0, idle 0, accept 1856, send 152981, recv 44728, close 0, drop 4035 10.04 real 16.43 user 15.87 sys