==== 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 827, accept 69, send 371, recv 37, close 606, drop 0 10.01 real 15.61 user 6.40 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 128047, accept 60829, send 144295, recv 59816, close 123528, drop 0 0m10.09s real 0m09.18s user 0m18.33s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13546, splice 6327, unsplice 0, max 0, idle 0, accept 6250, send 36436, recv 7585, close 22441, drop 0 10.03 real 13.60 user 8.69 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11148, splice 4898, unsplice 8386, max 0, idle 0, accept 5428, send 24556, recv 5708, close 16780, drop 0 10.10 real 16.60 user 14.14 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19455, splice 7681, unsplice 0, max 2785, idle 0, accept 8496, send 78385, recv 11533, close 24783, drop 0 10.04 real 14.64 user 15.12 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8985, splice 4601, unsplice 0, max 0, idle 1, accept 4514, send 39535, recv 8689, close 13123, drop 0 10.04 real 17.27 user 14.46 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2871, accept 2638, send 123390, recv 4361, close 0, drop 2621 10.02 real 18.40 user 14.24 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1836, splice 761, unsplice 0, max 0, idle 0, accept 1139, send 215085, recv 110991, close 0, drop 2555 10.10 real 14.22 user 17.28 sys