==== 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 802, accept 75, send 378, recv 37, close 567, drop 0 10.01 real 15.15 user 9.82 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 129715, accept 62558, send 158429, recv 64836, close 124842, drop 0 0m10.08s real 0m09.43s user 0m18.30s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13393, splice 6178, unsplice 0, max 0, idle 0, accept 6303, send 39813, recv 8248, close 23802, drop 0 10.02 real 13.59 user 10.92 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 7810, splice 4435, unsplice 7433, max 0, idle 0, accept 4688, send 16455, recv 5966, close 11653, drop 0 10.01 real 17.63 user 15.06 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10212, splice 4576, unsplice 0, max 1540, idle 0, accept 5029, send 44004, recv 7343, close 14891, drop 0 10.08 real 14.80 user 14.09 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10446, splice 4352, unsplice 0, max 0, idle 0, accept 4730, send 54426, recv 6157, close 14161, drop 0 10.04 real 12.92 user 12.32 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3113, accept 2658, send 121735, recv 5327, close 0, drop 2651 10.02 real 14.11 user 12.65 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2111, splice 1086, unsplice 0, max 0, idle 0, accept 1202, send 216192, recv 88122, close 0, drop 2673 10.18 real 11.27 user 13.44 sys