==== 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 853, accept 73, send 400, recv 37, close 587, drop 0 10.02 real 15.68 user 6.24 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122925, accept 63033, send 171992, recv 64046, close 121326, drop 0 0m10.07s real 0m08.68s user 0m17.73s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14554, splice 6533, unsplice 0, max 0, idle 0, accept 6498, send 42048, recv 8577, close 23133, drop 0 10.23 real 14.28 user 7.76 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16297, splice 5073, unsplice 9806, max 0, idle 0, accept 5687, send 36657, recv 5244, close 22065, drop 0 10.18 real 16.82 user 14.59 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19013, splice 7989, unsplice 0, max 2884, idle 0, accept 8171, send 80554, recv 10565, close 24128, drop 0 10.08 real 14.87 user 15.47 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13636, splice 5485, unsplice 0, max 0, idle 0, accept 5570, send 64673, recv 9689, close 17671, drop 0 10.04 real 15.97 user 14.61 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2997, accept 2651, send 122091, recv 4373, close 0, drop 2643 10.08 real 17.90 user 15.81 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2443, splice 990, unsplice 0, max 0, idle 0, accept 1539, send 188873, recv 82316, close 0, drop 3394 10.15 real 15.09 user 17.48 sys