==== 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 807, accept 62, send 367, recv 22, close 536, drop 0 10.03 real 14.95 user 9.46 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 120089, accept 62280, send 157568, recv 61813, close 119360, drop 0 0m10.07s real 0m09.10s user 0m17.92s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14592, splice 6790, unsplice 0, max 0, idle 0, accept 6830, send 42445, recv 10205, close 23613, drop 0 10.02 real 13.30 user 10.27 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16406, splice 6095, unsplice 10339, max 0, idle 0, accept 6542, send 35859, recv 6593, close 23027, drop 0 10.14 real 15.63 user 14.37 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13693, splice 6030, unsplice 0, max 1979, idle 0, accept 6014, send 65341, recv 7923, close 18197, drop 0 10.05 real 12.52 user 12.68 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9623, splice 4657, unsplice 0, max 0, idle 0, accept 4111, send 56375, recv 8355, close 12527, drop 0 10.04 real 12.80 user 12.75 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2999, accept 2674, send 124465, recv 4661, close 0, drop 2656 10.08 real 13.93 user 12.27 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1685, splice 732, unsplice 0, max 0, idle 0, accept 930, send 208075, recv 100089, close 0, drop 2179 10.28 real 10.50 user 13.67 sys