[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 Tue, 2013-12-03 at 11:27 +0100, Dario Faggioli wrote:
> On mar, 2013-12-03 at 09:32 +0000, Ian Campbell wrote:
> > 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".
> > 
> Mmm... I think I like this better. So, if we take the approach
> implemented in this patch right now, and introduce something like that
> later, here's what we'd get:
> 
>  1. xl vcpu-pin 3 all 4-6 : hard affinity for all dom3 vcpus --> 4-6

You mean soft don't you? And also hard -> all, not left alone.

>  2. xl vcpu-pin -s 3 all 3,5 : soft affinity for all dom3 vcpus --> 3,5

I think if you give -s then you should expect only one cpumap, which
would be the soft affinity map.

>  3. xl vcpu-pin 3 all 4-6 3,5 : combination of 1 and 2

Modulo the correction above, yes.

>  4. xl vcpu-pin 3 all - 3,5 : same as 2

Yes

> Would that be ok?

I like it.

Ian,


_______________________________________________
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®.