public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: "gprocida at google dot com" <sourceware-bugzilla@sourceware.org>
To: libabigail@sourceware.org
Subject: [Bug default/29464] abidw performance regression on vmlinux
Date: Tue, 06 Sep 2022 16:00:25 +0000	[thread overview]
Message-ID: <bug-29464-9487-ipp3L7ZeL3@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-29464-9487@http.sourceware.org/bugzilla/>

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

--- Comment #3 from gprocida at google dot com ---
Hi Dodji.

I have done some tests by merging dodji-perf (e6f222c8) into AOSP and running
our tests. In more detail:

I noticed that there was a merge conflict of "dwarf-reader: Revamp the
canonical type DIE propagation algorithm" with my hack that limited comparisons
per DIE pair to 10000. Given it seemed that the changes were working in the
same area, I reverted my hack and remerged.

I ran into trouble as your development branch is not known to AOSP, so I
actually ended up with: revert, merge, cherry-pick x 2.

I need to retest without any AOSP things. However, here is some initial
feedback:

1. Testing (unintentionally) at the second last cherry-pick ("dwarf-reader:
Revamp the canonical type DIE propagation algorithm") showed some test timeouts
on our standard kernel tests.

This means I cannot push that series to AOSP. I will consider reinstating my
hack and trying again, after other tests.

The test suite run also shows other issues:
* name changes like "long long unsigned" to "unsigned long long int"
* linearly probed - and so unstable - hash-based type ids for types like
"unsigned int" and "unsigned short int" (the strings that get hashed are the
same for the different types)

The last of these issues will also need to be resolved - we may decide to do it
in post-processing, but I imagine it's only a small change in libabigail.

2. Testing at the last cherry-pick ("Allow restricting analyzed decls to
exported symbols") also had test timeouts. However, more seriously, the run
time (for a 4.19 kernel) is much worse than in 1.

I haven't yet done any ABI comparisons using this abidw's output as it still
running at over 30 minutes.

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

  parent reply	other threads:[~2022-09-06 16:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 17:57 [Bug default/29464] New: " 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-29464-9487-ipp3L7ZeL3@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=libabigail@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).