From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id AC401A00E6 for ; Thu, 21 Mar 2019 15:01:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8E2F71B4E1; Thu, 21 Mar 2019 15:01:11 +0100 (CET) Received: from mail-it1-f176.google.com (mail-it1-f176.google.com [209.85.166.176]) by dpdk.org (Postfix) with ESMTP id 89F261B4DA for ; Thu, 21 Mar 2019 15:01:09 +0100 (CET) Received: by mail-it1-f176.google.com with SMTP id h9so4223830itl.1 for ; Thu, 21 Mar 2019 07:01:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flowmon.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zKjqgDrlZ+JBPM4WNmlyHF908cJ83PP7AlI3wSCtoHs=; b=AXBXS856gy8C+XZaj9XlzLuxhnxnWJ4DY3INmWE5DOsCSzkZfpG6La2F7fnekgWGv6 7a/l505LzeX+RJM0sZlJ2olHlQRezc4FcEGA8XJsJ9sqQy0WYRX+2URZQIfhBQ/NGjRh AaZGOYVFZYQVlu7K6vK0Ty5C94Y209pEs9yMWbnWmw966QvOAus5GtK4Qc3nsEMIhtfx au8pu6PPa1e/k7BpRg8J3SnRW7ihsJVbC2v00tpcrwIRiL6U6jmtVBesCyswg/BYq+Qq f5+8lXDPiShTgvabE8XoNJZGiST1Z1U8xKO4zqSsfWbE/vY64Py19QJWje4DSY2yeNvN ikSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zKjqgDrlZ+JBPM4WNmlyHF908cJ83PP7AlI3wSCtoHs=; b=U8PYOAKM7LPUOt2RqTJikxbsy7otrPRllzjXV7D3R49nq2ZONkgW5/McxMOcUA/IvM uKUbBLsSs9MIZGwldl+Ee1y9xVij5ize4o5SAZb0dCvHwbfUJAmgf/c6u2FCmmybAsro +UnEdCCO68ancLdwzKxrZHHlwGJWihsKhFmgivesOOv2TsiKZ839YfXEihKxl1cHk+n6 MeRhlqy01FGaWhgZnOAGWDKnaoRPkzytZgJbugy0VrRrpfEIxJlesyCztrRdthsJxEuk 8d24l7pnOXQ4u/iv8BViNv6r703S/ROw+rNXXX6MSYYBvakAuWS02ml1taN78fYmReKi ZpNw== X-Gm-Message-State: APjAAAWhAb0jSbHQ1xDT+KKIHSbN69Ovquibx5g9q9LtQPXPVx6FiaGl Y75Vvso9W5kNowTAu82fJQKaiY2ZguUZdeJgzDMDgQ== X-Google-Smtp-Source: APXvYqzHgwFysyJTX7A2gCUo9hAdcG5qR8ERWh3rWb9OyMRj7YdsDfqgJfie3xX4bfzfbYiJB2ikuHnB2+8mt/xnvFQ= X-Received: by 2002:a24:54c5:: with SMTP id t188mr2821326ita.58.1553176868628; Thu, 21 Mar 2019 07:01:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?VG9tw6HFoSBKw6Fuc2vDvQ==?= Date: Thu, 21 Mar 2019 15:00:57 +0100 Message-ID: To: Paul T Cc: "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] X710 DA2 (2x10G) performance 64B packet 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: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi Paul, thank you for your suggestion. I tried isolating the cores; however, the improvement was negligible. Tomas On Thu, Mar 21, 2019 at 12:50 PM Paul T wrote: > Hi Tomas, > > I would isolate the CPUs in which the dpdk threads are running from the > linux schedular. The low packet drop at 64B makes me thing its context > switching happen on the core because of the linux scheduler. > > Use the following command in the linux command line params in your grub > config: > isolcpus=cpus to isolate, e.g. 1,3,4 or 1-4 > > Regards > > Paul > > Message: 3 > Date: Thu, 21 Mar 2019 10:53:34 +0100 > From: Tom?? J?nsk? > To: users@dpdk.org > Subject: [dpdk-users] X710 DA2 (2x10G) performance 64B packets > Message-ID: > 9CLMQrSQ@mail.gmail.com> > Content-Type: text/plain; charset="UTF-8" > > Hello DPDK users, > > I am having an issue concerning the performance of X710 DA2 (2x10G) NIC > when using testpmd (and also l2fwd) application on both ports. > > HW and SW parameters: > CPUs: Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz x16 > Disabled hyperthreading. > All used lcores and ports are on the same NUMA node (0). > Hugepages: 1024x 2MB on the NUMA node 0. > RAM: 64 GB > > DPDK version: 18.05.1 > Modue: IGB UIO > GCC version: 4.8.5 > > When using testpmd application only on one port: > ./testpmd -b 0000:04:00.0 -n 4 --lcore=0@0,2@2 -- --socket-num=0 > --nb-cores=1 --nb-ports=1 --numa --forward-mode=rxonly > > 14.63 Mpps (64B packet length) - 0.01% packets dropped > > When using testmpd on both ports: > ./testpmd -n 4 --lcore=0@0,2@2,4@4 -- --socket-num=0 --nb-cores=2 > --nb-ports=2 --numa --forward-mode=rxonly > > 28.08 Mpps (64B packet length) - 3.47% packets dropped > > Does anybody have an explanation why am I experiencing this performance > drop? > Any suggestion would be much appreciated. > > Thank you > Tomas >