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

TOTAL_ROW_ACCESSES exceeds assigned number #64

Open
shavvn opened this issue Mar 7, 2017 · 0 comments
Open

TOTAL_ROW_ACCESSES exceeds assigned number #64

shavvn opened this issue Mar 7, 2017 · 0 comments

Comments

@shavvn
Copy link
Collaborator

shavvn commented Mar 7, 2017

In .ini file, we can set TOTAL_ROW_ACCESSES to control the scheduling by enforcing a cap on total row accesses to a row in open page policy.

But in some cases the actual number of accesses will exceed this assigned number by 1. Here is how it happens:

In CommandQueue.cpp, let's say in line 419, an ACTIVATE is first time issued to a bank and followed by its CAS (READ/WRITE) commands. This CAS command won't increment the rowAccessCounters in line 444 because by the time it gets here the ACTIVATE was gone.

So as a result there could be at most TOTAL_ROW_ACCESSES+1 CAS commands to the same row instead of TOTAL_ROW_ACCESSES.

Again, this is not timing violation or something wrong. But could be confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant