發問發問
 

已答覆Loading XML & submitting takes lot of time

  • 2009年3月30日 上午 07:26Lorenzo 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Hello,
    We run stochastic simulations on our cluster; this kind of simulations require the submission of a lot of runs with several different parameters, passed at the command line. So, we generate and save an XML job file, load it, and submit it. With CCS 2003 loading was as fast as possible (just 1/2 seconds for a job with 30k tasks). On HPC 2008 it takes almost half an hour, on the default Job template (no additional validation required).
    Is that expected or is there something wrong with our deployment?
    Which are the exact steps going on during submission from an XML file? (does it do schema validation? other validations? Is it possible to turn them off in some config file/reg key?)
    Thanks,

    Lorenzo

解答

  • 2009年4月1日 下午 02:55Lorenzo 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    They are 30000 individual tasks. We cannot use parametric tasks for this particular application (it acts on different files and parameter combinations, which can not be summarized by a single integer value).

    Lorenzo
  • 2009年5月28日 下午 09:32Josh BarnardMSFT, 擁有者使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    Lorenzo,
    We have some fixes around this that should be included in our first Serivce Pack; please install that SP on your client and head node when it comes out and hopefully times will be significantly reduced!

    Thanks,
    Josh
    -Josh

所有回覆

  • 2009年4月1日 下午 01:56Steve Chilcoat - Microsoft 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Lorenzo,

    Are the 30,000 tasks individual tasks or 30,000 parametric tasks?

    Thanks
  • 2009年4月1日 下午 02:55Lorenzo 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    They are 30000 individual tasks. We cannot use parametric tasks for this particular application (it acts on different files and parameter combinations, which can not be summarized by a single integer value).

    Lorenzo
  • 2009年4月2日 下午 10:03Josh BarnardMSFT, 擁有者使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    Slow performance when adding a large number of tasks to a job is a known issue that we are looking into and hope to address soon.  In the meantime I suggest you use Parametric Sweeps as they will be much more performant to create.

    You can work around the problem you mentoined above by wrapping you task in a batch (or PSH, or ...) script that starts your application with the correct set of parameters.  You can use the * in your sweep to represent the index into the array of parameter sets, for example.

    Thanks!
    Josh


    -Josh
  • 2009年4月3日 上午 07:15Lorenzo 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Hello,

    I'd like to avoid the creation of batch; it's cumbersome and error prone.
    I suppose that we'll either write our own submission application (so that at least the user has to not wait minutes to press the "submit" button) or go back to CCS 2003 till the issue is fixed.

    Thanks!
    Lorenzo
  • 2009年4月9日 上午 12:03Josh BarnardMSFT, 擁有者使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Lorenzo,
    We are working on this issue right now.  Could you please send me your XML file?   It would be helpful for us to see how it is constructed/what your job contains.

    My e-mail: JBarnard AT Microsoft DOT com

    Thanks!
    Josh
    -Josh
  • 2009年5月28日 下午 09:32Josh BarnardMSFT, 擁有者使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    Lorenzo,
    We have some fixes around this that should be included in our first Serivce Pack; please install that SP on your client and head node when it comes out and hopefully times will be significantly reduced!

    Thanks,
    Josh
    -Josh
  • 2009年5月29日 上午 07:12Lorenzo 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Will try it asap!
    Thank you!

    Lorenzo