History log of /dragonfly/tools/tools/netrate/accept_connect/connect_client/Makefile (Results 1 – 1 of 1)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3
# 9a127286 22-Jul-2013 Sepherosa Ziehau <sephe@dragonflybsd.org>

tools: Add bench tools for accept(2) and connect(2)

The main reasons behind making these tools instead of using netperf TCP_CC
test are:
- Netperf TCP_CC creates new server for each testing client
-

tools: Add bench tools for accept(2) and connect(2)

The main reasons behind making these tools instead of using netperf TCP_CC
test are:
- Netperf TCP_CC creates new server for each testing client
- Netperf TCP_CC creates new listen socket on different TCP port for each
testing client
- Netperf TCP_CC created listen socket is in blocking mode
- Netperf TCP_CC closes accepted sockets immediately

All of the above listed items make netperf TCP_CC do not reflect real life
TCP server usage.

Tools in accept_connect:
- "connect_client"
Fork certain amount of processes to perform blocking connect(2)/close(2)
for the certain amount of time.
- "accpet_server"
Fork certain amount of processes to perform blocking accept(2) on the same
addr/port bound socket. close(2) on the accepted socket is called
immediately. If -r is specified, each processes will create their own
listen socket on the same port/addr w/ SO_REUSEPORT sockopt.
- "kq_accept_server"
Fork certain amount of processes to perform non-blocking accept(2) on the
same addr/port bound socket w/ help of kqueue(2). close(2) on the accepted
socket is called after the other side closed the connection. If -r is
specified, each processes will create their own listen socket on the same
port/addr w/ SO_REUSEPORT sockopt.

kq_accept_server closely mimics the real life TCP server.

show more ...