==== 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 795, accept 71, send 347, recv 41, close 572, drop 0 10.04 real 14.80 user 9.49 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126852, accept 61595, send 149358, recv 62341, close 122269, drop 0 0m10.07s real 0m09.61s user 0m18.51s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14072, splice 6112, unsplice 0, max 0, idle 0, accept 6550, send 36518, recv 8545, close 24250, drop 0 10.02 real 13.27 user 10.65 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14048, splice 3452, unsplice 9383, max 0, idle 0, accept 5323, send 24044, recv 4307, close 20784, drop 0 10.05 real 17.01 user 15.26 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19375, splice 7796, unsplice 0, max 2627, idle 0, accept 9787, send 81192, recv 11951, close 28495, drop 0 10.21 real 15.25 user 15.52 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13112, splice 5704, unsplice 0, max 0, idle 0, accept 6621, send 51342, recv 8736, close 19857, drop 0 10.22 real 15.99 user 15.87 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2884, accept 2653, send 124097, recv 4452, close 0, drop 2648 10.12 real 17.99 user 15.88 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2744, splice 1085, unsplice 0, max 0, idle 0, accept 1737, send 214959, recv 102710, close 0, drop 3728 10.06 real 13.95 user 17.61 sys