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

Re: [Xen-devel] [PATCH v4 13/15] xl: enable getting and setting soft



On Mon, 2013-12-02 at 19:10 +0100, Dario Faggioli wrote:
> > Is there no option to set both?
> > 
> No, not for now. Do you think there should be one?

Is it never necessary to set the "atomically"? Or is it always possible
to set one arbitrarily before the other?

> Personally, I think we should keep `xl vcpu-pin <dom> <vcpu> <affinity>'
> working, and doing the thing that people are most used with, i.e.,
> setting the pinning (hard affinity).

Agreed.

> At that point, the most natural
> thing to do seemed to add a switch to have this deal with soft affinity,
> which is what happens in this patch.
> 
> I of course can come up with pretty much all sort of behavior, e.g.,
> setting both hard and soft affinity to the same cpumap, if no switch is
> provided, and then introduce both a '-h' and a '-s', for specifying
> different cpumaps, at the same time, etc.

Is setting them both the same pretty much identical in practice to
setting the hard and leaving the soft at all?

I was actually thinking of -b/--both but as you suggest could work too,
except -h is help so would need a different letter.

Another option would be to take two affinities on the command line, the
first being hard and the second soft with some special syntax ("-"?) for
"leave it alone".

> Of course, that could well happen during 4.5, I guess. :-P

Sure.

> 
> So, what do we want?
> 
> Regards,
> Dario
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.