==== 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 842, accept 55, send 387, recv 26, close 562, drop 0 10.04 real 15.34 user 8.93 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124277, accept 63847, send 155087, recv 63776, close 124007, drop 0 0m10.07s real 0m09.28s user 0m18.20s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12221, splice 6003, unsplice 0, max 0, idle 0, accept 5999, send 34239, recv 7641, close 21033, drop 0 10.16 real 13.70 user 11.06 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 18607, splice 5704, unsplice 11564, max 0, idle 0, accept 7397, send 38449, recv 6374, close 27291, drop 0 10.19 real 15.77 user 15.04 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 9635, splice 4772, unsplice 0, max 1778, idle 0, accept 4876, send 63535, recv 7448, close 13323, drop 0 10.19 real 11.24 user 9.07 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7707, splice 3804, unsplice 0, max 0, idle 4, accept 3503, send 61647, recv 7512, close 10186, drop 0 10.03 real 10.11 user 8.04 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3620, accept 2899, send 99077, recv 6188, close 0, drop 2889 10.01 real 11.20 user 7.76 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 5136, splice 2203, unsplice 0, max 0, idle 0, accept 2605, send 121758, recv 14814, close 0, drop 5782 10.08 real 9.92 user 7.91 sys