==== 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 832, accept 46, send 323, recv 17, close 586, drop 0 10.04 real 15.12 user 9.58 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124208, accept 62945, send 155182, recv 61125, close 123088, drop 0 0m10.07s real 0m09.33s user 0m18.08s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15248, splice 6715, unsplice 0, max 0, idle 0, accept 6831, send 39593, recv 9315, close 23796, drop 0 10.04 real 13.54 user 10.66 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 20317, splice 7009, unsplice 12952, max 0, idle 0, accept 7805, send 44395, recv 7620, close 28321, drop 0 10.03 real 15.45 user 14.54 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13965, splice 5521, unsplice 0, max 1677, idle 0, accept 5983, send 58642, recv 7382, close 19494, drop 0 10.04 real 16.06 user 15.65 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14746, splice 6635, unsplice 0, max 0, idle 0, accept 6962, send 69815, recv 11435, close 20842, drop 0 10.01 real 15.35 user 15.20 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2971, accept 2699, send 123670, recv 4254, close 0, drop 2679 10.02 real 17.81 user 16.37 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2411, splice 1282, unsplice 0, max 0, idle 0, accept 1600, send 182965, recv 73818, close 0, drop 3393 10.14 real 15.82 user 16.30 sys