Hi,
I am reaching out the elfutils mailing to discuss one issue we have seen in one
of our OpenShift production workload. Note that if you are a Red Hat employee,
this actually corresponds to Red Hat support case 03536980 which I have yet to
update with this informations.
Description of the issue
> 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 !
> 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
> 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
> 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
> 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