==== 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 829, accept 87, send 377, recv 39, close 621, drop 0 10.01 real 15.73 user 5.58 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124364, accept 62196, send 148365, recv 60878, close 122372, drop 0 0m10.08s real 0m09.13s user 0m17.88s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12150, splice 5810, unsplice 0, max 0, idle 0, accept 5775, send 33940, recv 8267, close 19952, drop 0 10.08 real 14.23 user 7.39 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12969, splice 4557, unsplice 9208, max 0, idle 0, accept 5412, send 28459, recv 5742, close 18602, drop 0 10.01 real 16.82 user 13.92 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12073, splice 5612, unsplice 0, max 1991, idle 0, accept 6252, send 46577, recv 7601, close 17896, drop 0 10.02 real 17.03 user 13.50 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13627, splice 6102, unsplice 0, max 0, idle 0, accept 6757, send 61142, recv 9098, close 20065, drop 0 10.04 real 15.84 user 14.44 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2883, accept 2645, send 122133, recv 4206, close 0, drop 2627 10.02 real 18.35 user 14.30 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2628, splice 1390, unsplice 0, max 0, idle 0, accept 1783, send 169991, recv 61993, close 0, drop 3812 10.10 real 15.46 user 16.76 sys