==== 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 852, accept 82, send 415, recv 44, close 578, drop 0 10.04 real 15.07 user 9.71 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 128258, accept 61927, send 164897, recv 62785, close 123045, drop 0 0m10.08s real 0m09.14s user 0m18.02s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17686, splice 7211, unsplice 0, max 0, idle 0, accept 7290, send 50799, recv 9416, close 27978, drop 0 10.03 real 13.95 user 10.85 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11697, splice 4988, unsplice 7978, max 0, idle 0, accept 5287, send 30680, recv 5970, close 16244, drop 0 10.04 real 17.91 user 14.91 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12200, splice 5619, unsplice 0, max 2224, idle 0, accept 6137, send 54669, recv 9505, close 16696, drop 0 10.04 real 16.06 user 15.51 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8100, splice 4218, unsplice 0, max 0, idle 2, accept 4082, send 52606, recv 8336, close 11235, drop 0 10.04 real 12.45 user 12.57 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5781, accept 4986, send 130838, recv 9706, close 0, drop 4971 10.03 real 13.23 user 12.54 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 5348, splice 1766, unsplice 0, max 0, idle 0, accept 2663, send 98638, recv 6767, close 0, drop 6661 10.04 real 12.90 user 12.60 sys