Override IOQueueCount via env vars - #51964
Conversation
|
This should use our configuration system, not direct environment variables |
Can you please point me to an example? |
|
It's also configurable via UseSockets |
|
It's not perfectly analogous, but here's an example of consuming new env vars: #44194 |
|
Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime. |
|
Thanks! will configure with code |
|
Hi @EgorBo. It looks like you just commented on a closed PR. The team will most probably miss it. If you'd like to bring something important up to their attention, consider filing a new issue and add enough details to build context. |
This PR adds ability to change default value for
Socket.IOQueueCountin Kestrel - this will allow us to easily experiment with the default value on various many-cores system (or with different affinity settings) before we propose a better default here.E.g. Current RPS on a many-cores arm64 CPU affinitized to 16 cores: 1.2M RPS (Windows)
Same setup with
ASPNETCORE_IOQUEUECOUNT=10: 1.8M RPS.cc @sebastienros