-
Notifications
You must be signed in to change notification settings - Fork 571
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#5411 bbdup mem: Shrink per-thread heap usage (#5419)
Moves all drbbdup per-thread memory to unreachable heap. Moves the drbbdup dynamic case hit table to be dynamically allocated based on a new drbbdup option "never_enable_dynamic_handling" not being set. This eliminates 128K per thread for drmemtrace, which makes a big difference on large applications. Sanity test: Before: $ bin64/drrun -rstats_to_stderr -t drcachesim -offline -max_global_trace_refs 10K -- suite/tests/bin/client.annotation-concurrency libclient.annotation-concurrency.appdll.so A 4 64 3 Peak threads under DynamoRIO control : 5 Peak vmm blocks for unreachable heap : 767 Peak vmm blocks for reachable heap : 726 Peak vmm virtual memory in use (bytes) : 10293248 After: Peak threads under DynamoRIO control : 5 Peak vmm blocks for unreachable heap : 736 Peak vmm blocks for reachable heap : 250 Peak vmm virtual memory in use (bytes) : 8183808 Issue: #5411
- Loading branch information
1 parent
38281cd
commit 6e16e55
Showing
4 changed files
with
60 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters