-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
We have noticed a periodic pattern on the threadpool hill-climbing logic, which uses either n-cores
or n-cores + 20
with an hysteresis effect that switches every 3-4 weeks:
The main visible impact is on performance results, here is an example with JsonPlatform mean latency, but some scenarios are also impacted in throughput:
This happens independently of the runtime version, meaning that using an older runtime/aspnet/sdk doesn't change the "current" value of the TP threads.
It is also independent of the hardware, and happens on all machines (Linux only) on the same day. These machines have auto-updates disabled. Here are ARM64 (32 cores), AMD (48 cores), INTEL (28 cores):
Disabling hill-climbing restores the better perf in this case, so it is believe that fixing this variation will actually have a negative impact on perf for these scenarios.