==== 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 791, accept 67, send 342, recv 34, close 553, drop 0 10.04 real 15.48 user 6.97 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124172, accept 63282, send 170908, recv 65405, close 121958, drop 0 0m10.07s real 0m09.51s user 0m18.29s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10751, splice 5564, unsplice 0, max 0, idle 0, accept 5492, send 33644, recv 9642, close 17628, drop 0 10.02 real 14.01 user 8.67 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15934, splice 4468, unsplice 10459, max 0, idle 0, accept 5782, send 33173, recv 5350, close 22762, drop 0 10.05 real 16.73 user 14.07 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 8640, splice 4617, unsplice 0, max 1845, idle 0, accept 4870, send 36839, recv 8606, close 12818, drop 0 10.14 real 17.15 user 15.69 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 15682, splice 7248, unsplice 0, max 0, idle 0, accept 7714, send 69379, recv 10049, close 23048, drop 0 10.02 real 15.87 user 14.70 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2922, accept 2665, send 124419, recv 4555, close 0, drop 2655 10.12 real 18.31 user 15.03 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2817, splice 1367, unsplice 0, max 0, idle 0, accept 1832, send 155628, recv 48925, close 0, drop 3998 10.05 real 16.20 user 16.11 sys