DynamoRIO / DynamoRIO/dynamorio
Speed up detach by reducing translation retries
Open
Component-DrMemtrace
Performance
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
Separating out from #4219 which is about correctness problems.
With the stats from PR #4228 on a large ~600-thread app under drcachesim, I observed ~500 retries (40x more than plain DR) on detach, and a detach time increase of >2x vs plain DR. This issue trying to reduce that by adding translation handling for more suspend locations so we don't have to retry to suspend.
Xref #37, #38 on ptrace attach/detach which might also speed things up vs signals.
Contributor guide
Assessment
This issue has not been assessed yet.