==== 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 830, accept 57, send 361, recv 21, close 580, drop 0 10.01 real 15.89 user 5.96 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121691, accept 62672, send 152008, recv 61284, close 121823, drop 0 0m10.08s real 0m09.26s user 0m18.01s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 8274, splice 4695, unsplice 0, max 0, idle 0, accept 4528, send 28762, recv 8587, close 14205, drop 0 10.01 real 14.24 user 7.39 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14341, splice 5557, unsplice 10298, max 0, idle 0, accept 6712, send 32133, recv 6751, close 21042, drop 0 10.02 real 16.10 user 14.32 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12509, splice 5192, unsplice 0, max 1743, idle 0, accept 5346, send 54373, recv 7035, close 16903, drop 0 10.02 real 13.73 user 13.09 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8510, splice 4348, unsplice 0, max 0, idle 0, accept 4145, send 53164, recv 8809, close 11757, drop 0 10.14 real 13.19 user 12.53 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5556, accept 5029, send 119304, recv 9549, close 0, drop 4995 10.02 real 12.99 user 12.82 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2899, splice 1430, unsplice 0, max 0, idle 0, accept 1634, send 161297, recv 50440, close 0, drop 3607 10.09 real 12.62 user 12.99 sys