==== 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 791, accept 45, send 378, recv 26, close 507, drop 0 10.03 real 16.00 user 5.54 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122782, accept 63222, send 169973, recv 65357, close 121292, drop 0 0m10.07s real 0m09.12s user 0m18.27s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14030, splice 6537, unsplice 0, max 0, idle 0, accept 6759, send 41811, recv 9899, close 23326, drop 0 10.02 real 13.85 user 8.57 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 18587, splice 6718, unsplice 13000, max 0, idle 0, accept 7839, send 37988, recv 8164, close 26610, drop 0 10.13 real 15.67 user 14.07 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15917, splice 6833, unsplice 0, max 2372, idle 0, accept 7392, send 62713, recv 8831, close 22396, drop 0 10.05 real 16.15 user 14.33 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12669, splice 5673, unsplice 0, max 0, idle 0, accept 6215, send 56411, recv 11119, close 17794, drop 0 10.01 real 16.43 user 14.07 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2922, accept 2676, send 123865, recv 4703, close 0, drop 2658 10.02 real 17.91 user 15.77 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2867, splice 1215, unsplice 0, max 0, idle 0, accept 1834, send 151621, recv 35372, close 0, drop 3986 10.04 real 16.14 user 15.68 sys