==== 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 803, accept 98, send 388, recv 47, close 606, drop 0 10.03 real 15.75 user 6.34 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122924, accept 63358, send 181036, recv 62339, close 121749, drop 0 0m10.07s real 0m09.02s user 0m18.07s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12709, splice 5940, unsplice 0, max 0, idle 0, accept 5816, send 40352, recv 9880, close 20191, drop 0 10.02 real 14.04 user 8.38 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14898, splice 5208, unsplice 9773, max 0, idle 0, accept 5946, send 34323, recv 5918, close 20475, drop 0 10.03 real 17.21 user 13.90 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15286, splice 6352, unsplice 0, max 2298, idle 0, accept 6975, send 70449, recv 9541, close 20291, drop 0 10.04 real 15.51 user 14.98 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12119, splice 5552, unsplice 0, max 0, idle 0, accept 5715, send 62451, recv 8797, close 17160, drop 0 10.19 real 16.75 user 14.42 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2888, accept 2679, send 122906, recv 4521, close 0, drop 2670 10.02 real 17.97 user 15.90 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2184, splice 798, unsplice 0, max 0, idle 0, accept 1324, send 198396, recv 90103, close 0, drop 3000 10.04 real 15.02 user 17.49 sys