Re: [dpdk-dev] [RFC] DPDK Trace support

2020-02-17 Thread Jerin Jacob
On Mon, Feb 17, 2020 at 3:05 PM Mattias Rönnblom wrote: > > On 2020-02-15 11:21, Jerin Jacob wrote: > > On Fri, Jan 17, 2020 at 4:24 PM Jerin Jacob wrote: > >> On Fri, Jan 17, 2020 at 4:00 PM Mattias Rönnblom > >> wrote: > LTTng kernel tracing only needs kmod support. > For the userspa

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-02-17 Thread Mattias Rönnblom
On 2020-02-15 11:21, Jerin Jacob wrote: > On Fri, Jan 17, 2020 at 4:24 PM Jerin Jacob wrote: >> On Fri, Jan 17, 2020 at 4:00 PM Mattias Rönnblom >> wrote: LTTng kernel tracing only needs kmod support. For the userspace tracing at minium following libraries are required. a) LTT

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-02-15 Thread Jerin Jacob
On Fri, Jan 17, 2020 at 4:24 PM Jerin Jacob wrote: > > On Fri, Jan 17, 2020 at 4:00 PM Mattias Rönnblom > wrote: > > > > > > LTTng kernel tracing only needs kmod support. > > > For the userspace tracing at minium following libraries are required. > > > > > > a) LTTng-UST > > > b) LTTng-tools > >

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-27 Thread Jerin Jacob
On Mon, Jan 27, 2020 at 9:43 PM Aaron Conole wrote: > > Jerin Jacob Kollanukkaran writes: > > > Hi All, > > > > I would like to add tracing support for DPDK. > > I am planning to add this support in v20.05 release. > > > > This RFC attempts to get feedback from the community on > > > > a) Tracing

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-27 Thread Aaron Conole
Jerin Jacob Kollanukkaran writes: > Hi All, > > I would like to add tracing support for DPDK. > I am planning to add this support in v20.05 release. > > This RFC attempts to get feedback from the community on > > a) Tracing Use cases. > b) Tracing Requirements. > b) Implementation choices. > c) T

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-20 Thread Stephen Hemminger
On Sat, 18 Jan 2020 10:14:31 -0500 wrote: > It would be well worth considering one of the vpp techniques to minimize > trace impact: > > static inline ring_handler_inline (..., int is_traced) > { > for (i = 0; i < vector_size; i++) > { > if (is_traced) > { > do_trace_w

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-20 Thread Ray Kinsella
+1 - thanks Dave On 20/01/2020 04:48, Jerin Jacob Kollanukkaran wrote: >> -Original Message- >> From: d...@barachs.net >> Sent: Saturday, January 18, 2020 8:45 PM >> To: 'Ray Kinsella' ; Jerin Jacob Kollanukkaran >> ; 'dpdk-dev' >> Subject: [EXT] RE: [RFC] [dpdk-dev] DPDK Trace support >

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-19 Thread dave
It would be well worth considering one of the vpp techniques to minimize trace impact: static inline ring_handler_inline (..., int is_traced) { for (i = 0; i < vector_size; i++) { if (is_traced) { do_trace_work; } normal_packet_processing; } } ring

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-19 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: d...@barachs.net > Sent: Saturday, January 18, 2020 8:45 PM > To: 'Ray Kinsella' ; Jerin Jacob Kollanukkaran > ; 'dpdk-dev' > Subject: [EXT] RE: [RFC] [dpdk-dev] DPDK Trace support > > It would be well worth considering one of the vpp techniques to minimize t

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-17 Thread Jerin Jacob
On Fri, Jan 17, 2020 at 4:14 PM David Marchand wrote: > > On Fri, Jan 17, 2020 at 10:52 AM Jerin Jacob wrote: > > > > If someone needs more time to think through or any clarification is > > > > required then please discuss. > > > > > > I did not find the time to look at this. > > > Some quick que

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-17 Thread Jerin Jacob
On Fri, Jan 17, 2020 at 4:00 PM Mattias Rönnblom wrote: > > > LTTng kernel tracing only needs kmod support. > > For the userspace tracing at minium following libraries are required. > > > > a) LTTng-UST > > b) LTTng-tools > > c) liburcu > > d) libpopt-dev > > This "DPDK CTF trace emitter" would m

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-17 Thread David Marchand
On Fri, Jan 17, 2020 at 10:52 AM Jerin Jacob wrote: > > > If someone needs more time to think through or any clarification is > > > required then please discuss. > > > > I did not find the time to look at this. > > Some quick questions: > > - is LTTng coming with out-of-tree kmod? making it hard t

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-17 Thread Mattias Rönnblom
On 2020-01-17 10:52, Jerin Jacob wrote: > On Fri, Jan 17, 2020 at 1:35 PM David Marchand > wrote: >> On Fri, Jan 17, 2020 at 5:41 AM Jerin Jacob wrote: >>> Yes this is when trace is enabled. If the trace is disabled then it >>> will be the only a handful of cycles. >>> >> Two foll

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-17 Thread Jerin Jacob
On Fri, Jan 17, 2020 at 1:35 PM David Marchand wrote: > > On Fri, Jan 17, 2020 at 5:41 AM Jerin Jacob wrote: > > > > > > > > > > > > > > Yes this is when trace is enabled. If the trace is disabled then it > > > > > > will be the only a handful of cycles. > > > > > > > > > > > Two follow-on questi

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-17 Thread David Marchand
On Fri, Jan 17, 2020 at 5:41 AM Jerin Jacob wrote: > > > > > > > > > > > Yes this is when trace is enabled. If the trace is disabled then it > > > > > will be the only a handful of cycles. > > > > > > > > > Two follow-on questions: > > > > 1. Is the trace enable/disable dynamic at runtime? > > > >

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-16 Thread Jerin Jacob
> > > > > > > > Yes this is when trace is enabled. If the trace is disabled then it > > > > will be the only a handful of cycles. > > > > > > > Two follow-on questions: > > > 1. Is the trace enable/disable dynamic at runtime? > > > > Yes. See the requirement section. > > > > > 2. Have you investiga

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-13 Thread Bruce Richardson
On Mon, Jan 13, 2020 at 08:43:01PM +0530, Jerin Jacob wrote: > On Mon, Jan 13, 2020 at 8:28 PM Bruce Richardson > wrote: > > > > On Mon, Jan 13, 2020 at 08:16:07PM +0530, Jerin Jacob wrote: > > > On Mon, Jan 13, 2020 at 6:36 PM Bruce Richardson > > > wrote: > > > > > > > > > > > > > So, Probably

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-13 Thread Jerin Jacob
On Mon, Jan 13, 2020 at 8:28 PM Bruce Richardson wrote: > > On Mon, Jan 13, 2020 at 08:16:07PM +0530, Jerin Jacob wrote: > > On Mon, Jan 13, 2020 at 6:36 PM Bruce Richardson > > wrote: > > > > > > > > > > So, Probably it good to have native CTF emitter in DPDK and reuse all > > > > open-source tr

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-13 Thread Bruce Richardson
On Mon, Jan 13, 2020 at 08:16:07PM +0530, Jerin Jacob wrote: > On Mon, Jan 13, 2020 at 6:36 PM Bruce Richardson > wrote: > > > > > > > So, Probably it good to have native CTF emitter in DPDK and reuse all > > > open-source trace viewer(babeltrace and TraceCompass) and format(CTF) > > > infrastru

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-13 Thread Jerin Jacob
On Mon, Jan 13, 2020 at 6:36 PM Bruce Richardson wrote: > > > > So, Probably it good to have native CTF emitter in DPDK and reuse all > > open-source trace viewer(babeltrace and TraceCompass) and format(CTF) > > infrastructure. > > I think, it would be best of both world. > > > > Any thoughts on

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-13 Thread Bruce Richardson
On Mon, Jan 13, 2020 at 10:40:13AM +, Jerin Jacob Kollanukkaran wrote: > Hi All, > > I would like to add tracing support for DPDK. > I am planning to add this support in v20.05 release. > > This RFC attempts to get feedback from the community on > > a) Tracing Use cases. > b) Tracing Require

Re: [dpdk-dev] [RFC] DPDK Trace support

2020-01-13 Thread Ray Kinsella
Hi Jerin, Any idea why lttng performance is so poor? I would have naturally gone there to benefit from the existing toolchain. Have you looked at the FD.io logging/tracing infrastructure for inspiration? https://wiki.fd.io/view/VPP/elog Ray K On 13/01/2020 10:40, Jerin Jacob Kollanukkaran wrote