==== 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 759, accept 49, send 345, recv 22, close 507, drop 0 10.03 real 15.72 user 5.84 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126167, accept 61341, send 149488, recv 59909, close 122536, drop 0 0m10.08s real 0m09.29s user 0m18.96s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15097, splice 6826, unsplice 0, max 0, idle 0, accept 6891, send 43669, recv 9035, close 25418, drop 0 10.03 real 14.60 user 8.41 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13866, splice 3946, unsplice 8693, max 0, idle 0, accept 5394, send 29543, recv 4523, close 20058, drop 0 10.02 real 17.28 user 14.18 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17179, splice 7468, unsplice 0, max 2457, idle 0, accept 7839, send 76513, recv 11002, close 23128, drop 0 10.04 real 12.72 user 13.45 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8352, splice 4059, unsplice 0, max 0, idle 0, accept 3622, send 45392, recv 7437, close 10938, drop 0 10.06 real 12.98 user 12.77 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3007, accept 2670, send 123686, recv 4805, close 0, drop 2661 10.02 real 13.61 user 12.82 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2165, splice 1013, unsplice 0, max 0, idle 0, accept 1219, send 189625, recv 76146, close 0, drop 2842 10.04 real 11.33 user 13.45 sys