git: tools/kq_sendrecv: Implement kqueue(2) based TCP traffic generator

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Mar 30 06:58:46 PDT 2016


commit 772669ffc752ad0933362899ebca783767209b20
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Wed Mar 30 21:58:17 2016 +0800

    tools/kq_sendrecv: Implement kqueue(2) based TCP traffic generator
    
    It is mainly used to genetate TCP traffic w/ large amount of TCP
    connections, e.g. > 10K connections.  netperf is no longer suitable
    to generate this kind of TCP traffic, since 10K+ processes is not
    desirable.  iperf3 is also not suitable, since it is implemented
    using select(2).

Summary of changes:
 tools/tools/netrate/kq_sendrecv/Makefile           |   3 +
 tools/tools/netrate/kq_sendrecv/Makefile.inc       |   8 +
 .../kq_sendrecv/include/kq_sendrecv_proto.h        |  24 +
 .../tools/netrate/kq_sendrecv/kq_recvserv/Makefile |   3 +
 .../netrate/kq_sendrecv/kq_recvserv/kq_recvserv.c  | 291 ++++++++
 .../tools/netrate/kq_sendrecv/kq_sendcli/Makefile  |   3 +
 .../netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c    | 769 +++++++++++++++++++++
 7 files changed, 1101 insertions(+)
 create mode 100644 tools/tools/netrate/kq_sendrecv/Makefile
 create mode 100644 tools/tools/netrate/kq_sendrecv/Makefile.inc
 create mode 100644 tools/tools/netrate/kq_sendrecv/include/kq_sendrecv_proto.h
 create mode 100644 tools/tools/netrate/kq_sendrecv/kq_recvserv/Makefile
 create mode 100644 tools/tools/netrate/kq_sendrecv/kq_recvserv/kq_recvserv.c
 create mode 100644 tools/tools/netrate/kq_sendrecv/kq_sendcli/Makefile
 create mode 100644 tools/tools/netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/772669ffc752ad0933362899ebca783767209b20


-- 
DragonFly BSD source repository



More information about the Commits mailing list