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
  • !2590

i#2575 shrink thread mem: reduce vmm block size to 4KB on UNIX

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i2575-vmm-4K into master Aug 03, 2017
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 3

Reduces the compile-time minimum VMM block size as well as the default -vmm_block_size from 16KB to 4KB on UNIX to avoid wasted space from non-16KB-aligned allocation sizes. The savings are non-trivial for applications with many threads where we have multiple per-thread small allocations (such as the TLS mmaps) and will make further memory reductions via changing unit size parameters more fruitful by allowing a wider range of sizes without overhead. The downside is more memory and overhead on memory management but the tradeoff is worthwhile. This is much simpler than trying to share VMM block allocations among separate uses like we do on Windows for the stack and gencode.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i2575-vmm-4K