public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/29464] New: abidw performance regression on vmlinux
@ 2022-08-09 17:57 gprocida at google dot com
  2022-08-10 15:05 ` [Bug default/29464] " gprocida at google dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gprocida at google dot com @ 2022-08-09 17:57 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=29464

            Bug ID: 29464
           Summary: abidw performance regression on vmlinux
           Product: libabigail
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: gprocida at google dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

Hi Dodji.

I've been testing changes since our last upstream merge and have found a
performance regression.

A typical standalone "abidw vmlinux" normally takes around 20s on an AOSP
kernel. Following the merge, run times are around 1.5h. So that's around 270
times slower.

Using almost vanilla upstream libabigail (I had to disable one ELF symbol
assertion for unrelated reasons), I was able to bisect the regression to:

7ecef6361799326b99129a479b43b138f0b237ae "Canonicalize DIEs w/o assuming ODR &
handle typedefs transparently"

This commit does a few things, but most significantly removes an optimisation
that assumed the ODR.

The change in behaviour was consistent across 6 different test kernels and a
couple of other kernels I had lying around from different test cases. However,
in one case, abidw ran quickly as normal.

It's very likely that one of the previous kernels you've had from me will
trigger the problem. I will also see if I can find "off the shelf" binary that
you can debug with.

Regards,
Giuliano.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-19 10:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09 17:57 [Bug default/29464] New: abidw performance regression on vmlinux gprocida at google dot com
2022-08-10 15:05 ` [Bug default/29464] " gprocida at google dot com
2022-08-22  9:37 ` dodji at redhat dot com
2022-09-01  9:03 ` dodji at redhat dot com
2022-09-06 16:00 ` gprocida at google dot com
2022-09-06 16:10 ` gprocida at google dot com
2022-09-06 16:37 ` gprocida at google dot com
2022-09-08  9:28 ` gprocida at google dot com
2022-09-19 10:19 ` dodji at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).