lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
From: Aprameya Rao via lttng-dev <lttng-dev@lists.lttng.org>
To: "lttng-dev@lists.lttng.org" <lttng-dev@lists.lttng.org>
Subject: Re: [lttng-dev] Using LTTng for an application with a single thread per core
Date: Mon, 8 Jun 2020 18:14:03 +0000	[thread overview]
Message-ID: <MW2PR2101MB10984DF40F60AD90F47D7EF481850@MW2PR2101MB1098.namprd21.prod.outlook.com> (raw)
Message-ID: <20200608181403.oBwum2kqpA02-ghzWXkArRxdG36KVJKhZCpLHGYGZqo@z> (raw)
In-Reply-To: <MW2PR2101MB1098270C4CF4CBFA31AC2E0C818F0@MW2PR2101MB1098.namprd21.prod.outlook.com>


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

Hi

Any suggestions on this?

Thanks
Aprameya

From: lttng-dev <lttng-dev-bounces@lists.lttng.org> On Behalf Of Aprameya Rao via lttng-dev
Sent: Thursday, May 28, 2020 9:21 PM
To: lttng-dev@lists.lttng.org
Subject: [EXTERNAL] [lttng-dev] Using LTTng for an application with a single thread per core

Hi

I am working on an application where I have a single thread per core (the application is based on top of SPDK - https://spdk.io/<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspdk.io%2F&data=02%7C01%7Caprameya.rao%40microsoft.com%7C99c722863c7f4b084b2808d80387ae95%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637263228592195561&sdata=KwAOEkqx%2FIsWtd7zEuntGKZVnqkfUNU4s6VeEXI3jG8%3D&reserved=0>). Ideally, I would like to have a set of buffers allocated per core and since there is a single thread it can write the trace event to this buffer directly with no synchronization. Once the buffer is filled up, the buffer can be given to LTTng to take care of the persistence.

I'm looking at the LTTng code to figure out what kind of changes would need to be made to support something like this. I imagine it would need to change the ring buffer because the configuration for that while tunable does not have any mode which does what I want. Am I looking in the right place? If you can provide me to pointers on how I can prototype this with lttng that would be most helpful. Once I have it prototyped, I would be happy to work with you on making these changes back into LTTng if you feel that this would be of value to other users as well.

Regards
Aprameya


[-- Attachment #1.2: Type: text/html, Size: 3875 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

  parent reply	other threads:[~2020-06-08 18:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-29  4:20 Using LTTng for an application with a single thread per core Aprameya Rao via lttng-dev
2020-05-29  4:20 ` [lttng-dev] " Aprameya Rao via lttng-dev
2020-06-08 18:14 ` Aprameya Rao via lttng-dev [this message]
2020-06-08 18:14   ` Aprameya Rao via lttng-dev

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=MW2PR2101MB10984DF40F60AD90F47D7EF481850@MW2PR2101MB1098.namprd21.prod.outlook.com \
    --to=lttng-dev@lists.lttng.org \
    --cc=Aprameya.Rao@microsoft.com \
    /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).