==== 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 760, accept 57, send 334, recv 26, close 540, drop 0 10.02 real 16.23 user 5.80 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124520, accept 63326, send 167016, recv 64201, close 122917, drop 0 0m10.07s real 0m09.32s user 0m18.51s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 22395, splice 8038, unsplice 0, max 0, idle 0, accept 8016, send 50232, recv 7776, close 35748, drop 0 10.05 real 13.61 user 9.65 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13052, splice 4674, unsplice 8651, max 0, idle 0, accept 4978, send 25382, recv 4761, close 18362, drop 0 10.05 real 17.74 user 13.98 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13005, splice 6280, unsplice 0, max 2153, idle 0, accept 6547, send 50670, recv 8731, close 19325, drop 0 10.18 real 15.94 user 15.73 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 19728, splice 7609, unsplice 0, max 0, idle 0, accept 7647, send 69531, recv 10891, close 25423, drop 0 10.02 real 14.88 user 14.97 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2982, accept 2734, send 125697, recv 4690, close 0, drop 2717 10.02 real 18.38 user 15.27 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3646, splice 1291, unsplice 0, max 0, idle 0, accept 2239, send 204458, recv 73024, close 0, drop 4964 10.07 real 14.76 user 17.11 sys