DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Problem profiling DPDK
@ 2018-07-16  8:11 이지수
  2018-07-16 15:47 ` Wiles, Keith
  0 siblings, 1 reply; 3+ messages in thread
From: 이지수 @ 2018-07-16  8:11 UTC (permalink / raw)
  To: users

Hi,

I have some issues with receiving 60bytes size packets without loss, so
used perf tools to see what's happening.

I built DPDK and application which I'm using (DPDK-pktgen) with proper
options for debugging (-g, O0) and here is my perf report's result.


# Children      Self  Command        Shared Object      Symbol
    89.16%     0.00%  lcore-slave-8  pktgen             [.] eal_thread_loop
    89.16%     0.00%  lcore-slave-8  pktgen             [.]
pktgen_launch_one_lcore
    89.09%     0.66%  lcore-slave-8  pktgen             [.]
pktgen_main_rxtx_loop
    86.86%     2.43%  lcore-slave-8  pktgen             [.]
pktgen_main_receive
    47.08%    34.92%  lcore-slave-8  pktgen             [.] rte_pktmbuf_free
    33.78%     5.77%  lcore-slave-8  pktgen             [.]
pktgen_packet_classify_bulk
    23.29%    11.15%  lcore-slave-8  pktgen             [.]
pktgen_packet_classify
    10.93%    10.89%  lcore-slave-8  pktgen             [.]
i40e_recv_pkts_vec
    10.84%     0.00%  lcore-slave-8  [unknown]          [.]
0x00303a3420205852
    10.83%     0.00%  lcore-slave-8  [unknown]          [.]
0x00007f877d914680
    10.52%    10.49%  lcore-slave-8  pktgen             [.]
pktgen_packet_type
     7.35%     3.05%  lcore-slave-8  pktgen             [.]
rte_mbuf_refcnt_read
     4.36%     4.35%  lcore-slave-8  pktgen             [.]
rte_atomic16_read
     4.35%     4.34%  lcore-slave-8  pktgen             [.] rte_prefetch0
     3.32%     3.31%  lcore-slave-8  pktgen             [.]
rte_memcpy_generic

I could see many readable symbols but there are two unknown symbols taking
10% at Children column.

Does anyone have ideas what these symbols are?

Thanks in advance.

Regards,

Jeesoo Lee

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

* Re: [dpdk-users] Problem profiling DPDK
  2018-07-16  8:11 [dpdk-users] Problem profiling DPDK 이지수
@ 2018-07-16 15:47 ` Wiles, Keith
  2018-07-17  3:26   ` 이지수
  0 siblings, 1 reply; 3+ messages in thread
From: Wiles, Keith @ 2018-07-16 15:47 UTC (permalink / raw)
  To: 이지수; +Cc: users



Sent from my iPhone

> On Jul 16, 2018, at 1:11 AM, 이지수 <skan1543@gmail.com> wrote:
> 
> Hi,
> 
> I have some issues with receiving 60bytes size packets without loss, so
> used perf tools to see what's happening.
> 
> I built DPDK and application which I'm using (DPDK-pktgen) with proper
> options for debugging (-g, O0) and here is my perf report's result.
> 
> 
> # Children      Self  Command        Shared Object      Symbol
>    89.16%     0.00%  lcore-slave-8  pktgen             [.] eal_thread_loop
>    89.16%     0.00%  lcore-slave-8  pktgen             [.]
> pktgen_launch_one_lcore
>    89.09%     0.66%  lcore-slave-8  pktgen             [.]
> pktgen_main_rxtx_loop
>    86.86%     2.43%  lcore-slave-8  pktgen             [.]
> pktgen_main_receive
>    47.08%    34.92%  lcore-slave-8  pktgen             [.] rte_pktmbuf_free
>    33.78%     5.77%  lcore-slave-8  pktgen             [.]
> pktgen_packet_classify_bulk
>    23.29%    11.15%  lcore-slave-8  pktgen             [.]
> pktgen_packet_classify
>    10.93%    10.89%  lcore-slave-8  pktgen             [.]
> i40e_recv_pkts_vec
>    10.84%     0.00%  lcore-slave-8  [unknown]          [.]
> 0x00303a3420205852
>    10.83%     0.00%  lcore-slave-8  [unknown]          [.]
> 0x00007f877d914680
>    10.52%    10.49%  lcore-slave-8  pktgen             [.]
> pktgen_packet_type
>     7.35%     3.05%  lcore-slave-8  pktgen             [.]
> rte_mbuf_refcnt_read
>     4.36%     4.35%  lcore-slave-8  pktgen             [.]
> rte_atomic16_read
>     4.35%     4.34%  lcore-slave-8  pktgen             [.] rte_prefetch0
>     3.32%     3.31%  lcore-slave-8  pktgen             [.]
> rte_memcpy_generic
> 
> I could see many readable symbols but there are two unknown symbols taking
> 10% at Children column.


These could be the calls to rte_manage_timer() as not much else is going on here for the code point of view. 

Notice the application is unknown and not pktgen so could be something in Linux. You can try vtune. 
> 
> Does anyone have ideas what these symbols are?
> 
> Thanks in advance.
> 
> Regards,
> 
> Jeesoo Lee

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

* Re: [dpdk-users] Problem profiling DPDK
  2018-07-16 15:47 ` Wiles, Keith
