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

arenaskl: remove node.allocSize field #4195

Merged

Conversation

nvanbenschoten
Copy link
Member

@nvanbenschoten nvanbenschoten commented Dec 10, 2024

The field was added in c34894c and has been unused since c34894c.

The node struct remains the same size due to padding.

I found this while looking into cache misses in the memtable's arena-backed skiplist and exploring ways (e.g. value separation, value + key suffix separation) to improve memory locality. So far, I haven't found anything that shows promise on microbenchmarks.

@nvanbenschoten nvanbenschoten requested a review from a team as a code owner December 10, 2024 05:09
@cockroach-teamcity
Copy link
Member

This change is Reviewable

The field was added in c34894c and has been unused since c34894c.

The `node` struct remains the same size due to padding.

I found this while looking into cache misses in the memtable's arena-backed
skiplist and exploring ways (e.g. value separation, value + key suffix
separation) to improve memory locality. So far, I haven't found anything
that shows promise on microbenchmarks.
@nvanbenschoten nvanbenschoten force-pushed the nvanbenschoten/sklAllocSize branch from 9133177 to 77ec92e Compare December 10, 2024 16:19
Copy link
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: 0 of 3 files reviewed, all discussions resolved

@nvanbenschoten nvanbenschoten merged commit ab9741a into cockroachdb:master Dec 10, 2024
23 checks passed
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.

3 participants