Repository navigation
Page cache - #1455
Closed
djwatson wants to merge 4 commits into
Closed
Page cache#1455djwatson wants to merge 4 commits into
djwatson wants to merge 4 commits into
Conversation
added 3 commits
March 7, 2019 15:56
This config option is no longer used once best fit is removed.
This option saves a few CPU cycles, but potentially adds a lot of fragmentation - so much so that there are workarounds like max_active. Instead, let's just drop it entirely. It only made a difference in one service I tested (.3% cpu regression), while many services saw a memory win (also small, less than 1% mem P99)
djwatson
force-pushed
the
page_cache
branch
2 times, most recently
from
March 11, 2019 20:47
431029d to
5437fb4
Compare
Add a pagecache in front of the slabs. The vast majority of extent tree manipulations comes from the slabs and not large requests. Currently we are depending on delay_coalesce to prevent lots of merge/split operations, instead let's make this very explicit with a pagecache. It supports watermarks and fill/flush similar to how tcache works. Current prod tests show this as pretty memory-neutral, and a small CPU win, mostly from splitting what would be a single extent mutex in to three page sized mutexes.
Closed
Contributor
|
No longer mergeable -- we also have the SEC implemented, which is fast as-is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a pagecache in front of the slabs. The vast majority of extent tree manipulations comes from the slabs and not large requests. Currently we are depending on delay_coalesce to prevent lots of merge/split operations, instead let's make this very explicit with a pagecache.
It supports watermarks and fill/flush similar to how tcache works.
Current prod tests show this as pretty memory-neutral, and a small CPU win, mostly from splitting what would be a single extent mutex in to page sized mutexes.
(builds on top of #1448 )