==== 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 828, accept 344, send 532, recv 117, close 803, drop 0 10.01 real 18.16 user 11.92 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 44459, accept 34507, send 76190, recv 34771, close 52202, drop 0 0m10.03s real 0m10.09s user 0m20.81s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 25123, splice 7407, unsplice 0, max 0, idle 0, accept 11329, send 54898, recv 11722, close 40976, drop 0 10.03 real 14.12 user 13.73 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 69164, splice 4375, unsplice 20130, max 0, idle 0, accept 8144, send 67239, recv 6682, close 59915, drop 0 10.03 real 13.17 user 18.39 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 24936, splice 8238, unsplice 0, max 2101, idle 0, accept 10482, send 92087, recv 12099, close 34773, drop 0 10.23 real 14.44 user 18.61 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 22089, splice 7351, unsplice 0, max 0, idle 1, accept 9654, send 93600, recv 13956, close 30395, drop 0 10.22 real 14.39 user 17.80 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2930, accept 2800, send 126439, recv 4673, close 0, drop 2774 10.02 real 20.05 user 18.47 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2616, splice 654, unsplice 0, max 0, idle 0, accept 1932, send 208580, recv 87081, close 0, drop 3989 10.03 real 16.38 user 19.23 sys