Skip to content

stockpile allocator: keep allocated memory in the user space#13

Open
chihungtzeng wants to merge 1 commit into
tier4:mainfrom
chihungtzeng:stockpile_allocator
Open

stockpile allocator: keep allocated memory in the user space#13
chihungtzeng wants to merge 1 commit into
tier4:mainfrom
chihungtzeng:stockpile_allocator

Conversation

@chihungtzeng

Copy link
Copy Markdown
Contributor

stockpile allocator: keep allocated memory in the user space and reuse it whenever possible.

The stockpile allocator is implemented to reduce the burden of handling fault faults in the kernel. It keeps allocated memory in the user space. When malloc/memalign is called, it tries to return a candidate matching the requirement to the caller if possible. It is designed to be lock-free; no mutex is involved.

It can reduce roughly 55% minor page faults, with a trade-off of using 1.7x memory.

…e it

The stockpile allocator is implemented to reduce the burden of handling fault faults in the kernel.
It keep allocated memory in the user space. When malloc/memalign is called, it tries to return
a candidate matching the requirement to the caller if possible.
It is designed to be lock-free; no mutex is involved.

It can reduce roughly 55% minor page faults, with a trade-off of using 1.7x memory.
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.

1 participant