possible reasons for increasing time of batch

1 Ansicht (letzte 30 Tage)
Rafael
Rafael am 12 Sep. 2013
Hi all!
I send jobs to a remote cluster machine and do a tic-toc around my batch command. Unfortunately the measured time increases a lot during a loop over 300 of similar jobs... Staring from 20s in the beginning I come to 200s already for job number 75...
Any ideas what could be the reason for that???
Thanks very much!
Rafael
  1 Kommentar
Rafael
Rafael am 12 Sep. 2013
Bearbeitet: Rafael am 12 Sep. 2013
By the way, I tried to restart my local matlab and go on with the loop:
I again find times around 20s, so something happens on my local machine which slows me down...
No, it does not have the same effect if I "clear all". Then increasing starts at same already increased amount of time...

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Image Analyst
Image Analyst am 12 Sep. 2013
It might depend on what you're doing. Are you doing anything with axes? I once noticed that when I was in an intensive loop repeatedly displaying new images in the same axes, it would get slower and slower until it was crawling along. Then I put in a "cla reset" just before I showed an image and after that it was uniformly speedy. Could that help you?

Rafael
Rafael am 17 Sep. 2013
Hi all. Thanks for the suggestion with these axes, but thats not relevant here I think.
I "simply" submit a function with a few basic parameters (no big data, only paths where to load the data from on the cluster) and a new CurrentDirectory via batch. The function then loads, processes and stores data on the clusters harddrives, so I dont keep the connection to the jobs.
Only thing what really bothers me is the incrasing amount of time my loop needs per job-submission.
(Cluster uses torque as jobmanager)
As a start, I would like to have some trick to uncover the bottleneck...

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by