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

ObjectPool for pages and a SlicingArena #743

Open
JohannesLichtenberger opened this issue Oct 1, 2024 · 0 comments
Open

ObjectPool for pages and a SlicingArena #743

JohannesLichtenberger opened this issue Oct 1, 2024 · 0 comments

Comments

@JohannesLichtenberger
Copy link
Member

Page instances should be recycled, when the BufferManager evicts pages,as we currently always allocate new instances. Instead we should preallocate "empty" instances and clear them once evicted from the cache and put the instances back into one or two ObjectPools (for IndirectPages and KeyValueLeafPages). In the off-heap branch we should also allocate a big memory chunk upfront and use a slicing allocator to slice into smaller chunks for the KeyValueLeafPages.

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

No branches or pull requests

1 participant