MATLAB running slow when MATLAB is running on other machine

14 views (last 30 days)
Hello, I have installed MATLAB on two different Linux server independently (they're located on local directory, and have two different licenses). However, running MATLAB heavily on one machine somehow slows down running MATLAB on the other machine. Those machines do not share CPU or memory.
I also have run bench on MATLAB. The first image is when nothing is running, and second image is a bench result when many MATLAB jobs are running on another machine.
Would there be any idea about possible reason or how to resolve? Please advise.

Answers (1)

Ninad
Ninad on 16 Jan 2024
Hi Sarah,
As per my understanding, you are trying to run MATLAB on two independent Linux servers that do not share any hardware resources. However, heavy MATLAB jobs running on one server degrade the performance of another server.
Please run the followings checks on both the servers:
  1. If both the servers are connected to the same network and the MATLAB jobs involve significant network activity, jobs running on one server could be impacting the performance of the other server.Monitor the network activity using the "nload" command on both the Linux servers. You can refer this link to install "nload" on Linux server: https://www.geeksforgeeks.org/how-to-install-nload-in-linux/
  2. If the MATLAB jobs running on both the servers are accessing a shared file system, check the I/O performance of the shared file system.Similarly, if the jobs on both the servers are using shared services, you can monitor the performance of the shared services.
  3. Ensure that both servers are configured optimally to run MATLAB.
  4. Check the amount of RAM and swap space available on both servers.
  5. Verify the CPU usage and load averages using tools like "top" and "htop", on both the linux servers.
  6. Ensure that the storage system (HDD/SSD) has enough space and is not experiencing high I/O wait times, which can slow down performance.You can use the "iostat" command for monitoring the system input/output. Refer the following link to understand the iostat command: https://www.geeksforgeeks.org/iostat-command-in-linux-with-examples/
Hope this helps.
Regards,
Ninad

Categories

Find more on Install Products in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!