[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/24388] Disabling DIE deduplication improves compression for hello



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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
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 
.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 
.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.

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