AMD Ryzen Threadripper 3990x - Parallel GA

16 次查看(过去 30 天)
Hi there,
Is Matlab going to make use of all 64 cores of a AMD Ryzen Threadripper 3990x in parallel processing, such as generic algorithm?
Best regards

回答(1 个)

Jason Ross
Jason Ross 2020-11-20
The "local" cluster supports up to 512 cores, so you can set the cluster size to 64 and it should use the cores. The ga function also has built-in parallel support.
Some other concerns might come up:
  • Each parallel worker is essentially another MATLAB session, so you need to have enough RAM to support 64 MATLAB sessions running simultaneously. The mimimum RAM requirement is 4 GB, recommended is 8 GB, and of course if your problem is bigger, you need more. So for supporting those workers you need 256 or 512 GB of RAM, maybe more.
  • Disk I/O : if you have 64 processes accessing disk simultaneously doing heavy I/O you can become bottlenecked on read or write. So you may need to look at technologies like RAID to spread the reads and writes over several drives. A single drive might become your bottleneck (especially if it's also doing OS stuff). I only recommend SSDs nowadays.
  • OS: Windows has different core limits for different versions. Make sure that you select a version that's allows the cores you have. Note also that it may be beneficial to disable hyperthreading, so you keep all your precessors in a processor group. On Linux this isn't an issue. For heavy math operations, hyperthreading doesn't really do anything for you anyway.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by