==== 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 748, accept 63, send 337, recv 26, close 530, drop 0 10.02 real 15.41 user 6.85 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 130709, accept 63050, send 155439, recv 63697, close 126166, drop 0 0m10.09s real 0m09.92s user 0m17.83s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11659, splice 5495, unsplice 0, max 0, idle 0, accept 5793, send 32192, recv 7196, close 20704, drop 0 10.11 real 14.62 user 7.16 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 24678, splice 7035, unsplice 16116, max 0, idle 0, accept 8880, send 41374, recv 7812, close 35436, drop 0 10.15 real 15.63 user 14.62 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 20579, splice 9244, unsplice 0, max 2604, idle 0, accept 8663, send 78487, recv 12048, close 28875, drop 0 10.21 real 15.46 user 14.53 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13655, splice 6106, unsplice 0, max 0, idle 0, accept 6724, send 56265, recv 10289, close 20358, drop 0 10.22 real 16.16 user 14.73 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2931, accept 2684, send 124451, recv 4425, close 0, drop 2676 10.02 real 18.52 user 14.72 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3316, splice 1239, unsplice 0, max 0, idle 0, accept 2009, send 205157, recv 81880, close 0, drop 4412 10.03 real 15.42 user 16.35 sys