-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#4014 dr$sim phys: Improve v2p cache and hash performance (#5521)
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
- Loading branch information
1 parent
380b1dc
commit b3200e7
Showing
3 changed files
with
61 additions
and
30 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