From: Olivier Dion via lttng-dev <lttng-dev@lists.lttng.org>
To: Kienan Stewart <kstewart@efficios.com>,
Gour DEV <lakshyagour10@gmail.com>,
lttng-dev@lists.lttng.org
Subject: Re: lttng-dev Digest, Vol 203, Issue 7
Date: Fri, 21 Mar 2025 10:10:44 -0400 [thread overview]
Message-ID: <87pliamq3f.fsf@laura> (raw)
In-Reply-To: <09086109-a0fd-4b38-817e-b5bd2cbd9c2f@efficios.com>
On Fri, 21 Mar 2025, Kienan Stewart via lttng-dev <lttng-dev@lists.lttng.org> wrote:
> Hi Lakshya,
>
> On 3/21/25 8:52 AM, Gour DEV wrote:
>> Thanks Kienan for digging this and explaining the behaviour,
[...]
>> Also, I thought using --buffers-global
>> <https://lttng.org/man/1/lttng-enable-channel/v2.8/#doc-opt--buffers-global>
>> would
>> be better for me as I could know how much memory will be required but looks
>> like that option is only available for kernel tracking, it would be very
>> good if this option could be available for user buffering also, but that
>> could come later.
>>
>
> Global buffers for UST is planned for the next release. The trade-off of
> using it is that tracing overhead will increase (as the buffers are no
> longer per-CPU), but in exchange for a potentially lower memory
> footprint particularly in situations where not all possible CPUs are online.
>
Little correction here. `--buffers-global' is the ownership of the
buffers (UID vs PID vs system). The next release introduces the buffers
allocation policies `per-{cpu,channel}'. Therefore `--buffers-global'
will still be only available for the kernel domain, AFAIK.
User-space however will be able to allocate a single ring-buffer for a
given channel (actually it depends on the buffer ownership UID vs PID),
thus reducing the amount of memory used, for that channel, by a factor
proportional to the number of CPUs possible on the system.
[...]
Thanks,
Olivier
--
Olivier Dion
EfficiOS Inc.
https://www.efficios.com
prev parent reply other threads:[~2025-03-21 14:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.58.1741790192.282.lttng-dev@lists.lttng.org>
2025-03-17 6:29 ` lttng-dev Digest, Vol 203, Issue 7 Gour DEV via lttng-dev
2025-03-20 20:51 ` Kienan Stewart via lttng-dev
2025-03-21 12:52 ` Gour DEV via lttng-dev
2025-03-21 13:14 ` Kienan Stewart via lttng-dev
2025-03-21 14:10 ` Olivier Dion via lttng-dev [this message]
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=87pliamq3f.fsf@laura \
--to=lttng-dev@lists.lttng.org \
--cc=kstewart@efficios.com \
--cc=lakshyagour10@gmail.com \
--cc=odion@efficios.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 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.