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

            Bug ID: 31265
           Summary: improve cache retention logic to prefer small /
                    frequent / slow files
           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: ---

In light of https://bugzilla.redhat.com/show_bug.cgi?id=1970578 still being
open, we should probably tweak the server side caching to add a measure of
cost/time to the retention logic.  Ditch LRU, add some retention scoring that
prefers to keep vdso.* stuff that takes 60s to extract, and yet is regularly
requested.

The resulting formula might need to be heuristic or statistical in nature.  It
should probably avoid retaining very slow/large but rare files (kernel images).
 It should probably favour -similar- files (vdso's from different package
versions) even before usage counts.

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

Reply via email to