[lttng-dev] Babeltrace 2.0.2 performance issue

Aleksander Aleksandrov a.aleksandrov at yadro.com
Thu Apr 2 12:30:25 EDT 2020


От: Aleksander Aleksandrov

Отправлено: 12 марта 2020 г. 14:36
Кому: jeremie.galarneau at efficios.com
Копия: simon.marchi at efficios.com; francis.deslauriers at efficios.com
Тема: Babeltrace 2.0.2 performance issue


Hello Jeremie,


My name is Aleksandr, I had a pleasure to write a plugin for babeltrace2 and I faced some performance issue (bt2 vs bt1).

I attached the simple LTTng user-space log which is used to show my issue. As far as I understand Babeltrace2's performance is comparable to Babeltrace1's.

  *   Babeltrace 2:

tag: v2.0.2

BABELTRACE_MINIMAL_LOG_LEVEL=INFO ./configure --disable-man-pages --disable-debug-info CFLAGS='-O3 -DNDEBUG -Wno-error'

LD_LIBRARY_PATH=./src/lib/.libs ./src/cli/.libs/babeltrace2 my-lttng-trace -o dummy  12,70s user 0,03s system 99% cpu 12,745 total

  *   Babeltrace 1:

tag: v1.5.8

./configure CFLAGS='-O3 -DNDEBUG -Wno-error'

./converter/babeltrace my-lttng-trace -o dummy  8,30s user 0,03s system 100% cpu 8,334 total


Babeltrace v2.0.2 is slower (~50%, processing time: 12,745 s vs 8,334 s) than Babeltrace v1.5.8 with a dummy output according to my measurements.


I would be happy to receive any help or clarification from you.

Thank you for your time!


Best regards,

Aleksandr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20200402/2c5f0f7a/attachment.htm>


More information about the lttng-dev mailing list