==== 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 799, accept 104, send 364, recv 46, close 603, drop 0 10.04 real 15.48 user 8.58 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127759, accept 62485, send 174266, recv 63960, close 122741, drop 0 0m10.08s real 0m08.68s user 0m18.58s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 18746, splice 7829, unsplice 0, max 0, idle 0, accept 7741, send 52672, recv 8997, close 29386, drop 0 10.03 real 13.67 user 11.70 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19390, splice 6229, unsplice 11948, max 0, idle 0, accept 7022, send 41204, recv 6644, close 26926, drop 0 10.02 real 16.55 user 14.47 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 20054, splice 8179, unsplice 0, max 2733, idle 0, accept 8613, send 85314, recv 11632, close 25461, drop 0 10.02 real 15.42 user 14.80 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14091, splice 6273, unsplice 0, max 0, idle 0, accept 5756, send 73842, recv 8456, close 18465, drop 0 10.03 real 12.62 user 12.84 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3273, accept 2734, send 128437, recv 5345, close 0, drop 2728 10.02 real 13.65 user 13.00 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2670, splice 1195, unsplice 0, max 0, idle 0, accept 1537, send 168900, recv 57453, close 0, drop 3465 10.04 real 12.32 user 13.29 sys