==== 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 770, accept 36, send 302, recv 11, close 546, drop 0 10.04 real 14.95 user 9.58 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125196, accept 64164, send 159662, recv 64742, close 124016, drop 0 0m10.07s real 0m09.04s user 0m18.32s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10492, splice 5276, unsplice 0, max 0, idle 0, accept 5404, send 29301, recv 6960, close 19038, drop 0 10.12 real 13.68 user 9.80 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14008, splice 4302, unsplice 8714, max 0, idle 0, accept 5986, send 26030, recv 4570, close 21696, drop 0 10.02 real 16.45 user 15.67 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 20076, splice 8857, unsplice 0, max 2819, idle 0, accept 9880, send 77956, recv 12240, close 29991, drop 0 10.02 real 14.77 user 15.81 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 25881, splice 9433, unsplice 0, max 0, idle 3, accept 10200, send 100460, recv 13497, close 34451, drop 0 10.04 real 13.49 user 16.73 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5794, accept 5022, send 176808, recv 8179, close 0, drop 5001 10.02 real 16.88 user 16.30 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2431, splice 1031, unsplice 0, max 0, idle 0, accept 1532, send 180098, recv 75501, close 0, drop 3403 10.04 real 15.54 user 16.85 sys