==== 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 797, accept 50, send 368, recv 20, close 527, drop 0 10.03 real 14.91 user 9.79 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 128726, accept 62654, send 154325, recv 62980, close 125080, drop 0 0m10.07s real 0m09.38s user 0m18.38s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14446, splice 6286, unsplice 0, max 0, idle 0, accept 6629, send 37236, recv 7078, close 24928, drop 0 10.04 real 13.29 user 10.46 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 21240, splice 6259, unsplice 13912, max 0, idle 0, accept 7864, send 43710, recv 6818, close 30087, drop 0 10.04 real 15.59 user 15.54 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15925, splice 7050, unsplice 0, max 2414, idle 0, accept 7760, send 62406, recv 10494, close 22839, drop 0 10.02 real 15.82 user 15.45 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 15078, splice 6643, unsplice 0, max 0, idle 0, accept 7161, send 55731, recv 8714, close 23016, drop 0 10.22 real 16.34 user 15.98 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2947, accept 2667, send 124405, recv 4697, close 0, drop 2662 10.12 real 17.76 user 16.14 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2534, splice 962, unsplice 0, max 0, idle 0, accept 1505, send 175069, recv 60429, close 0, drop 3383 10.10 real 16.19 user 16.32 sys