==== 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 764, accept 96, send 393, recv 50, close 548, drop 0 10.04 real 15.44 user 9.05 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124204, accept 62368, send 151488, recv 60127, close 122181, drop 0 0m10.07s real 0m09.45s user 0m18.21s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12337, splice 5693, unsplice 0, max 0, idle 0, accept 5670, send 36768, recv 7617, close 19996, drop 0 10.16 real 13.48 user 10.05 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13922, splice 5274, unsplice 8930, max 0, idle 0, accept 6055, send 31090, recv 5259, close 20687, drop 0 10.19 real 16.95 user 15.11 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19145, splice 8594, unsplice 0, max 2873, idle 0, accept 9088, send 77956, recv 11710, close 26553, drop 0 10.03 real 14.61 user 15.68 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14654, splice 6406, unsplice 0, max 0, idle 0, accept 6420, send 61447, recv 10059, close 19738, drop 0 10.19 real 16.12 user 15.56 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2909, accept 2654, send 123691, recv 4230, close 0, drop 2638 10.02 real 17.97 user 15.55 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2628, splice 1267, unsplice 0, max 0, idle 0, accept 1708, send 170076, recv 58065, close 0, drop 3649 10.04 real 15.77 user 16.52 sys