How is QUIC_MAX_PARTITION_COUNT set? #1433
|
Quick question, I see that The primary use case for this would be if you need to do some heavier server work and don't want other threads thrashing cache memory on certain cores. It looks like in realtime mode, thread affinity is assigned from 0 counting upwards per partition. Another use case is specifically for client side use where currently all available cores immediately map to two threads on launch (even if you only have one connection intended for lighter usage). |
Replies: 1 comment 11 replies
|
We have a external storage (i.e. registry) value to control it, but assuming that's not set, we just set it to the processor count (capped to |
We have a external storage (i.e. registry) value to control it, but assuming that's not set, we just set it to the processor count (capped to
QUIC_MAX_PARTITION_COUNT). See https://github.com/microsoft/msquic/blob/main/src/core/library.c#L304. AQUIC_SETTINGfrom the app isn't going to do anything since we initialize that at the first call toMsQuicOpen.