[torqueusers] Disabling cpusets.
david at unistra.fr
Thu Nov 3 10:24:57 MDT 2011
Le 3 nov. 2011 à 17:06, Doug Johnson a écrit :
> At Thu, 3 Nov 2011 09:59:48 -0600,
> David Beer wrote:
>> ----- Original Message -----
>>> Is it possible to have cpusets compiled in, but disable it at
>>> I did some code spelunking and couldn't find any way to turn it off.
>>> Did I
>>> overlook anything?
>>> torqueusers mailing list
>>> torqueusers at supercluster.org
>> We don't have any way to turn cpusets off at runtime, although there is a way to make it happen in TORQUE:
>> Look at the geometry requests feature: http://www.adaptivecomputing.com/resources/docs/torque/3.6schedulingcores.php
>> Note that if geometry requests are configured by themselves, then you only get a cpuset if you explicitly request one. In order to implement this feature, you'd need to write a submit filter that adds the geometry request to the job unless some parameter is passed in (you get to make up whatever parameter you want this to be, and just don't pass it through to qsub from your filter). Essentially, you can take the submit filter here: http://www.adaptivecomputing.com/resources/docs/torque/a.jqsubwrapper.php and add logic to save a parameter request if it is there (your special parameter) and if it isn't there, then you also write the appropriate geometry request to STDOUT. Note that geometry requests make nodes exclusive-use only, so based on your other email it may or may not be a viable solution.
> How graceful is the cpusets code if the cpuset/cgroup pseudo file
> system is not mounted?
Not graceful at all : given our experience, it cannot start the job.
More information about the torqueusers