Data Centers

Performance Studies for Multithreading in Matlab With Usage Instructions on HPC

Date Added: Jun 2009
Format: PDF

This report explores the use of multiple computational cores by multithreading in the software package Matlab on a compute node with two dual-core AMD Opteron processors. After testing the built-in functions of Matlab for a small test problem, the authors consider a classical test problem resulting from a finite difference discretization of the Poisson equation in two spatial dimensions. The results demonstrate that the use of more than one thread is often not very beneficial for Matlab code. This suggests that Matlab jobs should be limited to using one core by default to allow for the fastest throughput of the largest number of jobs.