Hi everyone,<div><br></div><div>I am a PhD student at UC Berkeley, and I wanted to add a &quot;turning off idle/underutilized servers&quot; feature to our 100 server torque+maui deployment. However, I want to implement this feature using only existing torque+ maui interfaces and extensions ( i,e <u>without modifying</u> the torque or maui source code in any way ).</div>
<div><br></div><div>My proposed way is to </div><div>1. monitor the maui queue length , and estimate the number of servers I can switch off. </div><div>2. I would then use &quot;pbsnodes -o &lt;nodename&gt;&quot; command to render a certain number of servers offline for scheduling. </div>
<div>3. A bash script would turn the servers off. </div><div><br></div><div>The servers would be turned back on (and added to the torque nodes list) when the queue length increases beyond a certain threshold.</div><div><br>
</div><div>I had two questions : </div><div><br></div><div>1. Is there any existing open source code which already implements the &quot;turning off idle servers&quot; functionality in torque ?</div><div>2. Are there complications that would arise if I implemented the &quot;turning-off idle servers&quot; feature in my proposed way ? [ e.g - Is it possible that after turning off servers, they would lose some state and hence would not get added to the torque &lt;nodes_list&gt; when turned back on? Are there long lived TCP connections which need to be restarted separately ? , etc ] </div>
<div><br></div><div>It would be great if anyone could help.</div><div><br></div><div>Thanks a lot,</div><div>Arka.</div>