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
  • Issues
  • #5709
Closed
Open
Issue created Oct 28, 2022 by Derek Bruening@derekbrueningContributor

dr$sim -cpu_scheduling ignores migrations

It binds a software thread to the first core it appeared on. I would expect it to follow migrations and schedule each thread segment on to the appropriate core.

Here we have a single thread that was on cpu 8 initially but then moved to cpu 2, and the results from dr$sim which I would call incorrect:

$ bin64/drrun -t drcachesim -indir drmemtrace.*.dir -cpu_scheduling
Cache simulation results:
Core #0 (1 traced CPU(s): #8)
  L1I stats:
    Hits:                          141,938
    Misses:                          1,138
    Compulsory misses:               1,108
    Invalidations:                       0
    Miss rate:                        0.80%
  L1D stats:
    Hits:                           42,491
    Misses:                          1,390
    Compulsory misses:               2,112
    Invalidations:                       0
    Prefetch hits:                     231
    Prefetch misses:                 1,159
    Miss rate:                        3.17%
Core #1 (1 traced CPU(s): #2)
  L1I stats:
    Hits:                                0
    Misses:                              0
    Compulsory misses:                   0
    Invalidations:                       0
  L1D stats:
    Hits:                                0
    Misses:                              0
    Compulsory misses:                   0
    Invalidations:                       0
Assignee
Assign to
Time tracking