==== 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 794, accept 41, send 336, recv 15, close 544, drop 0 10.01 real 15.04 user 9.24 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123663, accept 60926, send 154546, recv 59441, close 121050, drop 0 0m10.08s real 0m09.32s user 0m18.32s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10663, splice 5360, unsplice 0, max 0, idle 0, accept 5403, send 32862, recv 8466, close 18109, drop 0 10.02 real 13.63 user 10.00 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12626, splice 4643, unsplice 7874, max 0, idle 0, accept 5399, send 26536, recv 4462, close 19049, drop 0 10.07 real 16.95 user 14.72 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14219, splice 6334, unsplice 0, max 2241, idle 0, accept 7230, send 59687, recv 8958, close 20699, drop 0 10.02 real 15.75 user 15.29 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12119, splice 5622, unsplice 0, max 0, idle 0, accept 5942, send 52834, recv 10261, close 17641, drop 0 10.11 real 16.02 user 15.04 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2995, accept 2711, send 123553, recv 4364, close 0, drop 2699 10.02 real 18.26 user 15.78 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2732, splice 1254, unsplice 0, max 0, idle 0, accept 1794, send 161921, recv 54348, close 0, drop 3856 10.09 real 15.61 user 16.67 sys