public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug debuginfod/25978] New: improve debuginfod prefetching / fdcache-management logic
@ 2020-05-12 15:41 fche at redhat dot com
  2021-06-08 12:21 ` [Bug debuginfod/25978] " nsanci at redhat dot com
  2021-07-14 17:41 ` mark at klomp dot org
  0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2020-05-12 15:41 UTC (permalink / raw)
  To: elfutils-devel

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

            Bug ID: 25978
           Summary: improve debuginfod prefetching / fdcache-management
                    logic
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: fche at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

The debuginfod fdcache-prefetch logic has been observed to show some
degeneraacies 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.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug debuginfod/25978] improve debuginfod prefetching / fdcache-management logic
  2020-05-12 15:41 [Bug debuginfod/25978] New: improve debuginfod prefetching / fdcache-management logic fche at redhat dot com
@ 2021-06-08 12:21 ` nsanci at redhat dot com
  2021-07-14 17:41 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: nsanci at redhat dot com @ 2021-06-08 12:21 UTC (permalink / raw)
  To: elfutils-devel

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

Noah Sanci <nsanci at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |nsanci at redhat dot com
                 CC|                            |nsanci at redhat dot com

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug debuginfod/25978] improve debuginfod prefetching / fdcache-management logic
  2020-05-12 15:41 [Bug debuginfod/25978] New: improve debuginfod prefetching / fdcache-management logic fche at redhat dot com
  2021-06-08 12:21 ` [Bug debuginfod/25978] " nsanci at redhat dot com
@ 2021-07-14 17:41 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: mark at klomp dot org @ 2021-07-14 17:41 UTC (permalink / raw)
  To: elfutils-devel

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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
commit fddaa57358c53ab86856d9ed0089d1b4ec1b7a1e
Author: Noah <nsanci@redhat.com>
Date:   Thu Jun 10 10:29:45 2021 -0400

    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>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-14 17:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 15:41 [Bug debuginfod/25978] New: improve debuginfod prefetching / fdcache-management logic fche at redhat dot com
2021-06-08 12:21 ` [Bug debuginfod/25978] " nsanci at redhat dot com
2021-07-14 17:41 ` mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).