==== 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 761, accept 52, send 344, recv 25, close 537, drop 0 10.04 real 14.64 user 9.91 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126019, accept 60322, send 157271, recv 58211, close 121067, drop 0 0m10.08s real 0m09.19s user 0m17.72s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10423, splice 5692, unsplice 0, max 0, idle 0, accept 5620, send 30229, recv 8946, close 17635, drop 0 10.02 real 13.74 user 10.59 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 9367, splice 4722, unsplice 7421, max 0, idle 0, accept 5084, send 20535, recv 5775, close 14462, drop 0 10.06 real 17.44 user 15.02 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11152, splice 5281, unsplice 0, max 1945, idle 0, accept 5777, send 60808, recv 8882, close 16292, drop 0 10.07 real 11.75 user 10.22 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7728, splice 4110, unsplice 0, max 0, idle 0, accept 3869, send 77229, recv 6956, close 11083, drop 0 10.05 real 10.16 user 8.14 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3476, accept 2725, send 92841, recv 6379, close 0, drop 2722 10.02 real 10.66 user 8.37 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 4517, splice 2221, unsplice 0, max 0, idle 0, accept 2601, send 100771, recv 13500, close 0, drop 5839 10.08 real 10.29 user 7.77 sys