CC'ing the mailing list back.

On Tue, Jul 23, 2019 at 03:58:09PM -0400, Yiteng Guo wrote:
> Hi Jonathan,
> 
> Thank you for the patch! It is really helpful.

Were you able to observe a positive impact?

This is something we might be interested in upstreaming if we have good
feedback.

> 
> Is there any disadvantage of per-pid buffering? I don't want to have
> processes interfere with each other so I choose per-pid buffering.

The main downside is that each registered applications will get their own
subbuffers resulting in a lot of memory usage depending on your session
configuration. This can get out of hand quickly, especially on systems withs 
lots
of cores and unknown number of instrumented applications.

If you completely control the runtime, for example when doing benchmarking or
simple analysis, feel free to use what make more sense to you as long as you
understand the pitfalls of each mode.

Cheers

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

Reply via email to