==== 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 767, accept 33, send 343, recv 11, close 501, drop 0 10.03 real 15.17 user 8.96 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125284, accept 62832, send 157055, recv 62062, close 122494, drop 0 0m10.08s real 0m09.37s user 0m17.98s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 8051, splice 4725, unsplice 0, max 0, idle 0, accept 4668, send 24236, recv 8326, close 14113, drop 0 10.03 real 14.65 user 9.72 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 21886, splice 6962, unsplice 14358, max 0, idle 0, accept 8343, send 46494, recv 7314, close 31443, drop 0 10.22 real 14.67 user 15.88 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15175, splice 6516, unsplice 0, max 2274, idle 0, accept 6995, send 62270, recv 8719, close 20434, drop 0 10.24 real 15.92 user 15.48 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10796, splice 5313, unsplice 0, max 0, idle 0, accept 5640, send 51501, recv 9601, close 15959, drop 0 10.04 real 16.32 user 15.61 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2976, accept 2703, send 125697, recv 4547, close 0, drop 2698 10.02 real 17.90 user 15.10 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2378, splice 1142, unsplice 0, max 0, idle 0, accept 1557, send 184882, recv 80739, close 0, drop 3337 10.04 real 14.54 user 17.07 sys