This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/17822] Loading shared library is magnitude slower than run a program + dlopen/depend on the same library


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

myocytebd at sina dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED

--- Comment #1 from myocytebd at sina dot com ---
The problem seems fixed with latest snapshot.


Updated bug description:

gdb-7.6, Ubuntu 13.10
whole program: ~10min
one library: extremely slow (> 1 hour; killed)

gdb-7.8, Ubuntu 14.10
whole program: extremely slow (> 1 hour; killed)
one library: extremely slow (> 1 hour; killed)

latest gdb snapshot, Ubuntu 14.10
(configured without no options)
whole program: ~2min  (a lot faster; the annoying seek hotspot seems no longer)
one library: good (faster than whole program; the annoying seek hotspot seems
no longer)


The whole program is ~1.5M symbols,
with three heavy libraries ~400k each.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]