==== 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 793, accept 48, send 350, recv 21, close 536, drop 0 10.04 real 14.88 user 8.43 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125339, accept 62556, send 147995, recv 60335, close 123696, drop 0 0m10.07s real 0m09.72s user 0m18.09s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13760, splice 6145, unsplice 0, max 0, idle 0, accept 6078, send 34018, recv 7859, close 23165, drop 0 10.04 real 13.38 user 10.67 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 25155, splice 6762, unsplice 15865, max 0, idle 0, accept 8978, send 45638, recv 7208, close 36296, drop 0 10.22 real 15.32 user 15.62 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17938, splice 7720, unsplice 0, max 2412, idle 0, accept 8205, send 69486, recv 10221, close 24733, drop 0 10.19 real 16.09 user 15.65 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 30377, splice 7874, unsplice 0, max 0, idle 0, accept 7855, send 87827, recv 12912, close 29272, drop 0 10.03 real 11.73 user 17.80 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3007, accept 2675, send 127008, recv 4481, close 0, drop 2670 10.02 real 17.95 user 16.04 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3567, splice 1402, unsplice 0, max 0, idle 0, accept 2223, send 202447, recv 73697, close 0, drop 4843 10.14 real 14.50 user 16.71 sys