==== 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 802, accept 39, send 357, recv 20, close 539, drop 0 10.01 real 14.80 user 9.82 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125863, accept 63588, send 161170, recv 63085, close 123879, drop 0 0m10.08s real 0m09.59s user 0m17.94s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17098, splice 6742, unsplice 0, max 0, idle 0, accept 7157, send 39865, recv 8067, close 28584, drop 0 10.08 real 13.36 user 10.65 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14328, splice 5428, unsplice 9853, max 0, idle 0, accept 6633, send 25948, recv 5795, close 21580, drop 0 10.04 real 16.82 user 14.92 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 23912, splice 10406, unsplice 0, max 2683, idle 0, accept 9081, send 92080, recv 11731, close 34111, drop 0 10.03 real 14.74 user 15.95 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 18096, splice 7095, unsplice 0, max 0, idle 0, accept 8195, send 74235, recv 10564, close 26515, drop 0 10.16 real 15.10 user 16.65 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2936, accept 2666, send 124420, recv 4617, close 0, drop 2651 10.02 real 17.97 user 16.01 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3013, splice 1318, unsplice 0, max 0, idle 0, accept 1895, send 222096, recv 97303, close 0, drop 3979 10.10 real 14.23 user 16.97 sys