==== 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 796, accept 73, send 359, recv 37, close 582, drop 0 10.02 real 15.13 user 6.06 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122192, accept 62272, send 155587, recv 62692, close 120731, drop 0 0m10.08s real 0m09.32s user 0m18.55s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17051, splice 7718, unsplice 0, max 0, idle 0, accept 7738, send 52141, recv 11348, close 26857, drop 0 10.15 real 14.20 user 8.85 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 9728, splice 4733, unsplice 7269, max 0, idle 0, accept 4971, send 22804, recv 5473, close 14579, drop 0 10.02 real 17.00 user 13.59 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14458, splice 6378, unsplice 0, max 2302, idle 0, accept 7014, send 55549, recv 8209, close 20790, drop 0 10.07 real 15.91 user 14.60 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13953, splice 6363, unsplice 0, max 0, idle 0, accept 6924, send 62146, recv 10709, close 20219, drop 0 10.14 real 15.42 user 15.98 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2886, accept 2660, send 124432, recv 4579, close 0, drop 2656 10.02 real 17.80 user 15.07 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2759, splice 1263, unsplice 0, max 0, idle 0, accept 1723, send 157526, recv 53562, close 0, drop 3754 10.05 real 15.78 user 16.42 sys