==== 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 42, send 350, recv 14, close 537, drop 0 10.03 real 15.08 user 9.70 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121577, accept 64012, send 154476, recv 62563, close 122851, drop 0 0m10.07s real 0m08.91s user 0m18.44s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11333, splice 5859, unsplice 0, max 0, idle 0, accept 5718, send 34280, recv 9368, close 18912, drop 0 10.04 real 13.74 user 10.16 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14290, splice 5463, unsplice 8914, max 0, idle 0, accept 6221, send 30162, recv 5508, close 21182, drop 0 10.07 real 16.44 user 14.96 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 7659, splice 4427, unsplice 0, max 1851, idle 0, accept 4312, send 33580, recv 8708, close 10791, drop 0 10.06 real 16.39 user 13.83 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9214, splice 4681, unsplice 0, max 0, idle 0, accept 4210, send 51338, recv 9600, close 12057, drop 0 10.12 real 13.06 user 12.31 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3075, accept 2685, send 123865, recv 4952, close 0, drop 2672 10.02 real 13.51 user 12.98 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1832, splice 988, unsplice 0, max 0, idle 0, accept 1089, send 220553, recv 100402, close 0, drop 2435 10.02 real 11.18 user 13.31 sys