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

Cache access count does not match in metrics.csv and mem.trace #85

Open
syifan opened this issue Jul 18, 2024 Discussed in #84 · 0 comments
Open

Cache access count does not match in metrics.csv and mem.trace #85

syifan opened this issue Jul 18, 2024 Discussed in #84 · 0 comments
Labels
bug Something isn't working

Comments

@syifan
Copy link
Contributor

syifan commented Jul 18, 2024

Discussed in #84

Originally posted by Soilorian July 16, 2024
Hello Mr. Sun, hope you are well

during my exploration on mgpu-sim and working with the mem.trace file I've noticed something strange. I was comparing the results of my analysis on this file and the pre made hit and miss count by using the -report-cache-hit-rate flag and I see some differences.
for example, on fir benchmark after building and running the code with the following command

./fir -timing -trace-mem -report-cache-hit-rate

there is a contradiction.

if we see the metrics file we see that for a specific cache like GPU[1].SA[3].L1SCache we see a total of 275 requests
image

but by simply counting the lines which match end.*GPU[1].SA[3].L1SCache regex pattern in the mem.trace file, we see a total of 320 matches
image

so either the metrics didn't catch all of the requests going to this cache or mem.trace file contains some redundant requests( I also checked, the requests didn't have the same id so they are not duplicate) what is the reason for this?

@syifan syifan added the bug Something isn't working label Jul 18, 2024
@Soilorian Soilorian mentioned this issue Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant