GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [improve][ml] Use adaptive allocation for managed ledger cache copies by lhotari · Pull Request #26603 · apache/pulsar Conversation
Member
MotivationFollow up on #25280 and #26597. Batch reads are now enabled by default, and their entries must be copied into cache-owned buffers even when Use Netty's adaptive allocator as the built-in default for these copies. The expected workload is many small entries with similar sizes. The rationale is reduced fragmentation waste under that assumption:
This is a workload-based default choice, not a measured performance claim. Size-class rounding, partially occupied chunks, and allocator caches still consume memory; adaptive does not guarantee lower RSS for every size distribution or eviction pattern. No benchmarks were run.
Modifications
The merged batch-read change already corrected mandatory cache copying, unsupported-bookie fallback documentation, and ensemble/quorum configuration names. Its protocol guard now checks the actual BookKeeper client configuration; this follow-up retains that design. Verifying this change
Does this pull request potentially affect one of the following parts:The built-in managed-ledger cache allocator changes from pooled to adaptive. Explicit allocator settings retain their precedence.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsPreserve explicit allocator overrides and cover shared batch buffer release. Fix mock batch size splitting after an empty entry and cover the BookKeeper batch-read kill switch. Assisted-by: Codex Keep the pooled fallback explicit for the default allocator while using adaptive for ml-cache when no allocator type is configured. Assisted-by: Codex
lhotari
requested review from
Technoboy-,
dao-jun,
david-streamlio,
merlimat and
nodece
2 of 11 tasks
merlimat
approved these changes
dao-jun
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LGTM
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
dao-jun
pushed a commit
to ascentstream/pulsar
that referenced
this pull request
…apache#26603) (cherry picked from commit 0677be2)
dao-jun
pushed a commit
to ascentstream/pulsar
that referenced
this pull request
…apache#26603) (cherry picked from commit 0677be2)
dao-jun
pushed a commit
to ascentstream/pulsar
that referenced
this pull request
…apache#26603) (cherry picked from commit 0677be2)
Radiancebobo
pushed a commit
to Radiancebobo/pulsar
that referenced
this pull request
nodece
pushed a commit
to ascentstream/pulsar
that referenced
this pull request
…apache#26603) (cherry picked from commit 0677be2) (cherry picked from commit 4f184f2)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |