Comments (3)
That is correct. The assumption is that if you are running with shared or shared_network threading modes it is unlikely that much will be gained from using thread affinity. Moving to dedicated mode will bring more latency improvements (especially in the long tail) over thread affinity. We generally recommend that applying thread affinity to be one of the steps applied very late in the tuning process.
from aeron.
The trouble is that in shared network mode AERON_CONDUCTOR_CPU_AFFINITY
still applies, and because the conductor thread is the thread which starts the shared network thread (and after the affinity is applied), you end up with both threads pinned to the same core.
It should either be possible to set affinity for the shared network thread, or the affinity applied to the conductor shouldn't also be applied to the shared network thread.
from aeron.
We may have a look into that case, but I think the original advice would still apply. If you don't have the cores available to run in dedicated mode, then you shouldn't be pinning the conductor thread either. This probably won't bring much benefit and could cause latency issues with other parts of your system.
from aeron.
Related Issues (20)
- list-members(ClusterTool) command does not show isLeader accurately
- big latency while transmit small packets cross different AWS zone over Aeron comparing with raw UDP HOT 2
- AeronCluster.AsyncConnect can forget to close subscription HOT 1
- [C++] `ReplayMerge` with multicast live destination doesn't merge. HOT 10
- AeronCluster.java decoding order issue HOT 3
- OpenTelemetry Integration HOT 1
- ArchiveException: ERROR - response for correlationId=15, error: 59232 position not aligned to a data header HOT 8
- Invoke fileChannel's force method before close HOT 2
- Heartbeats being sent, despite no publishing. HOT 5
- `ReplayMerge::doWork` throws exceptions without descriptions.
- ReplayMerge join position is greater than the replay position HOT 4
- AeronCluster client (gateway) - SIGSEGV HOT 1
- Set thread name to "client-conductor" fails.
- aeron ping-pong example build should detect sendmmsg
- code examples for C or C++ HOT 2
- Archive ConductorServiceTimeoutException when using `useConductorAgentInvoker` HOT 3
- [C Media Driver]: Custom poller and receiver functions HOT 2
- Entire cluster of 3 members getting stuck if one of the followers gets stuck HOT 3
- Aeron 1.43.0 - NullPointerException: Cannot invoke "io.aeron.archive.Session.doWork()" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aeron.