==== 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 825, accept 56, send 391, recv 26, close 550, drop 0 10.04 real 15.90 user 5.58 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121710, accept 62011, send 153254, recv 62354, close 119434, drop 0 0m10.07s real 0m09.42s user 0m18.55s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11697, splice 5864, unsplice 0, max 0, idle 0, accept 5972, send 35616, recv 10116, close 19713, drop 0 10.08 real 14.47 user 7.80 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13601, splice 4419, unsplice 9385, max 0, idle 0, accept 5556, send 28157, recv 5789, close 19647, drop 0 10.02 real 16.66 user 13.93 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11174, splice 5385, unsplice 0, max 2025, idle 0, accept 6083, send 45812, recv 9417, close 16313, drop 0 10.19 real 15.64 user 14.60 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11615, splice 4990, unsplice 0, max 0, idle 4, accept 4978, send 60276, recv 7443, close 15822, drop 0 10.06 real 12.74 user 12.73 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3093, accept 2714, send 128281, recv 5201, close 0, drop 2704 10.03 real 13.42 user 13.16 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1870, splice 834, unsplice 0, max 0, idle 0, accept 1077, send 199276, recv 87877, close 0, drop 2465 10.04 real 10.96 user 13.18 sys