==== 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 806, accept 317, send 542, recv 114, close 750, drop 0 10.04 real 18.39 user 11.66 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 43779, accept 34931, send 78519, recv 36528, close 52056, drop 0 0m10.03s real 0m09.52s user 0m20.68s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 24883, splice 8114, unsplice 0, max 0, idle 0, accept 11438, send 56682, recv 12394, close 40538, drop 0 10.03 real 13.71 user 13.77 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 58261, splice 5224, unsplice 21032, max 0, idle 0, accept 8099, send 64543, recv 7040, close 54525, drop 0 10.03 real 13.10 user 18.62 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19906, splice 6696, unsplice 0, max 1961, idle 0, accept 9267, send 70600, recv 10039, close 28072, drop 0 10.02 real 16.31 user 18.24 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 23005, splice 7573, unsplice 0, max 0, idle 0, accept 10042, send 94045, recv 14139, close 31852, drop 0 10.22 real 14.33 user 18.69 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3023, accept 2864, send 127566, recv 5022, close 0, drop 2838 10.02 real 19.68 user 19.01 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2931, splice 602, unsplice 0, max 0, idle 0, accept 2139, send 152952, recv 36581, close 0, drop 4469 10.03 real 18.50 user 18.55 sys