Skip to content

Reduce contention and disposer back-pressure in RouteSegmentedConnPool#668

Open
arturobernalg wants to merge 1 commit intoapache:masterfrom
arturobernalg:back-pressure
Open

Reduce contention and disposer back-pressure in RouteSegmentedConnPool#668
arturobernalg wants to merge 1 commit intoapache:masterfrom
arturobernalg:back-pressure

Conversation

@arturobernalg
Copy link
Copy Markdown
Member

lease/release allocated and contended where the work was not needed, and the bounded disposer saturated under sustained slow GRACEFULcloses, falling back to caller-thread IMMEDIATE close and stalling IO threads.

Run Routes Master ops/s Optimised ops/s Δ
16 cores, 3 forks 10 822.42 ± 37.25 1150.95 ± 125.49 +39.9 %
16 cores, 3 forks 50 1008.36 ± 13.79 1636.12 ± 107.50 +62.2 %
4 cores, 1 fork 50 967.83 ± 37.78 1746.39 ± 84.37 +80.4 %

…l. Lazy waiter-skip deque, skip enqueue/drain when no waiters, O(1) late-hit completion, and a properly sized timed-out disposer pool.
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