==== 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 796, accept 53, send 334, recv 28, close 562, drop 0 10.04 real 15.14 user 9.55 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125541, accept 61817, send 157804, recv 60867, close 122862, drop 0 0m10.08s real 0m09.08s user 0m18.23s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12852, splice 5904, unsplice 0, max 0, idle 0, accept 5958, send 38568, recv 8171, close 21535, drop 0 10.14 real 13.43 user 10.93 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15039, splice 5366, unsplice 9522, max 0, idle 0, accept 5892, send 29266, recv 5665, close 21417, drop 0 10.06 real 17.16 user 15.10 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11640, splice 5661, unsplice 0, max 2141, idle 0, accept 6005, send 53062, recv 8979, close 16503, drop 0 10.02 real 16.24 user 16.11 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10264, splice 5037, unsplice 0, max 0, idle 0, accept 5626, send 49251, recv 10389, close 15483, drop 0 10.01 real 17.46 user 15.12 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2974, accept 2703, send 124131, recv 4400, close 0, drop 2689 10.02 real 18.45 user 15.70 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2147, splice 1009, unsplice 0, max 0, idle 0, accept 1383, send 196803, recv 93975, close 0, drop 3016 10.08 real 15.21 user 16.86 sys