Consider despawning idle SRV GC threads when DATAS is in use #102093
-
Currently, SRV GC + DATAS will nicely scale down heapcount to 1/2/3 heaps on light to moderate long-running allocation traffic, keeping memory usage lower and throughput higher than WKS GC. This is particularly useful and important for lightweight NativeAOT deployments, especially when they are published as native libraries (e.g. #102048) However, as DATAS scales down the heapcount, it does not scale down the respective GC threads, keeping the entire This can be particularly problematic as modern systems often come with lots of cores - due to SMT, even 8-core systems have at least 16 GC threads alive, 32 threads alive for 16C and so on and so forth. This will only keep getting worse as manufacturers add E-cores. It is also already problematic on Has despawning of idle threads that do not have a heap associated with them been considered for DATAS? If so, is there a reasoning, besides "we just did not get to this yet" to keep |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I have turned this into #102116 |
Beta Was this translation helpful? Give feedback.
I have turned this into #102116