==== 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 91, send 417, recv 48, close 593, drop 0 10.01 real 15.84 user 9.17 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125067, accept 62590, send 164719, recv 63455, close 122576, drop 0 0m10.08s real 0m09.17s user 0m18.31s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 22640, splice 8727, unsplice 0, max 0, idle 0, accept 8954, send 61576, recv 9875, close 34726, drop 0 10.02 real 13.10 user 11.66 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17128, splice 5611, unsplice 10450, max 0, idle 0, accept 6453, send 39942, recv 5975, close 24067, drop 0 10.15 real 16.62 user 15.27 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 23063, splice 9386, unsplice 0, max 3155, idle 0, accept 9586, send 95025, recv 12362, close 28562, drop 0 10.05 real 15.21 user 15.64 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 15564, splice 6084, unsplice 0, max 0, idle 0, accept 6268, send 70386, recv 11271, close 19480, drop 0 10.02 real 16.06 user 15.90 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3107, accept 2681, send 126230, recv 4514, close 0, drop 2669 10.02 real 17.16 user 16.75 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2717, splice 1218, unsplice 0, max 0, idle 0, accept 1733, send 165461, recv 55705, close 0, drop 3765 10.05 real 15.72 user 16.89 sys