==== 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 790, accept 379, send 558, recv 141, close 805, drop 0 10.02 real 17.96 user 12.14 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 43231, accept 34352, send 75899, recv 35582, close 51153, drop 0 0m10.03s real 0m10.18s user 0m20.01s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 25284, splice 7875, unsplice 0, max 0, idle 0, accept 11293, send 57446, recv 12624, close 40768, drop 0 10.03 real 13.57 user 13.68 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 49351, splice 4767, unsplice 20352, max 0, idle 0, accept 7935, send 60551, recv 6785, close 49426, drop 0 10.03 real 13.93 user 18.58 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 24081, splice 8267, unsplice 0, max 2130, idle 0, accept 10058, send 86966, recv 11331, close 33611, drop 0 10.03 real 15.25 user 18.79 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 22217, splice 7397, unsplice 0, max 0, idle 0, accept 9872, send 86249, recv 12621, close 31356, drop 0 10.02 real 14.47 user 18.35 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2932, accept 2800, send 126173, recv 4754, close 0, drop 2779 10.02 real 20.24 user 18.14 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2977, splice 555, unsplice 0, max 0, idle 0, accept 2134, send 175574, recv 55708, close 0, drop 4524 10.15 real 17.37 user 19.44 sys