==== 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 745, accept 44, send 317, recv 12, close 525, drop 0 10.01 real 14.67 user 9.98 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121568, accept 62265, send 150827, recv 61901, close 120806, drop 0 0m10.08s real 0m09.07s user 0m18.06s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16316, splice 7146, unsplice 0, max 0, idle 0, accept 6997, send 44203, recv 9978, close 25359, drop 0 10.02 real 12.94 user 11.39 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 18707, splice 7866, unsplice 11847, max 0, idle 0, accept 7753, send 39695, recv 7523, close 26730, drop 0 10.02 real 15.95 user 15.74 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12002, splice 5533, unsplice 0, max 1938, idle 0, accept 6022, send 49382, recv 7381, close 17349, drop 0 10.04 real 15.94 user 16.39 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11016, splice 5177, unsplice 0, max 0, idle 0, accept 5762, send 49007, recv 9553, close 17028, drop 0 10.04 real 16.11 user 15.92 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2916, accept 2677, send 124132, recv 4488, close 0, drop 2663 10.02 real 17.54 user 16.83 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1588, splice 747, unsplice 0, max 0, idle 0, accept 1041, send 231810, recv 127318, close 0, drop 2234 10.16 real 13.79 user 17.64 sys