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

Prime offset of anti-cache with timestamps #172

Merged
merged 27 commits into from Aug 30, 2014
Merged

Conversation

linmagit
Copy link
Collaborator

This is a change of the sampling strategy in anti-cache with timestamps.

Now we use a prime offset that is relatively-prime to the number of tuples in the block, instead of using rand and %.

What a bug!!! We do not need to scan the specific block when calculating tupleID in LRU.
Conflicts:
	src/ee/anticache/EvictionIterator.cpp
	src/frontend/edu/brown/hstore/AntiCacheManager.java
apavlo added a commit that referenced this pull request Aug 30, 2014
Prime offset of anti-cache with timestamps
@apavlo apavlo merged commit 87d7f76 into apavlo:master Aug 30, 2014
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

Successfully merging this pull request may close these issues.

None yet

2 participants