==== 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 830, accept 89, send 387, recv 32, close 600, drop 0 10.03 real 14.85 user 8.93 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121962, accept 62562, send 179034, recv 62526, close 120774, drop 0 0m10.07s real 0m09.07s user 0m17.91s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 23186, splice 9163, unsplice 0, max 0, idle 0, accept 9549, send 61032, recv 9958, close 36715, drop 0 10.04 real 12.82 user 11.70 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14826, splice 5097, unsplice 9569, max 0, idle 0, accept 5841, send 32047, recv 6722, close 20036, drop 0 10.08 real 16.54 user 14.32 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12801, splice 5528, unsplice 0, max 2011, idle 0, accept 5836, send 51756, recv 7357, close 17308, drop 0 10.19 real 16.53 user 15.18 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 17162, splice 7059, unsplice 0, max 0, idle 0, accept 7278, send 75942, recv 9730, close 22654, drop 0 10.12 real 15.84 user 14.75 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3017, accept 2657, send 124430, recv 4505, close 0, drop 2641 10.02 real 17.83 user 15.28 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2333, splice 1088, unsplice 0, max 0, idle 0, accept 1519, send 189457, recv 85598, close 0, drop 3308 10.02 real 14.93 user 17.28 sys