==== 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 863, accept 79, send 416, recv 37, close 583, drop 0 10.02 real 16.08 user 9.06 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121656, accept 62163, send 179014, recv 63750, close 119619, drop 0 0m10.08s real 0m09.14s user 0m17.59s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14591, splice 6834, unsplice 0, max 0, idle 0, accept 6853, send 43360, recv 9019, close 23956, drop 0 10.02 real 14.24 user 10.82 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10304, splice 4652, unsplice 7979, max 0, idle 0, accept 5072, send 26247, recv 7208, close 14259, drop 0 10.04 real 17.49 user 15.25 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13040, splice 5912, unsplice 0, max 2199, idle 0, accept 6512, send 55059, recv 8143, close 18770, drop 0 10.12 real 16.15 user 15.85 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12809, splice 6253, unsplice 0, max 0, idle 0, accept 6450, send 60579, recv 9569, close 19073, drop 0 10.15 real 16.27 user 15.94 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2913, accept 2650, send 122247, recv 4402, close 0, drop 2642 10.02 real 18.11 user 15.93 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2458, splice 1102, unsplice 0, max 0, idle 0, accept 1593, send 176020, recv 72933, close 0, drop 3499 10.14 real 15.59 user 16.87 sys