What are the ideal computer specs for parallel computing with large data sets?
Mostrar comentarios más antiguos
I am processing data that takes about 20GB space as a .mat file. Custom functions processing the data takes a long time. The CPU usage in the task manager while Matlab was processing the data was only 8-9%. This corresponds to the one of the 12 processors. To utilize more processors, I downloaded parallel computing toolbox and converted one of the main loops to a parloop. The CPU usage percentage got higher (40-50%) first, then the memory usage reached to 100% and after a few minutes the CPU usage percentage got down to 8-9%.
I am assuming that due to the low ram capacity (32GB) compared to the large data set, parallel computing toolbox activates Matlab workers each of which needing memory space to work on the data, which in turn increase the demand on the RAM. This maximizes the RAM usage, and the algorithm decides to release some of the workers to reduce the demand on the RAM and reverts back to using only one processor. Does that explanation make sense? Is there an ideal computer spec that would perform better with parallel computing toolbox to expedite the data processing?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!