From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f175.google.com (mail-ua0-f175.google.com [209.85.217.175]) by dpdk.org (Postfix) with ESMTP id 21B3B530A for ; Fri, 2 Sep 2016 20:38:00 +0200 (CEST) Received: by mail-ua0-f175.google.com with SMTP id m60so185148453uam.3 for ; Fri, 02 Sep 2016 11:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yCQqJuR2D6Ql2vT+I/A59f17nKNBi+mFC1d9X56ExFU=; b=mu6o9dIVS1KjmLMPodfXiJgH8+VMFqGRZgyjo+Ni385h51qmTPW0Qq1od1ujzzJfLq LGgU+mMIm8017ZaXnItf+JPCkHII0mtVh1YIx98pHrq2a01O8XPOywcHvalzWM2kDxW8 KkolxUQIeR00HcfoxpWE0l+kfxZprnZw0SvXbqckyhiEFudHEfXEwf91klJDpssFH8jr e/XdTWWtSudpubWbRYxVYkz2UPa860Eq5ouqcs9YncpICzXZ8akylt+4wlqMvV5OpT+4 WiB6MmA3fmUpQ8d0y15Q92FqpGXo0/ZKd8mQfpS4MfP9C22YR2wCmDzedFfddD12+NLg SD+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yCQqJuR2D6Ql2vT+I/A59f17nKNBi+mFC1d9X56ExFU=; b=bMBXLSoVhHhcOkh4f6BVP/mbxYco6hZy2mDNx6+1Em+ZyA6S62OdyXwUHS20j0aTOP TZk+pKbS5mF78L4PyyDPiFtp00Zw8sY58X1kJygU3CTV/ihkvPaGWymJWQe/BAuV3+bD lQUQ6ZwOLEqWj9hxu3PpysDBiujybteL1/dxlkMcj/RQz9uH8s2AUjaloSU/x97M323d lc5hwir/RumyV0gl5NsIZ0S1Rqd0BS+6STtPM/SEqjSlVTlwUpaQ6WkMcG6AnrrNWH0h hZfpNZ1m+MR3Jo06WyLr6kPLLP6BJvoTzCZ8ORvKbnSBTYl8+nkeQHgWEC+ZJTMTVOXr 2/DA== X-Gm-Message-State: AE9vXwMt+c7Euu1xl6/PPSz3rnLhEhQASiaSedtPoY50Yt9Z0OykUZoQwlDhzV9dVi5E0ONEux8RMc8YSOTxEA== X-Received: by 10.159.54.171 with SMTP id p40mr15093976uap.100.1472841479399; Fri, 02 Sep 2016 11:37:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.83.9 with HTTP; Fri, 2 Sep 2016 11:37:59 -0700 (PDT) In-Reply-To: <1532B974-9164-47AE-ADBE-3BE74E590619@intel.com> References: <1532B974-9164-47AE-ADBE-3BE74E590619@intel.com> From: Junguk Cho Date: Fri, 2 Sep 2016 12:37:59 -0600 Message-ID: To: "Wiles, Keith" Cc: "users@dpdk.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] MEMPOOL contentions X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2016 18:38:00 -0000 Hi, Keith. Thank you for reply. I reached those setup. My question is when I run my app after these setup, how to get statistics? In other words, where can I see some statistics like file or screen? Thanks, Junguk 2016-09-02 12:35 GMT-06:00 Wiles, Keith : > > Regards, > Keith > > > On Sep 2, 2016, at 1:27 PM, Junguk Cho wrote: > > > > Hi, > > > > In my setup, I created one mempool which is shared with 5 rings. > > So, I want to know statistics of contentions between 5 rings like takin= g > > time to get one mbuf. > > In the manual, there are some options like CONFIG_RTE_LIBRTE_MEMPOOL_ > DEBUG. > > Add the option to your config file uses in the build of DPDK and set the > value to =E2=80=98y=E2=80=99 instead of =E2=80=99n=E2=80=99. > > Example: edit or copy say defconfig_x86_64-native-linuxapp-gcc and add > something like this; > > CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=3Dy > > Then rebuild DPDK using something like =E2=80=98make install > T=3Dx86_64-native-linux-gcc -j' > > > However, I don't know how to use it. > > > > Is there any reference? > > > > Intuitively, as the number of rings are increase, I think the contentio= n > > happened frequently. > > So, to avoid this, is increasing CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE one > > solution? > > > > > > Thanks, > > Junguk > >