==== 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 770, accept 67, send 364, recv 30, close 517, drop 0 10.03 real 15.34 user 6.16 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122908, accept 62907, send 167013, recv 64600, close 121358, drop 0 0m10.07s real 0m09.06s user 0m18.38s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9861, splice 5365, unsplice 0, max 0, idle 0, accept 5334, send 29983, recv 9158, close 16976, drop 0 10.04 real 13.97 user 7.55 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15834, splice 4756, unsplice 10744, max 0, idle 0, accept 6245, send 30691, recv 5369, close 23385, drop 0 10.02 real 16.17 user 14.43 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16902, splice 7417, unsplice 0, max 2541, idle 0, accept 8257, send 71801, recv 11212, close 24461, drop 0 10.02 real 13.04 user 14.20 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7611, splice 3940, unsplice 0, max 0, idle 0, accept 3541, send 42550, recv 7585, close 10395, drop 0 10.02 real 13.22 user 12.37 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2908, accept 2697, send 123943, recv 4813, close 0, drop 2688 10.06 real 14.07 user 12.49 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1641, splice 782, unsplice 0, max 0, idle 0, accept 926, send 234258, recv 117248, close 0, drop 2080 10.08 real 11.52 user 13.53 sys