==== 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 846, accept 48, send 381, recv 25, close 560, drop 0 10.04 real 15.00 user 9.34 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122596, accept 62646, send 158918, recv 63004, close 120848, drop 0 0m10.07s real 0m09.34s user 0m17.73s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15516, splice 6664, unsplice 0, max 0, idle 0, accept 6554, send 40653, recv 8526, close 23533, drop 0 10.02 real 13.89 user 10.40 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15257, splice 5039, unsplice 9747, max 0, idle 0, accept 6054, send 29490, recv 5680, close 22065, drop 0 10.10 real 16.36 user 14.67 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13810, splice 5923, unsplice 0, max 2068, idle 0, accept 6236, send 57724, recv 8796, close 18605, drop 0 10.05 real 15.47 user 14.29 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10653, splice 5214, unsplice 0, max 0, idle 0, accept 4745, send 58421, recv 9174, close 14150, drop 0 10.19 real 12.13 user 12.61 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3302, accept 2687, send 125152, recv 5106, close 0, drop 2678 10.02 real 13.78 user 12.55 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1935, splice 930, unsplice 0, max 0, idle 0, accept 1070, send 216592, recv 95882, close 0, drop 2436 10.09 real 11.32 user 13.57 sys