caching failed lookups of debuginfo?

Mark Wielaard mark@klomp.org
Fri Apr 8 20:59:55 GMT 2022


Hi Milian,

On Fri, Apr 08, 2022 at 10:45:10PM +0200, Milian Wolff wrote:
> In the off-CPU flame graphs I clearly see this callchain when DEBUGINFOD_URLS 
> is set:
> 
> ```
> dwfl_standard_find_debuginfo > debuginfod_query_server > curl_multi_wait
> ```
> 
> This accounts for ~2.5s of off-CPU time in my case. If you are saying that 
> negative lookups are cached, then what is this? Why would a second run of the 
> same dwfl-using application with the same input data keep querying the server?

That is certainly not what should happen once the cache is filled.
Could you run with DEBUGINFOD_VERBOSE=1 to see what is being fetched and why?

Thanks,

Mark



More information about the Elfutils-devel mailing list