==== 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 755, accept 40, send 318, recv 22, close 493, drop 0 10.04 real 15.91 user 8.91 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123219, accept 62973, send 163539, recv 63797, close 121780, drop 0 0m10.07s real 0m09.50s user 0m17.82s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12226, splice 5658, unsplice 0, max 0, idle 0, accept 5837, send 31043, recv 6410, close 21661, drop 0 10.03 real 13.72 user 8.18 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14418, splice 5699, unsplice 10580, max 0, idle 0, accept 6959, send 27494, recv 6665, close 21598, drop 0 10.08 real 16.32 user 14.63 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12783, splice 5948, unsplice 0, max 2103, idle 0, accept 7033, send 48803, recv 10131, close 19267, drop 0 10.01 real 16.22 user 14.98 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9747, splice 4778, unsplice 0, max 0, idle 1, accept 5587, send 40219, recv 10199, close 15518, drop 0 10.07 real 16.45 user 15.39 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2868, accept 2640, send 123754, recv 4400, close 0, drop 2638 10.02 real 18.41 user 15.24 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2295, splice 844, unsplice 0, max 0, idle 0, accept 1387, send 192122, recv 84975, close 0, drop 3130 10.05 real 15.06 user 17.70 sys