DPDK usage discussions
 help / color / mirror / Atom feed
From: SAKTHIVEL ANAND S <anand.sa88@gmail.com>
To: "Wiles, Keith" <keith.wiles@intel.com>, users@dpdk.org
Subject: Re: [dpdk-users] memory tracker in PMD level
Date: Thu, 2 Jun 2016 12:40:20 +0530	[thread overview]
Message-ID: <CAOP5GAyMEXrpsu=odd1p2Z43ob+7DWv7yPO5foFntFuq0CTa+g@mail.gmail.com> (raw)
In-Reply-To: <CAOP5GAwHJ9N6XPQDEBRYn4HyioGRw18ewT-8nh=zoakSrSvzbQ@mail.gmail.com>

Hello KW
can u please tell me how ti enable a particular debugs, and build the
image. In this case i just need to build with this debug msgs.
#define  RTE_LOGTYPE_MEMPOOL   0x00000008  << debugs

Thanks
Sakthivel S OM

On Wed, Jun 1, 2016 at 12:31 PM, SAKTHIVEL ANAND S <anand.sa88@gmail.com>
wrote:

> Thanks for the inputs KW. I try to check mempool status.
>
> -Sakthivel S OM
>
> On Tue, May 31, 2016 at 8:42 PM, Wiles, Keith <keith.wiles@intel.com>
> wrote:
>
>> Resend to the list for others to view.
>>
>> Regards,
>> Keith
>>
>>
>>
>> >Please do not send HTML based text to the list only plain text emails.
>> >
>> >Regards,
>> >Keith
>> >
>> >
>> >From: SAKTHIVEL ANAND S <anand.sa88@gmail.com>
>> >Date: Tuesday, May 31, 2016 at 10:05 AM
>> >To: Keith Wiles <keith.wiles@intel.com>
>> >Subject: Re: [dpdk-users] memory tracker in PMD level
>> >
>> >it looks it prints tx and rx counts in terms of number of packets and
>> related status(error type of that droped packetr). but actually i need mbuf
>> status which is associated with that interface. tx and rx cound is
>> secondary part for me.. i would like to check memory leak if any, in my
>> code.
>> >
>> KW: All TX count drops are handled by the applications as that number of
>> packets placed on the TX ring is returned in the tx_burst call not in the
>> PMD. On the RX side if the mbufs are not available to attach to the data
>> then you can look at the mempool stats, but that is about it.
>> >
>> >On Tue, May 31, 2016 at 8:29 PM, SAKTHIVEL ANAND S <anand.sa88@gmail.com>
>> wrote:
>> >Ok thanks.
>> >
>> >
>> >On Tue, May 31, 2016 at 8:19 PM, Wiles, Keith <keith.wiles@intel.com>
>> wrote:
>> >
>> >From: SAKTHIVEL ANAND S <anand.sa88@gmail.com>
>> >Date: Tuesday, May 31, 2016 at 9:45 AM
>> >To: Keith Wiles <keith.wiles@intel.com>
>> >Subject: Re: [dpdk-users] memory tracker in PMD level
>> >
>> >Hi
>> >
>> >so what is the api , should i call to print those on .. is it like
>> >i40e_dev_stats_get()  ??
>> >
>> >Please have a look at the Docs in the area of rte_eth_stats_get()
>> https://readthedocs.org/projects/dpdk/
>> >
>> >Thanks
>> >
>> >
>> >On Tue, May 31, 2016 at 8:12 PM, Wiles, Keith <keith.wiles@intel.com>
>> wrote:
>> >
>> >>Hi
>> >>
>> >>How can we track the packet drops in the PMD level, when receiving
>> rings is
>> >>full or by some other means.
>> >>
>> >>Lets assume my processing speed is less than receiving line rate so PMD
>> >>rings are over run and incoming packets are getting dropped. how should
>> i
>> >>track this issue(status of mbufs and dropping packets counts in PMD). Is
>> >>there any APIs or any tool available? is libtrace will help here?
>> >
>> >In most/all of the PMD drivers the stats will give you dropped packets
>> at the wire.
>> >
>> >>
>> >>any help would be much appreciated.
>> >>
>> >>--
>> >>Thanks
>> >>Sakthivel S OM
>> >>
>> >
>> >
>> >
>> >
>> >
>> >--
>> >Thanks
>> >Sakthivel S OM
>> >
>> >
>> >
>> >
>> >
>> >
>> >--
>> >Thanks
>> >Sakthivel S OM
>> >
>> >
>> >
>> >--
>> >Thanks
>> >Sakthivel S OM
>> >
>> >
>> >
>> >
>> >
>>
>>
>>
>>
>
>
> --
> Thanks
> Sakthivel S OM
>
>


-- 
Thanks
Sakthivel S OM

  parent reply	other threads:[~2016-06-02  7:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-31 14:35 SAKTHIVEL ANAND S
2016-05-31 14:42 ` Wiles, Keith
     [not found]   ` <CAOP5GAzAsGvZfiU=iScotEvj-uDL_9stuPZ5a1JN8rjXXv9Tug@mail.gmail.com>
     [not found]     ` <014B49F6-8810-4975-8CE5-967B4299B14E@intel.com>
     [not found]       ` <CAOP5GAzTGWefN6PSK+Ff7k_Aa2da4+3gCuu420BPKY56VvBXpg@mail.gmail.com>
     [not found]         ` <CAOP5GAxCp-4z2crmCxtKTGTWe-90==M_Fia92riNzxrCrL8iEQ@mail.gmail.com>
     [not found]           ` <68349471-4A9C-46EB-90EA-3FF67C28F0F5@intel.com>
     [not found]             ` <9D6F629A-2B3E-4E44-8ED3-83C231C421A0@intel.com>
     [not found]               ` <CAOP5GAwHJ9N6XPQDEBRYn4HyioGRw18ewT-8nh=zoakSrSvzbQ@mail.gmail.com>
2016-06-02  7:10                 ` SAKTHIVEL ANAND S [this message]
2016-05-31 15:05 ` Wiles, Keith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOP5GAyMEXrpsu=odd1p2Z43ob+7DWv7yPO5foFntFuq0CTa+g@mail.gmail.com' \
    --to=anand.sa88@gmail.com \
    --cc=keith.wiles@intel.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).