Re: Performance issue with systemd-coredump and container process linking 2000 shared libraries.

2023-06-30 Thread Romain GEISSLER via Elfutils-devel
> Le 27 juin 2023 à 16:09, Mark Wielaard a écrit : > > Hi, > > On Wed, 2023-06-21 at 18:24 +0200, Mark Wielaard wrote: > > I pushed this now. It is also in Fedora Rawhide: > https://bodhi.fedoraproject.org/updates/FEDORA-2023-1026cbdd9a > But there are some gating issues (nothing to do with the ne

Re: Performance issue with systemd-coredump and container process linking 2000 shared libraries.

2023-06-22 Thread Romain GEISSLER via Elfutils-devel
> Le 21 juin 2023 à 21:39, Mark Wielaard a écrit : > > > Hi Romain, > > That patch looks good. It should reduce the number of calls to > elf_getdata_rawchunk a lot. Making it less urgent that function is > fast. But if you could test it that would be appreciated. I'll also > test it a bit more

Re: Performance issue with systemd-coredump and container process linking 2000 shared libraries.

2023-06-21 Thread Romain GEISSLER via Elfutils-devel
> Le 21 juin 2023 à 18:24, Mark Wielaard a écrit : > > > > Hi Romain, > > Seeing those performance results I understand why you were suspecting > the linked list data structure used in elf_getdata_rawchunk. > > Would you be able to test a rebuild libelf with the attached patch, > which replac

Re: Performance issue with systemd-coredump and container process linking 2000 shared libraries.

2023-06-20 Thread Romain GEISSLER via Elfutils-devel
> Le 20 juin 2023 à 23:37, Mark Wielaard a écrit : > > Hi, > > On Mon, Jun 19, 2023 at 05:08:50PM +0200, Mark Wielaard wrote: > > So I made a mistake here. Since I was testing on fedora 38 which has > DEBUGINFOD_URLS set. Without DEBUGINFOD_URLS set there is no big > slowdown. > > Do you have

Re: Performance issue with systemd-coredump and container process linking 2000 shared libraries.

2023-06-19 Thread Romain GEISSLER via Elfutils-devel
> Le 19 juin 2023 à 17:08, Mark Wielaard a écrit : > > Hi Romain, > > Just to let you know I am looking at this. But haven't made much > progress in understanding it yet. Thanks so much for the reproducer. I > have been able to see the (very slow) parsing of the core file with it. Hi, Thanks !

Performance issue with systemd-coredump and container process linking 2000 shared libraries.

2023-06-14 Thread Romain Geissler via Elfutils-devel
ason to me, calling dwfl_module_getelf is very slow (I wouldn't expect that looking on the filesytem by buildid is that slow actually). So, is this behavior of dwfl_module_getelf expected ? If yes, do you agree that we shall advise systemd-coredump developer to invert their logic, to

Build without .so files

2020-02-27 Thread Romain GEISSLER
Hi, It looks like last year a change was merge removing the need to dlopen the backend libraries [1]. Right now, even if I configure with flags like "—disable-shared --enable-static" it seems that I still endup with .so files and that tools like eu-readelf depend on it. So what is the official