==== 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 844, accept 38, send 358, recv 18, close 562, drop 0 10.04 real 16.09 user 5.63 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123915, accept 63876, send 161006, recv 63834, close 123886, drop 0 0m10.07s real 0m09.01s user 0m18.33s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11541, splice 5684, unsplice 0, max 0, idle 0, accept 5757, send 34946, recv 7066, close 19776, drop 0 10.22 real 14.34 user 6.98 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15995, splice 6048, unsplice 9980, max 0, idle 0, accept 6786, send 34259, recv 5915, close 23991, drop 0 10.22 real 15.91 user 13.54 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15478, splice 7039, unsplice 0, max 2345, idle 0, accept 7355, send 61540, recv 9704, close 21601, drop 0 10.04 real 16.17 user 13.82 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12910, splice 5907, unsplice 0, max 0, idle 0, accept 6026, send 57124, recv 8602, close 18242, drop 0 10.14 real 15.57 user 14.66 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2906, accept 2637, send 124212, recv 4437, close 0, drop 2631 10.02 real 17.87 user 15.31 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2499, splice 1329, unsplice 0, max 0, idle 0, accept 1646, send 174575, recv 65475, close 0, drop 3567 10.10 real 15.78 user 16.21 sys