From mboxrd@z Thu Jan 1 00:00:00 1970 From: a.aleksandrov@yadro.com (Aleksander Aleksandrov) Date: Thu, 2 Apr 2020 16:30:25 +0000 Subject: [lttng-dev] Babeltrace 2.0.2 performance issue In-Reply-To: <76e78e538b804aa2b78f320510e8c10d@yadro.com> References: <76e78e538b804aa2b78f320510e8c10d@yadro.com> Message-ID: ??: 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: