==== 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 797, accept 79, send 352, recv 33, close 584, drop 0 10.01 real 14.58 user 9.40 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123789, accept 63408, send 157745, recv 65736, close 122790, drop 0 0m10.07s real 0m09.19s user 0m18.45s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9926, splice 5102, unsplice 0, max 0, idle 0, accept 5196, send 33037, recv 9464, close 16822, drop 0 10.02 real 14.07 user 9.46 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13937, splice 6037, unsplice 10026, max 0, idle 0, accept 6304, send 29005, recv 6602, close 20762, drop 0 10.07 real 16.49 user 14.56 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16840, splice 7747, unsplice 0, max 2785, idle 0, accept 8327, send 70068, recv 10968, close 23918, drop 0 10.14 real 16.14 user 15.07 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14695, splice 6874, unsplice 0, max 0, idle 0, accept 6655, send 66218, recv 9337, close 21238, drop 0 10.02 real 15.39 user 15.55 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5546, accept 5051, send 179225, recv 8630, close 0, drop 5035 10.01 real 17.12 user 15.69 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2430, splice 1053, unsplice 0, max 0, idle 0, accept 1499, send 173894, recv 62439, close 0, drop 3339 10.11 real 15.71 user 16.74 sys