@ 2018-07-17  3:26   ` 이지수
  0 siblings, 0 replies; 3+ messages in thread
From: 이지수 @ 2018-07-17  3:26 UTC (permalink / raw)
  To: Wiles, Keith; +Cc: users

Ok,

I compiled DPDK properly but didn't install it with 'make install
T=$RTE_TARGET' command and I think that was the problem.
Now I can see all symbols in the perf report.

Thanks.

Regards,

Jeesoo Lee


2018-07-17 0:47 GMT+09:00 Wiles, Keith <keith.wiles@intel.com>:

>
>
> Sent from my iPhone
>
> > On Jul 16, 2018, at 1:11 AM, 이지수 <skan1543@gmail.com> wrote:
> >
> > Hi,
> >
> > I have some issues with receiving 60bytes size packets without loss, so
> > used perf tools to see what's happening.
> >
> > I built DPDK and application which I'm using (DPDK-pktgen) with proper
> > options for debugging (-g, O0) and here is my perf report's result.
> >
> >
> > # Children      Self  Command        Shared Object      Symbol
> >    89.16%     0.00%  lcore-slave-8  pktgen             [.]
> eal_thread_loop
> >    89.16%     0.00%  lcore-slave-8  pktgen             [.]
> > pktgen_launch_one_lcore
> >    89.09%     0.66%  lcore-slave-8  pktgen             [.]
> > pktgen_main_rxtx_loop
> >    86.86%     2.43%  lcore-slave-8  pktgen             [.]
> > pktgen_main_receive
> >    47.08%    34.92%  lcore-slave-8  pktgen             [.]
> rte_pktmbuf_free
> >    33.78%     5.77%  lcore-slave-8  pktgen             [.]
> > pktgen_packet_classify_bulk
> >    23.29%    11.15%  lcore-slave-8  pktgen             [.]
> > pktgen_packet_classify
> >    10.93%    10.89%  lcore-slave-8  pktgen             [.]
> > i40e_recv_pkts_vec
> >    10.84%     0.00%  lcore-slave-8  [unknown]          [.]
> > 0x00303a3420205852
> >    10.83%     0.00%  lcore-slave-8  [unknown]          [.]
> > 0x00007f877d914680
> >    10.52%    10.49%  lcore-slave-8  pktgen             [.]
> > pktgen_packet_type
> >     7.35%     3.05%  lcore-slave-8  pktgen             [.]
> > rte_mbuf_refcnt_read
> >     4.36%     4.35%  lcore-slave-8  pktgen             [.]
> > rte_atomic16_read
> >     4.35%     4.34%  lcore-slave-8  pktgen             [.] rte_prefetch0
> >     3.32%     3.31%  lcore-slave-8  pktgen             [.]
> > rte_memcpy_generic
> >
> > I could see many readable symbols but there are two unknown symbols
> taking
> > 10% at Children column.
>
>
> These could be the calls to rte_manage_timer() as not much else is going
> on here for the code point of view.
>
> Notice the application is unknown and not pktgen so could be something in
> Linux. You can try vtune.
> >
> > Does anyone have ideas what these symbols are?
> >
> > Thanks in advance.
> >
> > Regards,
> >
> > Jeesoo Lee
>

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

end of thread, other threads:[~2018-07-17  3:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-16  8:11 [dpdk-users] Problem profiling DPDK 이지수
2018-07-16 15:47 ` Wiles, Keith
2018-07-17  3:26   ` 이지수

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