==== 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 856, accept 67, send 390, recv 30, close 583, drop 0 10.04 real 14.69 user 9.30 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126286, accept 62570, send 158877, recv 62437, close 122256, drop 0 0m10.08s real 0m09.11s user 0m18.21s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13646, splice 6212, unsplice 0, max 0, idle 0, accept 6254, send 42377, recv 8955, close 22181, drop 0 10.03 real 13.84 user 10.07 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17684, splice 5128, unsplice 10575, max 0, idle 0, accept 5837, send 38754, recv 5724, close 23613, drop 0 10.05 real 15.68 user 14.88 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15688, splice 6477, unsplice 0, max 2296, idle 0, accept 6961, send 66362, recv 8794, close 21438, drop 0 10.07 real 15.71 user 15.42 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 15219, splice 6278, unsplice 0, max 0, idle 0, accept 6533, send 68953, recv 9469, close 20408, drop 0 10.02 real 16.71 user 15.23 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3006, accept 2708, send 125014, recv 4717, close 0, drop 2691 10.02 real 18.32 user 15.62 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2550, splice 1036, unsplice 0, max 0, idle 0, accept 1647, send 171916, recv 66990, close 0, drop 3570 10.18 real 15.22 user 16.91 sys