==== 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 892, accept 53, send 386, recv 24, close 602, drop 0 10.02 real 14.88 user 9.58 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123294, accept 62459, send 157226, recv 61202, close 121621, drop 0 0m10.08s real 0m08.92s user 0m17.91s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 18959, splice 8694, unsplice 0, max 0, idle 0, accept 8423, send 55189, recv 12160, close 30040, drop 0 10.22 real 12.95 user 11.32 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15287, splice 5454, unsplice 9246, max 0, idle 0, accept 5915, send 31418, recv 6220, close 20974, drop 0 10.02 real 16.46 user 14.79 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11822, splice 5360, unsplice 0, max 2010, idle 0, accept 5884, send 51755, recv 7945, close 16797, drop 0 10.07 real 16.83 user 15.28 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12207, splice 5753, unsplice 0, max 0, idle 0, accept 6213, send 60946, recv 11185, close 17867, drop 0 10.21 real 15.87 user 15.41 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2856, accept 2627, send 123410, recv 4288, close 0, drop 2617 10.02 real 17.41 user 16.26 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2428, splice 1157, unsplice 0, max 0, idle 0, accept 1600, send 180615, recv 75040, close 0, drop 3421 10.12 real 15.58 user 16.53 sys