==== 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 771, accept 49, send 329, recv 27, close 537, drop 0 10.01 real 15.90 user 5.71 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123692, accept 62831, send 151238, recv 61030, close 122740, drop 0 0m10.07s real 0m09.25s user 0m17.93s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16685, splice 6583, unsplice 0, max 0, idle 0, accept 6774, send 40406, recv 7218, close 27457, drop 0 10.16 real 13.32 user 8.52 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 23762, splice 6168, unsplice 12070, max 0, idle 0, accept 7416, send 39199, recv 6971, close 28966, drop 0 10.02 real 16.16 user 14.18 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14933, splice 5919, unsplice 0, max 1865, idle 0, accept 6625, send 56318, recv 9583, close 20327, drop 0 10.05 real 15.39 user 15.34 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11904, splice 5267, unsplice 0, max 0, idle 0, accept 5937, send 49624, recv 8594, close 18377, drop 0 10.02 real 16.09 user 14.89 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2867, accept 2634, send 124174, recv 4440, close 0, drop 2625 10.02 real 17.98 user 15.39 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2021, splice 961, unsplice 0, max 0, idle 0, accept 1247, send 208991, recv 101335, close 0, drop 2673 10.07 real 14.04 user 17.65 sys