==== 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 798, accept 65, send 375, recv 33, close 540, drop 0 10.03 real 16.18 user 5.42 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122642, accept 61720, send 170255, recv 64441, close 119752, drop 0 0m10.07s real 0m08.73s user 0m18.70s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13720, splice 6293, unsplice 0, max 0, idle 0, accept 6435, send 40454, recv 9147, close 22119, drop 0 10.04 real 14.72 user 7.95 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14444, splice 5708, unsplice 10243, max 0, idle 0, accept 6567, send 32046, recv 6703, close 21014, drop 0 10.08 real 16.84 user 14.92 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12572, splice 5808, unsplice 0, max 2070, idle 0, accept 6318, send 49597, recv 8197, close 18390, drop 0 10.02 real 16.53 user 14.51 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13753, splice 6499, unsplice 0, max 0, idle 0, accept 6980, send 59128, recv 10863, close 20078, drop 0 10.06 real 16.07 user 14.91 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2823, accept 2600, send 122256, recv 4278, close 0, drop 2589 10.14 real 18.33 user 15.63 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2936, splice 1147, unsplice 0, max 0, idle 0, accept 1847, send 212038, recv 96917, close 0, drop 4012 10.06 real 14.46 user 17.02 sys