==== 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 795, accept 65, send 341, recv 30, close 567, drop 0 10.01 real 15.13 user 8.19 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126513, accept 63167, send 150466, recv 60895, close 124581, drop 0 0m10.08s real 0m09.71s user 0m17.62s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13297, splice 5408, unsplice 0, max 0, idle 0, accept 5790, send 34488, recv 7172, close 22596, drop 0 10.12 real 13.55 user 10.25 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15961, splice 5574, unsplice 11779, max 0, idle 0, accept 7245, send 31596, recv 6486, close 23616, drop 0 10.05 real 17.14 user 14.46 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15287, splice 6715, unsplice 0, max 2057, idle 0, accept 7091, send 56110, recv 10124, close 22957, drop 0 10.08 real 16.36 user 15.68 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 16796, splice 6664, unsplice 0, max 0, idle 0, accept 7812, send 67906, recv 9874, close 24000, drop 0 10.17 real 15.46 user 16.31 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2882, accept 2636, send 123556, recv 4376, close 0, drop 2623 10.02 real 17.67 user 16.30 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2769, splice 932, unsplice 0, max 0, idle 0, accept 1745, send 209409, recv 102141, close 0, drop 3819 10.08 real 14.79 user 16.67 sys