==== 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 840, accept 345, send 545, recv 124, close 850, drop 0 10.01 real 17.81 user 12.10 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 44260, accept 34676, send 77594, recv 35321, close 52059, drop 0 0m10.05s real 0m10.25s user 0m20.32s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 23271, splice 7563, unsplice 0, max 0, idle 0, accept 10478, send 53921, recv 11930, close 37473, drop 0 10.03 real 13.64 user 13.88 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 51517, splice 4468, unsplice 19988, max 0, idle 0, accept 8144, send 59567, recv 6650, close 50262, drop 0 10.04 real 13.98 user 18.32 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 24030, splice 8065, unsplice 0, max 2029, idle 0, accept 10186, send 82455, recv 11417, close 32974, drop 0 10.02 real 14.52 user 18.76 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 22284, splice 7738, unsplice 0, max 0, idle 0, accept 10093, send 93800, recv 13631, close 31513, drop 0 10.02 real 14.09 user 18.44 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2915, accept 2786, send 126280, recv 4593, close 0, drop 2760 10.02 real 19.52 user 19.05 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2813, splice 653, unsplice 0, max 0, idle 0, accept 2035, send 160894, recv 46458, close 0, drop 4296 10.02 real 18.51 user 18.44 sys