==== 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 836, accept 80, send 388, recv 32, close 571, drop 0 10.01 real 15.21 user 9.01 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125467, accept 62866, send 173095, recv 62748, close 122597, drop 0 0m10.07s real 0m09.12s user 0m17.69s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 20867, splice 8864, unsplice 0, max 0, idle 0, accept 8971, send 57419, recv 11328, close 32924, drop 0 10.04 real 12.99 user 10.74 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15936, splice 4969, unsplice 9375, max 0, idle 0, accept 5500, send 35296, recv 4827, close 21698, drop 0 10.04 real 16.77 user 15.32 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15703, splice 7063, unsplice 0, max 2520, idle 0, accept 6983, send 65516, recv 10013, close 20206, drop 0 10.07 real 16.04 user 15.88 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12121, splice 5537, unsplice 0, max 0, idle 1, accept 5520, send 54364, recv 10287, close 16115, drop 0 10.02 real 16.13 user 15.51 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2948, accept 2683, send 121983, recv 4496, close 0, drop 2679 10.02 real 17.71 user 16.23 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2759, splice 1245, unsplice 0, max 0, idle 0, accept 1748, send 167680, recv 56712, close 0, drop 3788 10.04 real 16.18 user 16.78 sys