==== 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 764, accept 30, send 349, recv 14, close 485, drop 0 10.03 real 14.74 user 9.82 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126888, accept 61790, send 147439, recv 60600, close 123452, drop 0 0m10.08s real 0m09.22s user 0m18.48s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11143, splice 5698, unsplice 0, max 0, idle 0, accept 5761, send 34596, recv 9177, close 19184, drop 0 10.14 real 13.85 user 10.25 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14998, splice 5075, unsplice 10358, max 0, idle 0, accept 6294, send 32527, recv 5810, close 21860, drop 0 10.04 real 16.80 user 14.67 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10095, splice 5220, unsplice 0, max 2170, idle 0, accept 5925, send 40969, recv 9690, close 15318, drop 0 10.02 real 16.98 user 15.76 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8840, splice 4761, unsplice 0, max 0, idle 0, accept 5221, send 43255, recv 11214, close 13662, drop 0 10.07 real 16.46 user 15.88 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2914, accept 2659, send 124131, recv 4673, close 0, drop 2655 10.18 real 17.81 user 16.65 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2347, splice 1041, unsplice 0, max 0, idle 0, accept 1485, send 230262, recv 119547, close 0, drop 3210 10.10 real 13.81 user 17.14 sys