==== 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 793, accept 51, send 325, recv 22, close 552, drop 0 10.03 real 15.57 user 5.94 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124920, accept 63042, send 160471, recv 63056, close 122945, drop 0 0m10.07s real 0m09.14s user 0m17.94s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9801, splice 5020, unsplice 0, max 0, idle 0, accept 4909, send 29684, recv 8065, close 16316, drop 0 10.18 real 14.52 user 7.72 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14061, splice 5342, unsplice 8956, max 0, idle 0, accept 6629, send 29854, recv 5497, close 21735, drop 0 10.06 real 15.86 user 13.87 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13823, splice 5658, unsplice 0, max 1957, idle 0, accept 6011, send 64897, recv 7283, close 18404, drop 0 10.22 real 12.38 user 13.68 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8454, splice 4162, unsplice 0, max 0, idle 2, accept 3875, send 48274, recv 7896, close 11565, drop 0 10.18 real 12.96 user 12.21 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5511, accept 5030, send 120559, recv 9318, close 0, drop 5015 10.02 real 13.25 user 12.70 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 4636, splice 2337, unsplice 0, max 0, idle 0, accept 2618, send 143282, recv 31235, close 0, drop 6245 10.02 real 12.32 user 12.78 sys