==== 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 876, accept 47, send 341, recv 15, close 609, drop 0 10.02 real 14.84 user 9.52 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123581, accept 61738, send 152046, recv 60523, close 121579, drop 0 0m10.09s real 0m09.50s user 0m18.11s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 8717, splice 4908, unsplice 0, max 0, idle 0, accept 4785, send 26210, recv 9274, close 14868, drop 0 10.01 real 13.86 user 10.36 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17379, splice 6488, unsplice 11588, max 0, idle 0, accept 7069, send 37822, recv 7779, close 24711, drop 0 10.02 real 16.20 user 14.62 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17263, splice 7998, unsplice 0, max 2837, idle 0, accept 8160, send 70758, recv 11408, close 22986, drop 0 10.02 real 14.97 user 16.67 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14323, splice 6392, unsplice 0, max 0, idle 0, accept 6432, send 67107, recv 10532, close 19180, drop 0 10.02 real 16.48 user 15.37 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2938, accept 2642, send 123163, recv 4467, close 0, drop 2631 10.02 real 18.01 user 15.90 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2251, splice 963, unsplice 0, max 0, idle 0, accept 1472, send 182608, recv 79841, close 0, drop 3177 10.12 real 15.23 user 16.78 sys