Jean-Baptiste Denis <[email protected]> writes: > Hello everybody, > > I'm using OGS/GE 2011.11p1 on Linux and I want to play with cgroups.
What do you want to do with them? (They're not without problems.) > My idea was simply to dynamically create a cgroup on an execution node > per JOBID using a prolog The prolog is no use, as such, because it only runs on the master node, and isn't connected to the shepherd. > (and cgcreate or simple shell command), but I > also need to run the provided user command with cgexec. Is there a way > to alter the command within the prolog ? > > I'm not an everyday grid engine administrator, so I'm certainly not > thinking the GE way. Any comments or suggestions are welcomed. There is preliminary cpuset support in the current SGE (though there's a bug report of problems I haven't got to the bottom of) and Mark Dixon has posted patches whose functionality will get merged soon. > PS : By the way, i've seen this blog post > http://blogs.scalablelogic.com/2012/05/grid-engine-cgroups-integration.html > but this is not clear for me how it can be used. I've just checkouted > the trunk source, grepping around, but I'm not able to find anything > related to cgroup besides some lines in hwloc. Maybe I'm grepping wrong > or looking at the wrong place ? =) Look in the current SGE source (which has been partly restructured, but that's not finished and published), and also in the source of SLURM, and possibly Condor. If you want to work on it, I'm happy to make suggestions for contributions to SGE (and Mark probably will), bearing in mind much of the work is already done. The main issue, apart from cgroups being a moving target with their own problems, is actually providing a good user/admin interface, at least in the current SGE style. -- Community Grid Engine: http://arc.liv.ac.uk/SGE/ _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
