Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove runtime aerialvision overhead w/ preprocessor #37

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Remove runtime aerialvision overhead w/ preprocessor #37

wants to merge 3 commits into from

Conversation

CoffeeBeforeArch
Copy link

@CoffeeBeforeArch CoffeeBeforeArch commented Apr 6, 2020

Despite the AerialVision logging not being enabled in a GPGPU-Sim config, you still pay the price of runtime overhead for collecting memory system stats on each window. This commit seeks to remove most of this overhead by adding GPGPU-Sim build mode (av_enabled). When av_enabled is not enabled, the preprocessor removes much of the code related to AerialVision in the caches.

Below are examples of where the overhead of AerialVision is paid even when it is not enabled:

  • The cache_stats constructor in gpu-cache.cc
    • A vector of vectors is created for per window stats
  • the cache_stats operator+=
    • cache_stats_pw is updated

This lead to an observed 3-5% increase in observed performance.

@rgreen rgreen added the enhancement New feature or request label Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants