==== 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 771, accept 44, send 359, recv 16, close 494, drop 0 10.04 real 15.68 user 6.12 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124735, accept 61526, send 166145, recv 63011, close 120918, drop 0 0m10.07s real 0m09.47s user 0m17.95s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13329, splice 6305, unsplice 0, max 0, idle 0, accept 6226, send 39159, recv 7911, close 22104, drop 0 10.22 real 13.96 user 8.27 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14158, splice 4723, unsplice 9443, max 0, idle 0, accept 5859, send 29618, recv 5371, close 20522, drop 0 10.03 real 16.32 user 14.76 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14157, splice 6357, unsplice 0, max 2345, idle 0, accept 7216, send 52938, recv 10336, close 20461, drop 0 10.22 real 16.02 user 14.90 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11575, splice 5217, unsplice 0, max 0, idle 0, accept 5409, send 63343, recv 7935, close 16439, drop 0 10.17 real 12.58 user 12.70 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2938, accept 2641, send 124162, recv 4773, close 0, drop 2631 10.02 real 14.21 user 12.32 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1665, splice 781, unsplice 0, max 0, idle 0, accept 948, send 206208, recv 103894, close 0, drop 2126 10.16 real 10.42 user 13.74 sys