<br>Oh well,<br><br>thanks<br><br><div><span class="gmail_quote">On 6/13/06, <b class="gmail_sendername"><a href="mailto:garrick@speculation.org">garrick@speculation.org</a></b> <<a href="mailto:garrick@speculation.org">
garrick@speculation.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Fri, Jun 09, 2006 at 12:22:34PM +1000, Franc Carter alleged:
<br>> Hi,<br>><br>> We are using torque-1.2 with a site specific TCL scheduling algorithm. The<br>> number<br>> of jobs in the queue has grown significantly since we implemented (several<br>> thousand)<br>
> and the scheduler takes a long time to make a decision and uses lots of CPU<br>> time.<br>><br>> Part of the problem appears to be that on every cycle the scheduler needs to<br>> completely reread the entire state instead of being able to find out just
<br>> the<br>> change that caused the scheduler to be invoked - i.e job 1234 exited.<br>><br>> I had a look through the source code and it looks like this information is<br>> not available in the protocol - but my C is rather rusty.
<br>><br>> Can someone confirm that this information is not available to the scheduler,<br>> and is<br>> it available in the 2.0 version. More importantly is anyone running a<br>> scheduler that<br>> works 'efficiently' in the 1000's of jobs range.
<br><br>Unfortunately, that is just how it works. Each scheduling iteration<br>must call pbs_statjob() and "download" all job info.<br><br>I've been thinking that it would be nice to have a second version of the
<br>pbs_stat*() functions that save their own state inside of pbs_server and<br>only return changes (as long as the connection is maintained.)<br><br><br>_______________________________________________<br>torqueusers mailing list
<br><a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br><a href="http://www.supercluster.org/mailman/listinfo/torqueusers">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>Franc