From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 87401 invoked by alias); 26 Mar 2019 14:01:12 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 87326 invoked by uid 48); 26 Mar 2019 14:01:08 -0000 From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/24388] Disabling DIE deduplication improves compression for hello Date: Tue, 01 Jan 2019 00:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-q1/txt/msg00155.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24388 --- Comment #1 from Tom de Vries --- I tried the same with dwz as dwz input: ... $ dwz dwz-for-test -o dwz-for-test.dwz $ diff.sh dwz-for-test dwz-for-test.dwz=20 .debug_info red: 15% 119827 102801 .debug_abbrev red: 2% 4009 3964 .debug_str red: 0% 20731 20731 total red: 12% 144567 127496 $ dwz dwz-for-test -o dwz-for-test.dwz.2 $ diff.sh dwz-for-test dwz-for-test.dwz.2=20 .debug_info red: 14% 119827 103872 .debug_abbrev red: 23% 4009 3094 .debug_str red: 0% 20731 20731 total red: 12% 144567 127697 ... This seems to be a point where using DIE deduplication is just better than = not using it. So, with this being the DIE counts: ... $ count-dies.sh hello 130 $ count-dies.sh dwz-for-test 10.393 $ count-dies.sh cc1 10.188.941 ... perhaps a cut-off point of 100.000 would do. --=20 You are receiving this mail because: You are on the CC list for the bug.