==== 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 821, accept 50, send 377, recv 12, close 541, drop 0 10.03 real 15.13 user 9.28 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 128053, accept 62762, send 154413, recv 59100, close 125571, drop 0 0m10.08s real 0m09.41s user 0m18.46s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11561, splice 5465, unsplice 0, max 0, idle 0, accept 5466, send 28346, recv 6861, close 19676, drop 0 10.02 real 14.06 user 9.99 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14868, splice 5376, unsplice 10778, max 0, idle 0, accept 6671, send 31686, recv 6575, close 21694, drop 0 10.02 real 16.99 user 14.50 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 7776, splice 4595, unsplice 0, max 1746, idle 0, accept 4695, send 30976, recv 8305, close 11713, drop 0 10.06 real 17.82 user 14.98 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11081, splice 5197, unsplice 0, max 0, idle 0, accept 5755, send 46344, recv 8850, close 17085, drop 0 10.07 real 17.13 user 15.58 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2921, accept 2653, send 123704, recv 4295, close 0, drop 2644 10.02 real 18.17 user 16.05 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3166, splice 1279, unsplice 0, max 0, idle 0, accept 1937, send 208869, recv 87196, close 0, drop 4211 10.06 real 15.41 user 16.56 sys