On Wed, Apr 11, 2012 at 7:22 AM, Dave Love <[email protected]> wrote:
> Simon Matthews <[email protected]> writes: > > > On Thu, Apr 5, 2012 at 12:41 PM, Hung-Sheng Tsaio (Lao Tsao) Ph.D. < > > [email protected]> wrote: > > > >> may be define complex vmtype for different VM > >> then qsub -l vmtype=xx > >> regards > >> > >> > > Could you elaborate on this a bit more? > > It might help to know how/why you want to distinguish the hosts if > they're essentially the same. > It's all about optimizing network I/O. We will be submitting a large number of regressions -- in a couple of groups. One group of regressions will use a set of files that are stored on one server (which will also be the host for a number of VMs), while another group of regressions will use a set of files that is stored on a second server. This second server is also the host for a number of VMs. Thus, I want to try to have the jobs assigned to VMs such that they largely read and write files on the host machine, rather than going over the network to access the files. Simon It's also possible to set orderings for hosts, possibly as groups, if > that's useful. > > > If I understand this, I need to add a global complex (qconf -mc > > global) > > -mc doesn't actually take an argument, but that's the first step. > > > called, for example "vmtype", which could be a string type, then somehow > I > > assign the appropriate value of the complex to each host (qconf -me > > <hostname>), but the format of the file for the host configuration is not > > clear. > > I'd use > > qconf -mattr exechost complex_values <complex>=<value> <host>... > > to set it (with host possibly generated by a shell expansion of some > sort). > > > Is this the correct approach? How do I add the value of the complex to > the > > host within the qconf -me config? > > -- > Community Grid Engine: http://arc.liv.ac.uk/SGE/ >
_______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
