==== 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 778, accept 45, send 311, recv 20, close 537, drop 0 10.02 real 15.31 user 8.15 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125519, accept 61039, send 150448, recv 64583, close 121607, drop 0 0m10.09s real 0m09.78s user 0m18.33s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13813, splice 5243, unsplice 0, max 0, idle 0, accept 5480, send 34787, recv 5909, close 23684, drop 0 10.06 real 14.07 user 10.35 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14015, splice 4329, unsplice 10312, max 0, idle 0, accept 5929, send 26118, recv 5786, close 20788, drop 0 10.10 real 16.84 user 15.70 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 9354, splice 4797, unsplice 0, max 1732, idle 0, accept 4716, send 38056, recv 8090, close 13394, drop 0 10.10 real 14.39 user 13.58 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12944, splice 5795, unsplice 0, max 0, idle 0, accept 5478, send 61472, recv 9459, close 16812, drop 0 10.03 real 13.08 user 12.21 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3206, accept 2726, send 124212, recv 5018, close 0, drop 2711 10.10 real 13.62 user 12.79 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2050, splice 988, unsplice 0, max 0, idle 0, accept 1242, send 183534, recv 77079, close 0, drop 2703 10.07 real 10.95 user 12.94 sys