Increase number of parallel pools coworker by adding hardware?
5 次查看(过去 30 天)
显示 更早的评论
Hi, on my PC with Windows10, i9-10900K, 32GB RAM, i can launch max. 10 coworkers, which is the number I can reach on my machine, no matter what number i setup. But during processing data, my CPU get max. ca. 50% load, which I don't understand. So I am wondering whether it helps to add more RAM (32->64 GB) to increase the number of coworkers?
Does anyone know what is the relationship between CPU/RAM setups to number of coworkers?
Is there any suggestion for which CPU with how much RAM to get max. number of coworkers?
Thanks
Song
0 个评论
采纳的回答
Walter Roberson
2021-10-15
Check your Parallel Preferences
And check the number of workers permitted in your "local" cluster; https://www.mathworks.com/help/parallel-computing/discover-clusters-and-use-cluster-profiles.html
The default permitted is the number of true cores you have -- excluding any effect for hyperthreading. (Hyperthreads that are not sometimes waiting for resources, such as waiting for disk or I/O, can end up making the overall execution slower)
Adding more RAM will not affect the number of workers permitted.
On the other hand, you should expect that workers will take a mininum of 2 Gb each, for the MATLAB image, plus the size of your data.
You should double check: is that 50% that you are seeing 50% of the nominal rate if you were using hyperthreads? Because 50% load measured against hypothetical hyperthreads means that your physical cores are at full load.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!