==== 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 795, accept 74, send 369, recv 28, close 544, drop 0 10.04 real 15.07 user 9.14 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125563, accept 62678, send 156373, recv 63559, close 122172, drop 0 0m10.08s real 0m09.34s user 0m18.32s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12084, splice 5842, unsplice 0, max 0, idle 0, accept 5910, send 35889, recv 8122, close 20260, drop 0 10.04 real 13.20 user 10.76 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15608, splice 4009, unsplice 9600, max 0, idle 0, accept 5554, send 31233, recv 4805, close 21799, drop 0 10.04 real 16.41 user 14.94 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12233, splice 5470, unsplice 0, max 1900, idle 0, accept 5689, send 56382, recv 8089, close 16488, drop 0 10.03 real 12.09 user 12.70 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7653, splice 4131, unsplice 0, max 0, idle 0, accept 3968, send 51579, recv 9203, close 10692, drop 0 10.04 real 13.08 user 12.48 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3053, accept 2714, send 124466, recv 5004, close 0, drop 2706 10.02 real 13.73 user 12.72 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1863, splice 691, unsplice 0, max 0, idle 0, accept 1017, send 209600, recv 107758, close 0, drop 2421 10.04 real 10.12 user 13.27 sys