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 — AdaptivePoolingAllocator EventLoop Magazine's affinity by franz1981 · Pull Request #14047 · netty/netty Conversation
Contributor
Motivation: AdaptivePoolingAllocator uses some shared Magazines hoping thread's id distribution to improve contended behaviour, but event loops threads can just uses their own Magazine(s) and save 2 atomic operations (write lock/unlock) in the hot path, further improving performance. Modification: Implements dedicated event loop Magazines Result: Better allocation performance for event loop threads
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
This is trying hard to make Additionally, in Netty 5 i see no Another pain point of the Netty 5 version is that allowing close means that users can really have fun creating many allocators, and per instance |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Motivation: AdaptivePoolingAllocator uses some shared Magazines hoping thread's id distribution to improve contended behaviour, but event loops threads can just uses their own Magazine(s) and save 2 atomic operations (write lock/unlock) in the hot path, further improving performance. Modification: Implements dedicated event loop Magazines Result: Better allocation performance for event loop threads
bca0a9d to
344bf9b
Compare
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I think I forgot to close the magazine on ThreadLocal::onRemove |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Done @normanmaurer let's see what the CI think |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.