<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Thanks Chris!</div><div class=""><br class=""></div><div class=""> -Lee</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 20, 2015, at 6:47 PM, Chris Perry <<a href="mailto:perry@hampshire.edu" class="">perry@hampshire.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div>My forum post resulted in a solution that could work for us if we keep the slots as they are. The RemoteCmd line to use is:<div class=""><br class=""></div><div class="">RemoteCmd { command } -samehost 1 -atmost 4 -atleast 4 -service { blah }</div><div class=""><br class=""></div><div class="">That will check out exactly 4 slots on a single node. So all Lee needs is to know how many slots are on the machine he wants and we (should be) good to go using a RemoteCmd structure like this. </div><div class=""><br class=""></div><div class="">I’m happy to help you guys make these scripts work if and when the time comes.</div><div class=""><br class=""></div><div class="">- chris</div><div class=""><div class=""><br class=""><div class=""><div class="">On Apr 20, 2015, at 5:28 PM, Lee Spector <<a href="mailto:lspector@hampshire.edu" class="">lspector@hampshire.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite" class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">This, in conjunction with our observations of weird multithreading performance pathologies on the JVM, makes me think that we SHOULDN'T change the slots per node from whatever we're currently doing, at least not universally or by default. Is there a way to make this work as it currently does most of the time, but for me to grab a machine in 1-slot mode when I want one?</div><div class=""><br class=""></div><div class="">My use case is the exception, not the rule, and I usually need one or a small handful of these sessions going at a time (I run them individually and watch them). At the moment I'm just using my desktop mac, and I think that actually runs my code faster than any fly node at the moment (although 1-4 seemed to perform well). I may want to run on a fly node or two at some point too, but I wouldn't want the performance of other work (especially Tom's many many large runs) to take a hit for this. </div><div class=""><br class=""></div><div class=""> -Lee</div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Apr 20, 2015, at 4:59 PM, Thomas Helmuth <<a href="mailto:thelmuth@cs.umass.edu" class="">thelmuth@cs.umass.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I agree with the others that it should be pretty easy to do everything you need. And I can walk you through how to easily do it in Clojush with the python script I have to launch runs.<br class=""><div class=""><br class="">I'm not sure if I'd get more or less performance with one slot per node, but I'm guessing less -- I often get multiple runs going on a node, so I'd need to get 4 or 8 times speedups with multi-threaded in a single run to get the same amount of work done. But, maybe this would just happen automatically with how we have it setup in Clojush.<br class=""><br class=""></div><div class="">Tom<br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Apr 20, 2015 at 4:19 PM, Chris Perry <span dir="ltr" class=""><<a href="mailto:perry@hampshire.edu" target="_blank" class="">perry@hampshire.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="">
I just wrote a post to the tractor developer forum asking about the one piece of this that I’m not 100% sure about, but if we go with Josiah’s recommendation of one slot per blade then my post will be irrelevant and YES we can do exactly what you want.<br class="">
<br class="">
And Josiah, I do think that you’re right about one slot per node, not only because of the great multithreading that everyone’s doing, but because our fileserver can’t keep up with too many concurrent reads/writes anyway.<br class="">
<span class="HOEnZb"><font color="#888888" class=""><br class="">
- chris<br class="">
</font></span><div class="HOEnZb"><div class="h5"><br class="">
On Apr 20, 2015, at 3:55 PM, Wm. Josiah Erikson <<a href="mailto:wjerikson@hampshire.edu" class="">wjerikson@hampshire.edu</a>> wrote:<br class="">
<br class="">
><br class="">
><br class="">
> On 4/20/15 3:43 PM, Lee Spector wrote:<br class="">
>> Maybe it's finally time for me to do this. As Tom points out I should have a better handle on it before he leaves. But the runs that I do are a little different from what he usually does.<br class="">
>><br class="">
>> Is it now possible to do this with all of these properties?:<br class="">
>><br class="">
>> - My run starts immediately.<br class="">
> Yes. If you spool with a high enough priority, it will actually<br class="">
> terminate and re-spool other jobs that are in your way.<br class="">
>> - It runs on a node that I specify.<br class="">
> Yes. The service key would just be the node you want.<br class="">
>> - No other jobs run on that node until my run is done, even if mine temporarily goes to low cpu utilization.<br class="">
> We would have to make it so that your node had one slot, and then you<br class="">
> did something like this if you had more than one command:<br class="">
> <a href="http://fly.hampshire.edu/docs/Tractor/scripting.html#sharing-one-server-check-out-among-several-commands" target="_blank" class="">http://fly.hampshire.edu/docs/Tractor/scripting.html#sharing-one-server-check-out-among-several-commands</a>.<br class="">
> I think that most things that we are doing these days are multithreaded<br class="">
> enough that one slot per node might be a valid choice cluster-wide... at<br class="">
> least at the moment with Maxwell and prman. What say others?<br class="">
>> - I can see stderr as well as std out, which I'll be piping to a file (which has to be somewhere I can grep it).<br class="">
> Just pipe each one to whatever file you want. yes.<br class="">
>> - I can easily and instantly kill and restart my runs.<br class="">
> Yes. Right-click and restart, interrupt or delete.<br class="">
>><br class="">
>> If so then yes, I guess I should try to switch to a tractor-based workflow for my work on fly.<br class="">
>><br class="">
>> -Lee<br class="">
>><br class="">
>><br class="">
>>> On Apr 20, 2015, at 3:26 PM, Chris Perry <<a href="mailto:perry@hampshire.edu" class="">perry@hampshire.edu</a>> wrote:<br class="">
>>><br class="">
>>><br class="">
>>> I have a different ideal solution to propose: use tractor!<br class="">
>>><br class="">
>>> What you are looking to do with your NIMBY mechanism is to pull machines out of tractor temporarily so they can run your job(s). But this is exactly what tractor does: it gives a job to an idle machine then keeps that machine from running new jobs until the first job is killed or completed. If you spool with high enough priority, tractor kills and respools a lower priority job so as to free up the machine, so you don’t have to wait if immediate access is a concern of yours.<br class="">
>>><br class="">
>>> Not to mention, the tractor interface will show running jobs so there would be a “Lee’s job” item in green on the list. This might help keep you less likely to lose track in the way you describe happening now.<br class="">
>>><br class="">
>>> Worth considering? I’m sure there are a few kinks to figure out (such as how to tag your jobs so that they have the full machine, guaranteed) but I feel confident that we can do this.<br class="">
>>><br class="">
>>> - chris<br class="">
>>><br class="">
>>> On Apr 20, 2015, at 2:31 PM, Lee Spector <<a href="mailto:lspector@hampshire.edu" class="">lspector@hampshire.edu</a>> wrote:<br class="">
>>><br class="">
>>>> Some of these were probably my doing, but I only recall nimbying 1-4 and 4-5 in the recent past.<br class="">
>>>><br class="">
>>>> It's not a problem with a node that causes me to do this, it's an interest in having total control of a node for a compute-intensive multithreaded run, with no chance that any other processes will be allocated on it. Sometimes I'll start one of these, check in on it regularly for a while, and then check in less frequently if it's not doing anything really interesting but I'm not ready to kill it in case it might still do something good. Then sometimes I lose track. Right now I have nothing running, and any nimbying that I've done can be unnimbyed, although I'm not 100% sure what I may have left nimbyed.<br class="">
>>>><br class="">
>>>> Ideally, I guess, we'd have a nimby command that records who nimbyed and maybe periodically asks them if they still want it nimbyed. I'm not sure how difficult that would be. If somebody is inspired to do this, then it would also be nice if the command for numbying/unnimbying was more straightforward than the current one (which takes a 1 or a 0 as an argument, which is a little confusing), if it returned a value that made it more clear what the new status is, and if there was a simple way just to check the status (which maybe there is now? if so I don't know it).<br class="">
>>>><br class="">
>>>> -Lee<br class="">
>>>><br class="">
>>>><br class="">
>>>>> On Apr 20, 2015, at 1:36 PM, Wm. Josiah Erikson <<a href="mailto:wjerikson@hampshire.edu" class="">wjerikson@hampshire.edu</a>> wrote:<br class="">
>>>>><br class="">
>>>>> Hi all,<br class="">
>>>>> Why are nodes 1-17, 1-18, 1-2, 1-4, and 1-9 NIMBYed? If you are<br class="">
>>>>> having a problem with a node that causes you to need to NIMBY it, please<br class="">
>>>>> let me know, because maybe it just means I screwed up the service keys<br class="">
>>>>> or something. I'm not omniscient :)<br class="">
>>>>><br class="">
>>>>> --<br class="">
>>>>> Wm. Josiah Erikson<br class="">
>>>>> Assistant Director of IT, Infrastructure Group<br class="">
>>>>> System Administrator, School of CS<br class="">
>>>>> Hampshire College<br class="">
>>>>> Amherst, MA 01002<br class="">
>>>>> <a href="tel:%28413%29%20559-6091" value="+14135596091" class="">(413) 559-6091</a><br class="">
>>>>><br class="">
>>>>> _______________________________________________<br class="">
>>>>> Clusterusers mailing list<br class="">
>>>>> <a href="mailto:Clusterusers@lists.hampshire.edu" class="">Clusterusers@lists.hampshire.edu</a><br class="">
>>>>> <a href="https://lists.hampshire.edu/mailman/listinfo/clusterusers" target="_blank" class="">https://lists.hampshire.edu/mailman/listinfo/clusterusers</a><br class="">
>>>> --<br class="">
>>>> Lee Spector, Professor of Computer Science<br class="">
>>>> Director, Institute for Computational Intelligence<br class="">
>>>> Cognitive Science, Hampshire College<br class="">
>>>> 893 West Street, Amherst, MA 01002-3359<br class="">
>>>> <a href="mailto:lspector@hampshire.edu" class="">lspector@hampshire.edu</a>, <a href="http://hampshire.edu/lspector/" target="_blank" class="">http://hampshire.edu/lspector/</a><br class="">
>>>> Phone: <a href="tel:413-559-5352" value="+14135595352" class="">413-559-5352</a>, Fax: <a href="tel:413-559-5438" value="+14135595438" class="">413-559-5438</a><br class="">
>>>><br class="">
>>>> _______________________________________________<br class="">
>>>> Clusterusers mailing list<br class="">
>>>> <a href="mailto:Clusterusers@lists.hampshire.edu" class="">Clusterusers@lists.hampshire.edu</a><br class="">
>>>> <a href="https://lists.hampshire.edu/mailman/listinfo/clusterusers" target="_blank" class="">https://lists.hampshire.edu/mailman/listinfo/clusterusers</a><br class="">
>>> _______________________________________________<br class="">
>>> Clusterusers mailing list<br class="">
>>> <a href="mailto:Clusterusers@lists.hampshire.edu" class="">Clusterusers@lists.hampshire.edu</a><br class="">
>>> <a href="https://lists.hampshire.edu/mailman/listinfo/clusterusers" target="_blank" class="">https://lists.hampshire.edu/mailman/listinfo/clusterusers</a><br class="">
>> --<br class="">
>> Lee Spector, Professor of Computer Science<br class="">
>> Director, Institute for Computational Intelligence<br class="">
>> Cognitive Science, Hampshire College<br class="">
>> 893 West Street, Amherst, MA 01002-3359<br class="">
>> <a href="mailto:lspector@hampshire.edu" class="">lspector@hampshire.edu</a>, <a href="http://hampshire.edu/lspector/" target="_blank" class="">http://hampshire.edu/lspector/</a><br class="">
>> Phone: <a href="tel:413-559-5352" value="+14135595352" class="">413-559-5352</a>, Fax: <a href="tel:413-559-5438" value="+14135595438" class="">413-559-5438</a><br class="">
>><br class="">
>> _______________________________________________<br class="">
>> Clusterusers mailing list<br class="">
>> <a href="mailto:Clusterusers@lists.hampshire.edu" class="">Clusterusers@lists.hampshire.edu</a><br class="">
>> <a href="https://lists.hampshire.edu/mailman/listinfo/clusterusers" target="_blank" class="">https://lists.hampshire.edu/mailman/listinfo/clusterusers</a><br class="">
><br class="">
> --<br class="">
> Wm. Josiah Erikson<br class="">
> Assistant Director of IT, Infrastructure Group<br class="">
> System Administrator, School of CS<br class="">
> Hampshire College<br class="">
> Amherst, MA 01002<br class="">
> <a href="tel:%28413%29%20559-6091" value="+14135596091" class="">(413) 559-6091</a><br class="">
><br class="">
> _______________________________________________<br class="">
> Clusterusers mailing list<br class="">
> <a href="mailto:Clusterusers@lists.hampshire.edu" class="">Clusterusers@lists.hampshire.edu</a><br class="">
> <a href="https://lists.hampshire.edu/mailman/listinfo/clusterusers" target="_blank" class="">https://lists.hampshire.edu/mailman/listinfo/clusterusers</a><br class="">
<br class="">
_______________________________________________<br class="">
Clusterusers mailing list<br class="">
<a href="mailto:Clusterusers@lists.hampshire.edu" class="">Clusterusers@lists.hampshire.edu</a><br class="">
<a href="https://lists.hampshire.edu/mailman/listinfo/clusterusers" target="_blank" class="">https://lists.hampshire.edu/mailman/listinfo/clusterusers</a><br class="">
</div></div></blockquote></div><br class=""></div>
_______________________________________________<br class="">Clusterusers mailing list<br class=""><a href="mailto:Clusterusers@lists.hampshire.edu" class="">Clusterusers@lists.hampshire.edu</a><br class=""><a href="https://lists.hampshire.edu/mailman/listinfo/clusterusers" class="">https://lists.hampshire.edu/mailman/listinfo/clusterusers</a><br class=""></div></blockquote></div><br class=""><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="font-size: 12px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><p style="margin: 0px;" class=""></p><div class="">--</div><div class="">Lee Spector, Professor of Computer Science</div><div class="">Director, Institute for Computational Intelligence<br class="">Cognitive Science, Hampshire College<br class="">893 West Street, Amherst, MA 01002-3359<br class=""><a href="mailto:lspector@hampshire.edu" class="">lspector@hampshire.edu</a>, <a href="http://hampshire.edu/lspector/" class="">http://hampshire.edu/lspector/</a><br class="">Phone: 413-559-5352, Fax: 413-559-5438<br class=""></div></div></div></span></div></span></div></span></div></span></span>
</div>
<br class=""></div>_______________________________________________<br class="">Clusterusers mailing list<br class=""><a href="mailto:Clusterusers@lists.hampshire.edu" class="">Clusterusers@lists.hampshire.edu</a><br class=""><a href="https://lists.hampshire.edu/mailman/listinfo/clusterusers" class="">https://lists.hampshire.edu/mailman/listinfo/clusterusers</a><br class=""></blockquote></div><br class=""></div></div></div>_______________________________________________<br class="">Clusterusers mailing list<br class=""><a href="mailto:Clusterusers@lists.hampshire.edu" class="">Clusterusers@lists.hampshire.edu</a><br class="">https://lists.hampshire.edu/mailman/listinfo/clusterusers<br class=""></div></blockquote></div><br class=""><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="font-size: 12px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><p style="margin: 0px;" class=""></p><div class="">--</div><div class="">Lee Spector, Professor of Computer Science</div><div class="">Director, Institute for Computational Intelligence<br class="">Cognitive Science, Hampshire College<br class="">893 West Street, Amherst, MA 01002-3359<br class=""><a href="mailto:lspector@hampshire.edu" class="">lspector@hampshire.edu</a>, <a href="http://hampshire.edu/lspector/" class="">http://hampshire.edu/lspector/</a><br class="">Phone: 413-559-5352, Fax: 413-559-5438<br class=""></div></div></div></span></div></span></div></span></div></span></span>
</div>
<br class=""></body></html>