2 ms·
I'd bet for the null hypothesis: the memory behaviour changes would hold if the core count was kept constant and only the VM's memory size was adjusted.
by fulafel 6mo ago
I'd bet for the null hypothesis: the memory behaviour changes would hold if the core count was kept constant and only the VM's memory size was adjusted.
- brookst 6mo agoAgreed. This is the OS adapting to available memory. Similarly if you started with 4GB and there was 900MB available for user apps, I expect you could launch apps that consume 1500MB just fine; the OS is leaving enough to launch anything, and making use of unused memory for cache/etc.
- dmitrygr 6mo agoThere is a per-cpu data structure in the xnu kernel, but it is not big enough to tilt the scales when you are talking about RAM in units of gigabytes.
- pdpi 6mo agoIt’s not just the kernel. I wouldn’t be surprised if there’s a fair few userspace services spawning a thread per core.