-
Notifications
You must be signed in to change notification settings - Fork 147
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
Erroneous ICache hits impact performance counters #123
Comments
Can you show the LRU updates happening in case 1 and not happening in case 2 in the traces? How can we reproduce this? |
LRU is not getting correct access information in both cases. Even though there are way_hits as 10 (case 1) and 01 (case 2), this is not updated in the access variable which remains 00. This access variable is input for the lru_cache module. Checking the following assertions would result in these errors. |
I am not sure this is an issue or we should be touching this. For some reasons
|
This issue may not be critical from the LRU perspective. All cache hits are not acknowledged to the fetch module, only refill hits and hits during the READ state are considered, so no need to update lru. But the |
OK, that seems like a different issue, do you want to close this issue and create a new one, or update the description of this issue to indicate the impact on performance counters? |
Can you change the description? "Impact on performance counters" doesn't communicate the issue well. |
Impact is not a good word to start a issue description. Maybe swap it around "Erroneous ICache hits impact performance counters" |
Icache updates the LRU access variable only if cache hits occur in the read state. There may be cache hits that occur in the state refill or invalidate. CPU gets back its requested data for these hits but the access information for such hits fails to update the LRU algorithm.
Case 1: Cache hit in refill state
Case 2: Cache hit in invalidate state
The text was updated successfully, but these errors were encountered: