==== 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 776, accept 66, send 365, recv 30, close 546, drop 0 10.03 real 15.88 user 5.94 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125241, accept 61689, send 155429, recv 60109, close 123088, drop 0 0m10.08s real 0m09.33s user 0m18.14s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9215, splice 4913, unsplice 0, max 0, idle 0, accept 5048, send 24244, recv 7496, close 16757, drop 0 10.02 real 14.79 user 6.83 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 23560, splice 6398, unsplice 14628, max 0, idle 0, accept 8155, send 43684, recv 6997, close 33455, drop 0 10.13 real 15.63 user 13.77 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16658, splice 6687, unsplice 0, max 2100, idle 0, accept 7027, send 63885, recv 8405, close 22504, drop 0 10.02 real 16.30 user 14.91 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 68136, splice 7989, unsplice 0, max 0, idle 0, accept 8308, send 114983, recv 12113, close 43648, drop 0 10.04 real 14.16 user 16.43 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5626, accept 5039, send 174435, recv 8103, close 0, drop 5031 10.01 real 17.09 user 15.69 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2794, splice 1054, unsplice 0, max 0, idle 0, accept 1608, send 157375, recv 38884, close 0, drop 3673 10.07 real 15.83 user 16.65 sys