[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] virtual machines



On Wed, 5 Jan 2005 16:09:22 -0600, Erik Paulson <epaulson@xxxxxxxxxxx> wrote:
> On Wed, Jan 05, 2005 at 01:31:45PM -0800, Jacob Joseph wrote:
> > Is it possible in the spec file for a user to specify the virtual
> > machine number to run on?  I understand it is possible to specify the
> > machine.
> >
> 
> By spec file, do you mean the input file to condor_submit? In Condor,
> we usually call that 'the submit file'
> 
> But it's easy to say which VM you want to run on
> 
> requirements = VirtualMachineID == 2
> 
> Though there's usually not a good reason to do so.

It's the fastest, easiest and most balanced way to partition a
homogeneous SMP pool in two.

If you have a job that only uses one CPU but takes most of the memory
you can easily ensure only one ever runs but forcing it to use only
one vm (this is NOT the best or most balanced way to do this but it is
very simple and achievable with no effort on the pool admin side)

Currently referencing it in the startd expressions is the ony way to
achieve different configurations per vm on SMP machines

Don't knock it, I've been using tricks like that for a while and it's
been extremely useful (and worked first time). I think this particular
classad expression needs more publicity

Though I admit it's hacky as hell :¬)

Matt