DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] memory tracker in PMD level
@ 2016-05-31 14:35 SAKTHIVEL ANAND S
  2016-05-31 14:42 ` Wiles, Keith
  2016-05-31 15:05 ` Wiles, Keith
  0 siblings, 2 replies; 4+ messages in thread
From: SAKTHIVEL ANAND S @ 2016-05-31 14:35 UTC (permalink / raw)
  To: users

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?

any help would be much appreciated.

-- 
Thanks
Sakthivel S OM

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] memory tracker in PMD level
  2016-05-31 14:35 [dpdk-users] memory tracker in PMD level SAKTHIVEL ANAND S
@ 2016-05-31 14:42 ` Wiles, Keith
       [not found]   ` <CAOP5GAzAsGvZfiU=iScotEvj-uDL_9stuPZ5a1JN8rjXXv9Tug@mail.gmail.com>
  2016-05-31 15:05 ` Wiles, Keith
  1 sibling, 1 reply; 4+ messages in thread
From: Wiles, Keith @ 2016-05-31 14:42 UTC (permalink / raw)
  To: SAKTHIVEL ANAND S, users


>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
>




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] memory tracker in PMD level
  2016-05-31 14:35 [dpdk-users] memory tracker in PMD level SAKTHIVEL ANAND S
  2016-05-31 14:42 ` Wiles, Keith
@ 2016-05-31 15:05 ` Wiles, Keith
  1 sibling, 0 replies; 4+ messages in thread
From: Wiles, Keith @ 2016-05-31 15:05 UTC (permalink / raw)
  To: SAKTHIVEL ANAND S, users

>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?

I sent this information offline, but sending here for others:

Please have a look at the Docs in the area of rte_eth_stats_get() https://readthedocs.org/projects/dpdk/

>
>any help would be much appreciated.
>
>-- 
>Thanks
>Sakthivel S OM
>




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] memory tracker in PMD level
       [not found]               ` <CAOP5GAwHJ9N6XPQDEBRYn4HyioGRw18ewT-8nh=zoakSrSvzbQ@mail.gmail.com>
@ 2016-06-02  7:10                 ` SAKTHIVEL ANAND S
  0 siblings, 0 replies; 4+ messages in thread
From: SAKTHIVEL ANAND S @ 2016-06-02  7:10 UTC (permalink / raw)
  To: Wiles, Keith, users

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-02  7:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-31 14:35 [dpdk-users] memory tracker in PMD level 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
2016-05-31 15:05 ` Wiles, Keith

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).