==== 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 859, accept 69, send 397, recv 25, close 585, drop 0 10.02 real 15.94 user 7.61 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125874, accept 63863, send 155057, recv 62977, close 124644, drop 0 0m10.08s real 0m09.19s user 0m18.30s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10420, splice 5369, unsplice 0, max 0, idle 0, accept 5374, send 31846, recv 8261, close 17723, drop 0 10.05 real 13.97 user 10.29 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12506, splice 5336, unsplice 9728, max 0, idle 0, accept 6131, send 29761, recv 7779, close 17704, drop 0 10.02 real 16.26 user 15.21 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11892, splice 6166, unsplice 0, max 2271, idle 0, accept 6320, send 51692, recv 10059, close 17200, drop 0 10.13 real 16.55 user 14.83 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11610, splice 5344, unsplice 0, max 0, idle 0, accept 5905, send 53950, recv 8969, close 17230, drop 0 10.10 real 16.37 user 15.71 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2864, accept 2625, send 122522, recv 4152, close 0, drop 2622 10.14 real 17.87 user 15.94 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2727, splice 1041, unsplice 0, max 0, idle 0, accept 1651, send 161460, recv 46619, close 0, drop 3729 10.10 real 16.14 user 15.59 sys