All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Schmitt <richard.schmitt@nxp.com>
To: "lttng-dev@lists.lttng.org" <lttng-dev@lists.lttng.org>
Cc: "Nghia (Tommy) Huynh" <nghia.huynh@utexas.edu>
Subject: LTTng user mode performance observation
Date: Wed, 1 Jun 2016 23:29:20 +0000	[thread overview]
Message-ID: <D6EA0E80-F341-43D1-9C4B-780366947A19__46345.0730233037$1464823784$gmane$org@nxp.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 796 bytes --]

We are trying to use user space LTTng to perform some performance analysis of fast-path layer 3 forwarding.  We have seen that with the tracepoints enabled, we experience about a 30% increase in service time.  This is spread out over two tracepoints so each one is still contributing a good amount.

This fast path is fast, about 300 cycles so we are asking a lot of efficiency of the tracepoint but for comparison, we implemented a simple ring buffer.  When we run with this type of capture, we only experience a 5% increase in service time.

I’m looking for pointers.  We’d rather use LTTng.  Are there ways to tune LTTng ust for ultra high performance requirements.  Perhaps there is  a way we could write directly to ust’s ring buffers, or perhaps preallocate the buffers?

Rich

[-- Attachment #1.2: Type: text/html, Size: 2879 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

             reply	other threads:[~2016-06-01 23:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-01 23:29 Richard Schmitt [this message]
     [not found] <D6EA0E80-F341-43D1-9C4B-780366947A19@nxp.com>
2016-06-02 13:10 ` LTTng user mode performance observation Michel Dagenais
2016-06-03  6:23 ` Mathieu Desnoyers

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='D6EA0E80-F341-43D1-9C4B-780366947A19__46345.0730233037$1464823784$gmane$org@nxp.com' \
    --to=richard.schmitt@nxp.com \
    --cc=lttng-dev@lists.lttng.org \
    --cc=nghia.huynh@utexas.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.