From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rout2.hes.trendmicro.com (rout2.hes.trendmicro.com [54.67.38.140]) by dpdk.org (Postfix) with ESMTP id 16D4B1B808 for ; Fri, 9 Feb 2018 14:07:33 +0100 (CET) Received: from 0.0.0.0_hes.trendmicro.com (unknown [10.64.10.14]) by rout2.hes.trendmicro.com (Postfix) with SMTP id 7EADCEFC05F; Fri, 9 Feb 2018 13:07:32 +0000 (UTC) Received: from mail9.mithiskyconnect.com (unknown [52.77.115.137]) by relay2.hes.trendmicro.com (Postfix) with ESMTP id 485789F60FB; Fri, 9 Feb 2018 13:07:31 +0000 (UTC) Received: from mail9.mithiskyconnect.com (localhost.localdomain [127.0.0.1]) by mail9.mithiskyconnect.com (SMF) with ESMTP id 93D2E2C0104; Fri, 9 Feb 2018 18:37:30 +0530 (IST) Received: from mail9.mithi.com (localhost.localdomain [127.0.0.1]) by mail9.mithiskyconnect.com (bulkSplit) with ESMTP id 88CDE2C00F1; Fri, 9 Feb 2018 18:37:30 +0530 (IST) Received: from 127.0.0.1 by awsMail9 (envelope-from , uid 0) with qmail-scanner-1.25 (clamscan: 0.60. Clear:RC:1(127.0.0.1):. Processed in 0.025197 secs); 09 Feb 2018 13:07:30 -0000 Received: from unknown (HELO awsMail9) ([127.0.0.1]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 9 Feb 2018 13:07:30 -0000 Date: Fri, 9 Feb 2018 18:37:30 +0530 (IST) From: Heena Sirwani To: sharanya k Cc: users@dpdk.org Message-ID: <545296933.10333.1518181650416.JavaMail.root@127.0.0.1> In-Reply-To: MIME-Version: 1.0 X-Mithi-ILSubject: Re: [dpdk-users] Enabling stats in pipeline applications X-MithiMail: MithiMail X-Mithi-SubHasIL: 0 X-Mithi-MsgHasIL: 0 X-Mithi-NoOfAttachments: 0 X-Mithi-SMS-SendSubject: false X-Mithi-SMS-SendBody: false X-Mithi-SMS-SendName: false X-Mithi-SMS-SendMailId: false X-Mithi-SMS-SendMobile: false X-Priority: 3 X-Mailer: Mithi-Web-Mail X-TMASE-Version: StarCloud-1.3-8.2.1013-23650.006 X-TMASE-Result: 10--23.599200-7.000000 X-TMASE-MatchedRID: lRQO0XDtcJkAbZR8oQkazZEkpE+hVCTeWyQijpt1UQlZps+y1VXzqcRk oeJ3OFRc1Bh8AQwUREld0Ffb2LZIXtq72IXmYAV7T7jCYv2QJPHs8rI+Arq54bV5fSMRD1zqQLl wUTV6CubP/FaYRCbwsCgywW45LfL0fNMhSGKNK0bmAId+2bAQwoyzstdwoG+PnvbaEOoeixN9Wu 5wB7E4QP11yFH4FSnKTFO/oaPGV+/yLSuuDYuxAWzBijri5+RVO1K5iM8Q6KA99n/7E485Nxs46 Rwf3Ox5qm5+SQxUbgejai5iNUg35jblc6Gei4nlo65WJt1k1O/8BlbXy+O/WjqI/Q1zONHSMCmL SFOvZt3EvQSS7pmJKIKjoYyABoT3izFhECDuofDf8GJjBXCUiNvhKQZ2RM31On1WzYgMm11x/BR tuudYCIA+zZbAFdrS/76CM4Z/MGblRxm3A2wKuhRFJJyf5BJewWulRtvvYxTUHQeTVDUrItRnEQ CUU+jzhUfR2rvBju7Qlj0K4wYoXgQhotE+CAwPYIZBRU5Tioax92PO/Fuc6W0sa/Bgjvv4 X-TM-Deliver-Signature: 2EA4E0128997BDFA5A3A294CA9C96836 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Enabling stats in pipeline applications X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Feb 2018 13:07:33 -0000 SWYgeW91IGhhdmUgZW5hYmxlZCB0aGVtIGluICRSVEVfU0RLLyRSVEVfVEFSR0VULy5jb25maWcs IHRoZXkgc2hvdWxkIGJlIHJlZmxlY3RlZCBpbiAkUl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fri Feb 9 16:39:27 2018 Return-Path: Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by dpdk.org (Postfix) with ESMTP id BDA031B83D for ; Fri, 9 Feb 2018 16:39:27 +0100 (CET) Received: by mail-lf0-f48.google.com with SMTP id a204so11774845lfa.2 for ; Fri, 09 Feb 2018 07:39:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=LdGNDCBcfz/CnTK0SH+HvITztk0lkDuIQlM58dLbMB8=; b=j/FAB1zBiAc3Nv9aYh9n8Vegzl/EZ0hdt+D1+RL1ULqYecsKI8mHc59e0JCOlloivz kau03evaQLHxAxPEgZ2TXfZy6tgNHnvIZ3tbyotKvho1RyyNrfgcY51ET90NPxjty7Z5 T6URTw7vJWYSFRzGo4SWbssU1jLcwYePqNFklM3FhgiYDJNTO7WnauAqtNf9JqbfzcHy MBnlksZhgdFZajaMi+NkewvzH8zHT2NFKTQEckBpy2lJE73wTfkL1Q80LYlUUnJQ6Rd0 m6wRTr2PHHrNuuAXr8wCLKRfD/8k6YWrIZRXFoSSoskAgV6U9mZ9/VSzF113NUFliXb1 LJeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=LdGNDCBcfz/CnTK0SH+HvITztk0lkDuIQlM58dLbMB8=; b=kFH+lLkCjZ4Kq3vwzYWaAU27NklRgpdbxWOcab/msi+maremuXZ4ObqIpq6upwaLiJ SZBUZvyK8BEAo5jZSsRpkHKcdSDwRB7t2xuKY/kTv63wl17GfFGi+Gq8YbjifvsKUTuI K+aiyCHdmG0FpaNz6o+JBfcT1CBeOYRoUbeIMgMTexVVaDrSPK5NkwQteoxekao0nw4R MRHqFPywiZQRXftJlEiPUI3H6u13j1I4gRaFITkXGOmMka4gu4LslMmfWfK0+1lQxd3z RFyTXSk5UprRoiDAKV+BhF0LeqhdvDNCyUFAeSKe/EVHivlfatw82AEul80PLvfSerS5 0Rug== X-Gm-Message-State: APf1xPC88ZI30tSUJjaQzeG9h0CEoZ/83eRe76CYFIjt1WE/BpOkgxa2 IJddifvGP7zMCgKMK3TapIBMgepEuZ36Gja6TJ2gAWMe X-Google-Smtp-Source: AH8x226dOSGFKF8YSu2dFffTWJIzKSGiwxt4GWbVUZ9gjYEsgYf+YHO3FIfuGVZ9ubrzz7bW8Z5rjQDpkjC9ExsVrDc= X-Received: by 10.25.119.29 with SMTP id s29mr2086980lfc.123.1518190767135; Fri, 09 Feb 2018 07:39:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.17.79 with HTTP; Fri, 9 Feb 2018 07:39:06 -0800 (PST) From: Theano Date: Fri, 9 Feb 2018 10:39:06 -0500 Message-ID: To: users@dpdk.org Cc: Christopher Hodsdon Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Throughput dropping by half with 1B increase in packet size X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Feb 2018 15:39:27 -0000 Hi All, We are eventually going to build an application over DPDK, and we've started out with a very simple pktgen-like application that sends and receives packets to a different machine running l2fwd. With packets up to 64B (60B headers and payload + 4B of FCS), l2fwd shows line rate packet forwarding of this application's packets. As soon as the packet size increases to 65B, the throughput (in pps) halves. With dpdk-pktgen we observe a much more graceful decline in packet throughput as packet size increases. I examined the dpdk-pktgen code and can't find any significant differences between how it constructs its packets vs. how we do it, but of course I'm missing something. Has anyone seen this before and/or has any ideas on how to identify the problem? We are using DPDK version 17.02.1; please let me know if any other information would be helpful. Thanks, Theano.