From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by dpdk.org (Postfix) with ESMTP id 6114368A8 for ; Sun, 31 Aug 2014 20:19:15 +0200 (CEST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.9/8.14.5) with ESMTP id s7VINb2o010986 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Sun, 31 Aug 2014 11:23:38 -0700 (PDT) Received: from ALA-MBB.corp.ad.wrs.com ([169.254.1.18]) by ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0174.001; Sun, 31 Aug 2014 11:23:37 -0700 From: "Wiles, Roger Keith" To: "" Thread-Topic: More information on Pktgen Thread-Index: AQHPxUiu5LlEVUKRw0G5BOEFUr0RQg== Date: Sun, 31 Aug 2014 18:23:37 +0000 Message-ID: <8DB188E3-6AAE-4FB2-9845-BBBF68CE9388@windriver.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.40.162] Content-Type: text/plain; charset="Windows-1252" Content-ID: <66D3B19D8E102844BB092FD928E992ED@local> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [dpdk-dev] More information on Pktgen X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2014 18:19:15 -0000 Here is some more information about Pktgen that others may want to know: At this point Pktgen is just a simple L2/L3 (UDP/TCP/IPv4 with some IPv6 su= pport) traffic generator and does not have a network or any kind of state k= eeping. Mostly useful for sending traffic for performance testing and some = other packet type testing say DPI. To maintain high performance not much ch= ecking is done on the receive side today, but hopefully in the future. It d= oes support a simple ARP detection and reply Think of this as a poor man=92s traffic generator as most of us can not buy= a Spirent machine or have access to that machine all of the time. With a m= achine cost of round $2500 more or less depending on the port types and cou= nt you can have fast traffic generator to for each developer. I developed P= ktgen for performance testing as I did not have direct access to the big ma= inframe traffic generator with all of the bells and whistle :-) Pktgen is not a replacement for the big iron traffic generator, but maybe s= ome day :-) Hopefully developers find it useful for day to day development. I have a Java GUI frontend for Pktgen, which can run on the machine or from= another machine, but I have not had time to finish it. The Ostinato https:= //code.google.com/p/ostinato/ maybe more what everyone wants, but when I di= d Pktgen they were not using DPDK at the time. My Java GUI fronted was just= to display the ASCII screen and support the commands in a more GUI format = with some simple graphs and buttons. To create something like the Ostinatio I would have to quite my day job and= that is not a good thing :-) You can also use the machine at the same time without having to have two ma= chines. I do all of my testing and debugging and development on a single ma= chine. You can also have multiple Pktgen=92s running on the same machine if= you configure them to use different ports. You application could use a few= ports and Pktgen could use a few ports while do development and testing on= the same machine. Pktgen has a number of methods to send packets PCAP and single packet at wi= re rate on each port. It also has range, sequence and random packet sending= support. Range allows you to define the range of packets types, sizes, add= ress, =85 and other fields in the packet. The sequence allows you to config= ure up to 16 packets per port to send in a round robin format. The random s= end allows for sending packets with random values in the packets with a giv= en location. It also supports sending VLAN packets and some support for GRE= packets. I hope that helps some. ++Keith Keith Wiles, Principal Technologist with CTO office, Wind River mobile 972-= 213-5533