==== 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 777, accept 71, send 329, recv 32, close 560, drop 0 10.03 real 15.04 user 9.48 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121687, accept 61980, send 159765, recv 65017, close 119473, drop 0 0m10.08s real 0m08.96s user 0m18.38s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14326, splice 6609, unsplice 0, max 0, idle 0, accept 6773, send 41169, recv 9463, close 23900, drop 0 10.02 real 13.44 user 10.89 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10091, splice 4384, unsplice 8223, max 0, idle 0, accept 5071, send 23898, recv 6784, close 14423, drop 0 10.08 real 17.65 user 14.76 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14418, splice 7126, unsplice 0, max 2490, idle 0, accept 7117, send 61262, recv 9382, close 20864, drop 0 10.14 real 15.37 user 15.68 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11241, splice 4939, unsplice 0, max 0, idle 0, accept 5499, send 54856, recv 8239, close 16691, drop 0 10.02 real 16.55 user 15.58 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2927, accept 2657, send 123188, recv 4482, close 0, drop 2651 10.02 real 18.28 user 15.95 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1634, splice 649, unsplice 0, max 0, idle 0, accept 1003, send 217442, recv 121777, close 0, drop 2279 10.08 real 13.98 user 17.39 sys