==== 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 828, accept 62, send 321, recv 24, close 612, drop 0 10.03 real 15.15 user 9.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126377, accept 62204, send 148682, recv 63873, close 122950, drop 0 0m10.07s real 0m09.26s user 0m18.30s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 6696, splice 4417, unsplice 0, max 0, idle 0, accept 4287, send 21704, recv 8087, close 12173, drop 0 10.02 real 14.06 user 10.53 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16942, splice 5562, unsplice 11129, max 0, idle 0, accept 6677, send 34185, recv 6034, close 25094, drop 0 10.08 real 16.48 user 15.28 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16389, splice 8008, unsplice 0, max 2720, idle 0, accept 8283, send 69273, recv 10740, close 23572, drop 0 10.10 real 15.37 user 14.94 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12200, splice 5473, unsplice 0, max 0, idle 0, accept 6022, send 51659, recv 8123, close 18445, drop 0 10.02 real 15.90 user 16.24 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2838, accept 2627, send 123024, recv 4526, close 0, drop 2608 10.02 real 17.68 user 15.56 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2589, splice 1387, unsplice 0, max 0, idle 0, accept 1732, send 170920, recv 62738, close 0, drop 3672 10.04 real 15.66 user 16.67 sys