Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3.2k
    • Issues 3.2k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1k
    • Merge requests 1k
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MesaMesa
  • mesamesa
  • Merge requests
  • !19623

panfrost: Add debug option for disk cache stats

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Alyssa Rosenzweig requested to merge alyssa/mesa:panfrost/disk-cache-stats into main Nov 09, 2022
  • Overview 3
  • Commits 4
  • Pipelines 2
  • Changes 9
If the maximum size of the disk cache is too small, Mesa must either evict
cached shaders or refuse to cache further shaders. Especially on platforms with
fast disk access but slow CPUs, where the disk cache is especially important,
that maximum disk cache size can cause a performance cliff that can be hard to
diagnose. This patch adds a debug option that allows system integrators to dump
the disk cache hit/miss rate.

To use, set the PAN_MESA_DEBUG=cache_stats environment variable. Statistics will
printed to standard output when the screen is destroyed. This requires the
application to be closed gracefully. This matches llvmpipe's implementation.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: panfrost/disk-cache-stats