==== 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 789, accept 47, send 338, recv 19, close 539, drop 0 10.01 real 15.54 user 6.30 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126122, accept 63787, send 161646, recv 63513, close 123972, drop 0 0m10.07s real 0m09.40s user 0m18.22s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13549, splice 5683, unsplice 0, max 0, idle 0, accept 5878, send 34029, recv 7003, close 22739, drop 0 10.02 real 14.42 user 7.61 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16456, splice 5904, unsplice 11839, max 0, idle 0, accept 7424, send 33252, recv 6712, close 24296, drop 0 10.16 real 16.67 user 14.92 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15166, splice 5912, unsplice 0, max 1809, idle 0, accept 7133, send 59748, recv 8709, close 22071, drop 0 10.19 real 15.89 user 14.38 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 17580, splice 7556, unsplice 0, max 0, idle 0, accept 7886, send 70349, recv 11463, close 26107, drop 0 10.02 real 15.25 user 15.26 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2959, accept 2685, send 123849, recv 4423, close 0, drop 2674 10.06 real 18.04 user 15.27 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3160, splice 1204, unsplice 0, max 0, idle 0, accept 2025, send 214273, recv 89931, close 0, drop 4381 10.10 real 14.50 user 16.64 sys