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.1k
    • Issues 3.1k
    • 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
  • !20659

radv: Reduce overhead of radv_emit_all_graphics_states

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Timur Kristóf requested to merge Venemo/mesa:radv_cpu_overhead_emit_all_graphics_states into main Jan 12, 2023
  • Overview 38
  • Commits 8
  • Pipelines 35
  • Changes 1

This is based on ideas from Mike's original patches.

Testing

CPU settings used for testing:

# Set all cores to use performance governor
for i in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do echo performance > $i; done
# Disable CPU boost
echo 0 > /sys/devices/system/cpu/cpufreq/boost
# Disable address space randomization
echo 0 > /proc/sys/kernel/randomize_va_space

Test score is the average of 5 runs:

for i in {1..5}; do echo "--- run $i"; ./vkoverhead -test 0 -duration 15; done
commit 6850U score 3900X score 7950X score i5-2500 score
main 882fd3c5 43084.8 31330.2 51047 20335.68
this MR 47486.8 39617.8 58162.2 23167
Edited May 16, 2023 by Timur Kristóf
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: radv_cpu_overhead_emit_all_graphics_states