<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><b style="font-size: 11pt; font-family: Calibri, sans-serif;">От:</b><span style="font-size: 11pt; font-family: Calibri, sans-serif;"> Aleksander Aleksandrov</span><br>
</p>
<div style="color: rgb(0, 0, 0);">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Отправлено:</b> 12 марта 2020 г. 14:36<br>
<b>Кому:</b> jeremie.galarneau@efficios.com<br>
<b>Копия:</b> simon.marchi@efficios.com; francis.deslauriers@efficios.com<br>
<b>Тема:</b> Babeltrace 2.0.2 performance issue</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
Hello Jérémie,</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"; min-height:14px">
<br>
</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
My name is Aleksandr, I had a pleasure to write a plugin for babeltrace2 and I faced some performance issue (bt2 vs bt1).</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
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.</p>
<ul>
<li style="margin:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
Babeltrace 2: </li></ul>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
tag: v2.0.2</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
BABELTRACE_MINIMAL_LOG_LEVEL=INFO ./configure --disable-man-pages --disable-debug-info CFLAGS='-O3 -DNDEBUG -Wno-error'</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
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</p>
<ul>
<li style="margin:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
Babeltrace 1: </li></ul>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
tag: v1.5.8</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
./configure CFLAGS='-O3 -DNDEBUG -Wno-error'</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
./converter/babeltrace my-lttng-trace -o dummy  8,30s user 0,03s system 100% cpu 8,334 total</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
<br>
</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"; min-height:14px">
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.</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"; min-height:14px">
<br>
</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"; min-height:14px">
I would be happy to receive any help or clarification from you.<br>
</p>
<p></p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
Thank you for your time!</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
<br>
</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
Best regards,</p>
<p style="margin-right:0px; margin-left:0px; font-size:12px; line-height:normal; font-family:"Helvetica Neue"">
Aleksandr</p>
</div>
</div>
</div>
</div>
</body>
</html>