Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Reintroduce DB memory locking & add large page support #6694

Closed
spoonincode opened this issue Feb 4, 2019 · 0 comments
Closed

Reintroduce DB memory locking & add large page support #6694

spoonincode opened this issue Feb 4, 2019 · 0 comments
Assignees

Comments

@spoonincode
Copy link
Contributor

nodeos was originally written so that it attempted to lock database memory on startup. Due to a defect this functionality wasn't always enabled and this was fixed in 1.2.4 (#5546). However this change was quickly regretted and reverted for 1.2.5 (#5618). The reason it was problematic was that there were a lot of users running nodeos as root and Linux will happily try to lock an unlimited amount of memory as root even at the process' peril.

We need to reintroduce memory locking as an option. Additionally, large page support should be added. I've noted over 10% improvement in database performance when using 1GB pages.

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

No branches or pull requests

1 participant