==== 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 834, accept 99, send 399, recv 54, close 586, drop 0 10.03 real 14.69 user 9.14 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 120938, accept 62213, send 157570, recv 64393, close 119757, drop 0 0m10.06s real 0m09.04s user 0m18.02s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15318, splice 6741, unsplice 0, max 0, idle 0, accept 6901, send 38874, recv 8372, close 24870, drop 0 10.02 real 13.62 user 10.66 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11763, splice 5231, unsplice 8609, max 0, idle 0, accept 5675, send 27516, recv 6149, close 17358, drop 0 10.15 real 17.46 user 14.73 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16379, splice 6970, unsplice 0, max 2289, idle 0, accept 7340, send 65270, recv 8836, close 22332, drop 0 10.03 real 15.50 user 15.56 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12743, splice 5687, unsplice 0, max 0, idle 0, accept 6101, send 59718, recv 8744, close 18685, drop 0 10.14 real 16.54 user 15.58 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2906, accept 2678, send 124161, recv 4529, close 0, drop 2665 10.02 real 17.77 user 15.94 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2681, splice 1289, unsplice 0, max 0, idle 0, accept 1717, send 157271, recv 51939, close 0, drop 3749 10.08 real 15.79 user 16.31 sys