==== 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 775, accept 85, send 375, recv 34, close 560, drop 0 10.01 real 15.06 user 9.47 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127076, accept 63075, send 151716, recv 62864, close 124116, drop 0 0m10.08s real 0m09.70s user 0m17.78s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12784, splice 5735, unsplice 0, max 0, idle 0, accept 6012, send 32659, recv 7449, close 22065, drop 0 10.05 real 13.52 user 9.94 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17622, splice 4267, unsplice 11987, max 0, idle 0, accept 6518, send 31666, recv 5409, close 25688, drop 0 10.03 real 16.21 user 15.39 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 9610, splice 5017, unsplice 0, max 1760, idle 0, accept 5395, send 37538, recv 7854, close 14642, drop 0 10.02 real 17.08 user 15.93 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12106, splice 5756, unsplice 0, max 0, idle 0, accept 6389, send 49131, recv 10008, close 18810, drop 0 10.04 real 16.37 user 15.49 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2909, accept 2661, send 123086, recv 4367, close 0, drop 2650 10.02 real 18.08 user 15.76 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3333, splice 1265, unsplice 0, max 0, idle 0, accept 2047, send 199322, recv 80637, close 0, drop 4472 10.07 real 14.95 user 17.07 sys