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

Re: [Xen-devel] [PATCH v1 2/5] xen: sched: null: don't assign down vcpus to pcpus


  • To: "George.Dunlap@xxxxxxxxxx" <George.Dunlap@xxxxxxxxxx>
  • From: Dario Faggioli <dfaggioli@xxxxxxxx>
  • Date: Tue, 16 Jul 2019 15:00:54 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=suse.com;dmarc=pass action=none header.from=suse.com;dkim=pass header.d=suse.com;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TUFIfBNfbMBbD4pPriKpBfZKRtDMSUXPYw+4qaH1g5M=; b=laRnmNyj57wRmWXtQZ6hpFnUy1laYPLfLUblyZ455CgpHYNxSZiDPmdtX81Z87Q9HU2yRCJi5mnXbag7Oh7mfCcgwq/yrIyDnF8RXiqae/Lt/RTjO/D78B47nljNb8M8XFoSEiV0kK6LTYBcTJyGST5flsaTrTvl3Xekr5RYeOmKGcgBPwcuVN5vMxwofLy286TE5EfEqVlpbJ8J2Q+3YvgfsHQsoK9r1rk7oEb1w+09gG9GkYQ2qLQagLcm24YKr1BNmU/bcPVrMuV0J5x2+vHRi39mrFBO8SJd8Q+m1Quk5DNAdFfbgAfKSmz2FPoWtDCcr4ksWqEQy5BKrYP+eg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nsutHkZKxyJx5bXVQRRDuQiLoy6Xu64tIjAayOC5cL9Dvp5NRs/zS5DG0xnHSUmEYGyUoMfiFcFqnuamK33XmdVbMw4nBwFBWfZR+cXJXDaCsXv/NduzeCBxBhbgIVIF38DaP64b1FSqI0qFifoR2pqYUpQsWtKeVeywlVXeQfLRurysT5GMgCOoR0lqN2MnverpiymBv4VaQQeTITDGxo+pmjsuZ7uqPTNgb6xnPonYZtwJvlwoSeSC4uUvLb6gdrZATFdD9tv2tG1BIW4Xlqygkq6EJOz0q4X539IehSl2Ev7BNkzQUP9SrdBKaTP6reIrp3M4pnJ+bLvz5xGaLQ==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=dfaggioli@xxxxxxxx;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, "roger.pau@xxxxxxxxxx" <roger.pau@xxxxxxxxxx>
  • Delivery-date: Tue, 16 Jul 2019 15:06:45 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVOydXzSui4XMVAEeMf8BdnFoTaabNtPYAgAE6CACAABQTgP/+VSUA
  • Thread-topic: [Xen-devel] [PATCH v1 2/5] xen: sched: null: don't assign down vcpus to pcpus

On Tue, 2019-07-16 at 12:02 +0000, George Dunlap wrote:
> > On Jul 16, 2019, at 11:50 AM, Dario Faggioli <faggioli@xxxxxxxx>
> > On Mon, 2019-07-15 at 17:06 +0100, George Dunlap wrote:
> > > On 8/25/18 1:21 AM, Dario Faggioli wrote:
> > > > 
> > > The other thing is, from a "developmental purity" point of view,
> > > I
> > > think
> > > this series technically has a regression in the middle: cpu
> > > offline /
> > > online stops working between patch 2 and patch 4.  But I'm
> > > inclined
> > > in
> > > this case not to worry too much. :-)
> > > 
> > Well, the point is that offlining/onlining does not work before
> > this
> > series. System does not crash, but behavior is wrong, as offline
> > vCPUs
> > stay assigned to pCPUs (keeping them idle) while online vCPUs are
> > "trapped" in the wait list, which is wrong.
> > 
> > So that's why I don't think there's much value in being consistent
> > with
> > such behavior throughout the series... which I guess is why you
> > said
> > you "won't worry too much in this case” ?
> 
> It’s definitely sub-optimal from a system point of view; but from a
> guest point of view, it does (or should) function.  Before this
> series, if a guest offline and then online vcpus, they should come
> back.
>
Well, yes, I guess they should. IAC, one of the main backing usecases
for these fixes is when null is used as the scheduler of the Xen PV-
SHIM. In that case, if I remember correctly, the L1 and L2 vCPUs are
created offline, and then onlined dynamically. And they don't come up.
:-)

Anyway...

> In the middle of this series, once a vcpu is offlined, it can’t be
> brought back up.  (That is, if I’m reading it right.)
>
...Yes, at that stage, things are working even less. But more
important...

> But I’m not expecting people to be doing bisections of that
> particular functionality in this particular scheduler very much.  I
> think the “benefit” of avoiding a complicated re-write is well worth
> the “cost” of having that particular bisection fail, on the off
> chance that anyone tries it.
> 
...As we fully agree on this, let's move on

Regards
-- 
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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