==== 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 807, accept 50, send 373, recv 33, close 527, drop 0 10.04 real 14.89 user 9.33 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125282, accept 63413, send 153792, recv 60118, close 124775, drop 0 0m10.08s real 0m09.43s user 0m18.33s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 8980, splice 4912, unsplice 0, max 0, idle 0, accept 4903, send 29985, recv 9099, close 15312, drop 0 10.04 real 14.04 user 10.56 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13754, splice 4841, unsplice 8285, max 0, idle 0, accept 5952, send 29983, recv 4650, close 20651, drop 0 10.02 real 16.24 user 14.78 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12145, splice 5678, unsplice 0, max 2119, idle 0, accept 6526, send 50076, recv 8465, close 18269, drop 0 10.08 real 16.11 user 15.65 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13569, splice 6046, unsplice 0, max 0, idle 0, accept 6822, send 62758, recv 9736, close 20569, drop 0 10.02 real 15.46 user 15.18 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2873, accept 2651, send 123471, recv 4471, close 0, drop 2633 10.02 real 18.35 user 15.55 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3005, splice 1377, unsplice 0, max 0, idle 0, accept 1911, send 141053, recv 31789, close 0, drop 4217 10.08 real 16.32 user 16.07 sys