==== 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 791, accept 59, send 323, recv 26, close 565, drop 0 10.03 real 15.42 user 7.39 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121618, accept 60968, send 154838, recv 62706, close 119201, drop 0 0m10.07s real 0m09.51s user 0m18.30s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10456, splice 5287, unsplice 0, max 0, idle 0, accept 5277, send 30987, recv 7223, close 17605, drop 0 10.06 real 14.43 user 7.78 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 22733, splice 6743, unsplice 13766, max 0, idle 0, accept 8345, send 45375, recv 7438, close 32029, drop 0 10.03 real 15.04 user 14.41 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14720, splice 6397, unsplice 0, max 2316, idle 0, accept 7141, send 65315, recv 8712, close 20418, drop 0 10.02 real 15.17 user 15.03 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14903, splice 6178, unsplice 0, max 0, idle 0, accept 6678, send 66947, recv 9747, close 20883, drop 0 10.03 real 15.61 user 14.63 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2999, accept 2653, send 123991, recv 4380, close 0, drop 2639 10.12 real 17.55 user 15.35 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2571, splice 1193, unsplice 0, max 0, idle 0, accept 1646, send 169408, recv 61533, close 0, drop 3633 10.23 real 15.64 user 16.30 sys