==== 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 33, send 309, recv 12, close 547, drop 0 10.01 real 15.31 user 6.09 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 130604, accept 61922, send 151077, recv 59470, close 125308, drop 0 0m10.08s real 0m09.52s user 0m18.06s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 18051, splice 6949, unsplice 0, max 0, idle 0, accept 7287, send 41003, recv 6864, close 30484, drop 0 10.02 real 13.69 user 10.05 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15573, splice 5047, unsplice 10116, max 0, idle 0, accept 6361, send 27068, recv 5670, close 23138, drop 0 10.20 real 16.77 user 14.12 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 18363, splice 5629, unsplice 0, max 1853, idle 0, accept 6320, send 52128, recv 8102, close 20369, drop 0 10.12 real 16.28 user 15.55 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 16581, splice 7293, unsplice 0, max 0, idle 1, accept 7117, send 60389, recv 10332, close 24513, drop 0 10.02 real 15.60 user 14.91 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2867, accept 2604, send 123661, recv 4507, close 0, drop 2597 10.02 real 17.97 user 15.60 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2989, splice 1395, unsplice 0, max 0, idle 0, accept 1911, send 141766, recv 34248, close 0, drop 4152 10.10 real 16.75 user 16.14 sys