==== 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 833, accept 46, send 363, recv 22, close 564, drop 0 10.03 real 16.07 user 5.81 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126393, accept 62679, send 155576, recv 64704, close 122986, drop 0 0m10.08s real 0m09.85s user 0m18.22s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11632, splice 5643, unsplice 0, max 0, idle 0, accept 5525, send 31271, recv 8385, close 18502, drop 0 10.01 real 14.08 user 7.16 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 21644, splice 6308, unsplice 13310, max 0, idle 0, accept 7984, send 43927, recv 7350, close 30179, drop 0 10.19 real 15.51 user 14.71 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 8728, splice 4680, unsplice 0, max 1735, idle 0, accept 4499, send 34777, recv 7734, close 12380, drop 0 10.02 real 15.08 user 13.95 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11509, splice 5145, unsplice 0, max 0, idle 0, accept 5265, send 62940, recv 7162, close 16107, drop 0 10.05 real 12.41 user 12.44 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3271, accept 2669, send 124483, recv 4899, close 0, drop 2652 10.02 real 13.48 user 13.14 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2022, splice 990, unsplice 0, max 0, idle 0, accept 1220, send 178210, recv 80264, close 0, drop 2751 10.02 real 10.77 user 13.83 sys