==== 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 746, accept 68, send 312, recv 22, close 553, drop 0 10.04 real 15.48 user 6.18 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127802, accept 62185, send 150658, recv 61761, close 124305, drop 0 0m10.07s real 0m09.55s user 0m18.13s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13600, splice 5696, unsplice 0, max 0, idle 0, accept 5967, send 34202, recv 7207, close 22804, drop 0 10.08 real 14.33 user 7.49 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 8714, splice 4216, unsplice 7834, max 0, idle 0, accept 4811, send 17053, recv 6082, close 12870, drop 0 10.02 real 17.67 user 14.94 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10249, splice 5111, unsplice 0, max 1857, idle 0, accept 5703, send 40541, recv 9288, close 14969, drop 0 10.01 real 17.36 user 14.58 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 87435, splice 7056, unsplice 0, max 0, idle 0, accept 7305, send 116289, recv 11025, close 46325, drop 0 10.02 real 14.30 user 17.79 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2956, accept 2676, send 123797, recv 4448, close 0, drop 2670 10.02 real 17.84 user 16.30 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2616, splice 1027, unsplice 0, max 0, idle 0, accept 1639, send 221506, recv 109617, close 0, drop 3522 10.05 real 13.89 user 17.60 sys