==== 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 781, accept 77, send 354, recv 38, close 572, drop 0 10.04 real 15.89 user 7.69 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122099, accept 63621, send 164414, recv 64057, close 122380, drop 0 0m10.06s real 0m09.27s user 0m17.72s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14493, splice 6321, unsplice 0, max 0, idle 0, accept 6440, send 39658, recv 8786, close 23589, drop 0 10.10 real 13.95 user 10.35 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16152, splice 5708, unsplice 11341, max 0, idle 0, accept 6928, send 36712, recv 7226, close 22825, drop 0 10.11 real 16.47 user 14.50 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17875, splice 7367, unsplice 0, max 2455, idle 0, accept 7993, send 74646, recv 10785, close 23648, drop 0 10.04 real 15.02 user 15.14 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14010, splice 5928, unsplice 0, max 0, idle 3, accept 6366, send 61516, recv 9442, close 19444, drop 0 10.10 real 15.85 user 15.97 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2892, accept 2631, send 122719, recv 4495, close 0, drop 2616 10.12 real 18.14 user 15.72 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2622, splice 1113, unsplice 0, max 0, idle 0, accept 1666, send 170272, recv 67747, close 0, drop 3737 10.08 real 15.15 user 17.26 sys