==== 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 787, accept 49, send 340, recv 30, close 555, drop 0 10.02 real 15.17 user 8.64 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127293, accept 62567, send 150889, recv 60122, close 124428, drop 0 0m10.07s real 0m09.47s user 0m18.71s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10307, splice 4982, unsplice 0, max 0, idle 0, accept 5139, send 26856, recv 7032, close 18075, drop 0 10.04 real 14.40 user 9.44 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 18495, splice 5290, unsplice 11904, max 0, idle 0, accept 7003, send 36031, recv 5720, close 27052, drop 0 10.03 real 15.70 user 15.16 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14759, splice 6953, unsplice 0, max 1992, idle 0, accept 6607, send 62314, recv 8244, close 20246, drop 0 10.19 real 12.20 user 12.52 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12219, splice 5316, unsplice 0, max 0, idle 1, accept 4515, send 62870, recv 9076, close 14919, drop 0 10.07 real 11.90 user 12.69 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3191, accept 2701, send 127831, recv 5211, close 0, drop 2694 10.02 real 13.69 user 12.60 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2078, splice 987, unsplice 0, max 0, idle 0, accept 1361, send 193411, recv 82067, close 0, drop 2833 10.11 real 11.17 user 12.96 sys