==== 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 859, accept 52, send 362, recv 18, close 584, drop 0 10.01 real 14.95 user 9.49 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 117594, accept 62243, send 166819, recv 62321, close 118729, drop 0 0m10.08s real 0m08.95s user 0m17.52s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14879, splice 6830, unsplice 0, max 0, idle 0, accept 6875, send 43353, recv 10047, close 23775, drop 0 10.02 real 14.07 user 10.88 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17060, splice 6223, unsplice 11086, max 0, idle 0, accept 6921, send 41151, recv 6885, close 23896, drop 0 10.04 real 15.56 user 15.16 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10924, splice 5287, unsplice 0, max 2057, idle 0, accept 5753, send 46718, recv 8145, close 15546, drop 0 10.02 real 15.89 user 16.76 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10847, splice 4946, unsplice 0, max 0, idle 0, accept 5152, send 48171, recv 8599, close 15645, drop 0 10.04 real 16.21 user 15.86 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2896, accept 2678, send 123786, recv 4610, close 0, drop 2668 10.12 real 18.08 user 16.01 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2629, splice 1323, unsplice 0, max 0, idle 0, accept 1731, send 177768, recv 68038, close 0, drop 3665 10.10 real 15.37 user 16.58 sys