==== 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 787, accept 77, send 370, recv 44, close 545, drop 0 10.03 real 15.33 user 9.65 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126707, accept 62106, send 152867, recv 61031, close 122920, drop 0 0m10.08s real 0m09.44s user 0m18.70s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16201, splice 6805, unsplice 0, max 0, idle 0, accept 6846, send 40447, recv 8408, close 25931, drop 0 10.03 real 13.65 user 10.48 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13077, splice 4993, unsplice 8862, max 0, idle 0, accept 5623, send 27922, recv 5207, close 19261, drop 0 10.03 real 17.61 user 15.17 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12448, splice 5028, unsplice 0, max 1426, idle 0, accept 6018, send 51811, recv 7128, close 18941, drop 0 10.21 real 17.00 user 14.93 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10962, splice 5601, unsplice 0, max 0, idle 1, accept 6139, send 49068, recv 10320, close 16980, drop 0 10.03 real 16.85 user 15.53 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2898, accept 2633, send 124033, recv 4383, close 0, drop 2617 10.02 real 17.99 user 16.05 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2389, splice 1124, unsplice 0, max 0, idle 0, accept 1533, send 179966, recv 72638, close 0, drop 3369 10.06 real 15.01 user 17.20 sys