==== 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 792, accept 65, send 365, recv 19, close 545, drop 0 10.01 real 15.16 user 9.18 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124384, accept 63192, send 167069, recv 60856, close 123317, drop 0 0m10.08s real 0m08.77s user 0m18.75s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15763, splice 6771, unsplice 0, max 0, idle 0, accept 6872, send 48995, recv 9460, close 25307, drop 0 10.02 real 14.43 user 7.87 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 20429, splice 6209, unsplice 12942, max 0, idle 0, accept 7258, send 41758, recv 6772, close 28265, drop 0 10.15 real 16.39 user 13.77 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19215, splice 7761, unsplice 0, max 2661, idle 0, accept 8002, send 79999, recv 9725, close 24109, drop 0 10.08 real 15.03 user 15.16 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 16875, splice 6383, unsplice 0, max 0, idle 0, accept 6493, send 79028, recv 9991, close 21109, drop 0 10.17 real 16.03 user 14.98 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3072, accept 2643, send 122839, recv 4479, close 0, drop 2640 10.02 real 18.61 user 14.99 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2405, splice 1198, unsplice 0, max 0, idle 0, accept 1581, send 178412, recv 67267, close 0, drop 3403 10.23 real 15.68 user 16.97 sys