==== 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 804, accept 127, send 429, recv 72, close 591, drop 0 10.03 real 15.53 user 5.97 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124599, accept 62651, send 169298, recv 65738, close 121749, drop 0 0m10.08s real 0m09.10s user 0m18.17s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15155, splice 6753, unsplice 0, max 0, idle 0, accept 6881, send 45696, recv 9532, close 24243, drop 0 10.04 real 14.63 user 7.71 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15960, splice 5373, unsplice 9400, max 0, idle 0, accept 6009, send 36875, recv 5589, close 21870, drop 0 10.03 real 16.73 user 13.20 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14817, splice 6540, unsplice 0, max 2285, idle 0, accept 6926, send 58316, recv 9324, close 20133, drop 0 10.22 real 16.41 user 13.97 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11957, splice 5288, unsplice 0, max 0, idle 0, accept 5823, send 57988, recv 10324, close 16887, drop 0 10.14 real 15.67 user 14.46 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2954, accept 2674, send 124912, recv 4067, close 0, drop 2658 10.02 real 17.87 user 15.08 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2548, splice 1206, unsplice 0, max 0, idle 0, accept 1652, send 179568, recv 66293, close 0, drop 3465 10.04 real 15.71 user 16.60 sys