debuginfod: PR25978 - Created the prefetch fdcache
authorNoah <nsanci@redhat.com>
Thu, 10 Jun 2021 14:29:45 +0000 (10:29 -0400)
committerMark Wielaard <mark@klomp.org>
Wed, 14 Jul 2021 15:34:15 +0000 (17:34 +0200)
commitfddaa57358c53ab86856d9ed0089d1b4ec1b7a1e
tree97e8fcf6e99d905f8e3cabfcc32d2e618fb186cb
parent60117fb6b2006e1ef282fee48eae7646622d1667
debuginfod: PR25978 - Created the prefetch fdcache

The debuginfod fdcache-prefetch logic has been observed to show some
degeneracies in operation.  Since fdcache evictions are done
frequently, and freshly prefetched archive elements are put at the
back of lru[], each eviction round can summarily nuke things that
were just prefetched .... and are just going to be prefetched again.
It would be better to have two lru lists, or being able to insert
newly prefetched entries somewhere in the middle of the list rather
than at the very very end.

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

Signed-off-by: Noah Sanci <nsanci@redhat.com>
debuginfod/ChangeLog
debuginfod/debuginfod.cxx
doc/debuginfod.8
tests/ChangeLog
tests/run-debuginfod-find.sh