Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Merge requests
  • !5521

i#4014 dr$sim phys: Improve v2p cache and hash performance

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i4014-offline-phys into master Jun 08, 2022
  • Overview 17
  • Commits 3
  • Pipelines 0
  • Changes 3

Switches from the drcontainers hashtable to the new open-address hashtable provided by DR. This is 2x to 3x faster due to the reduced dereferences from the inlined data.

Increases the last-value cache from one entry to an array of 8 entries. This was found to provide improved performance on small benchmarks.

Measured on bzip2 local and SPEC2006 runs as they are short enough to allow interactive experimentation. -use_physical still incurs a ~2.5x slowdown, but it was 9x before these changes. The bottleneck is no longer the hashtable but is now spread across all the address iteration and querying code.

Issue: #4014

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4014-offline-phys