==== 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 39, send 353, recv 20, close 533, drop 0 10.03 real 15.19 user 8.48 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123984, accept 62568, send 157466, recv 62744, close 122603, drop 0 0m10.08s real 0m08.87s user 0m18.83s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14198, splice 6071, unsplice 0, max 0, idle 0, accept 5996, send 36887, recv 6349, close 23463, drop 0 10.04 real 13.21 user 10.11 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12697, splice 5074, unsplice 9165, max 0, idle 0, accept 5866, send 27202, recv 6070, close 18579, drop 0 10.12 real 17.16 user 14.46 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17653, splice 8171, unsplice 0, max 2833, idle 0, accept 8388, send 73498, recv 12037, close 24008, drop 0 10.17 real 15.47 user 15.79 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 17799, splice 7423, unsplice 0, max 0, idle 0, accept 7637, send 76803, recv 10068, close 23938, drop 0 10.02 real 15.55 user 15.45 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2891, accept 2655, send 125689, recv 4523, close 0, drop 2642 10.22 real 17.53 user 16.31 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1971, splice 833, unsplice 0, max 0, idle 0, accept 1227, send 208324, recv 97963, close 0, drop 2702 10.18 real 14.08 user 17.12 sys