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

Re: [PATCH v6 11/16] PoC: libs/guest: use foreign copy during migration


  • To: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • From: Frediano Ziglio <freddy77@xxxxxxxxx>
  • Date: Thu, 9 Jul 2026 10:35:39 +0100
  • Arc-authentication-results: i=1; mx.google.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=lqPoy7n3B/2r5nuw2Q1yV+Dn/OHkHAArlO16MqDXa6E=; fh=/xIDEt21AoDgIoFrvXO7IQvdlvHF73QaNWBe25gcoZE=; b=XkE5NZuQSdgZ3TcfZojMIiuAD9A1wFOSqd2vy/zAm1p9wLAdrbg45NNgMd0DIbF+/G g01I8daOw0hZS/HGymUpwCv2P51O9winRD9u7X/cfNWtlZp/HHbsZuf+RNRK44FcGKU7 U96KTt1i0LIFVgXIyyXmSVPSUReA7/IiGoxqcWByKZuiFEqdBOSwE9m9XLuROjCXrrZZ mwzeI1fSSomovmXbxi1BBnfF/ge8pjNFtOwEZKNapsbFzwVNF0SfqUhhM/EmQ7SAhqK6 POPpQckfIAVRY8GXTu3JG+aisJxGhwEs9oXjjD9nf+bQAQAFYBvfUl5ySeZF1/qA3WuU EXlQ==; darn=lists.xenproject.org
  • Arc-seal: i=1; a=rsa-sha256; t=1783589750; cv=none; d=google.com; s=arc-20260327; b=VUIfX9mPSAOhWIsiMh8RAhNwZi4r4B7atIOmlatwtMzm3pxTINUEdRhajuG+/z9tUp RYMI93WQBox2eO1flU/oqpT9lMgoqqYPRoF27wdtTSQgsjrFk9f+7q4gGsVkF71rpRD1 xBGw4fz6OPL2yPRygBZAnaOs3o3/yTxbrSJefuLtp8155viq555QErxTEwf5VW1ACK8R N2gGwiLrKebuydrwk+Qq9hcAR61oxBit64hLHBlNx+cBfrDxXRk6VRrAT+WQsRlRLC3B Q6QnYFhm4VbmK6DxJStXObXKE5W512LBcWWMK6zNBUiAsXxbaWb4cW0Za7FzcWXaZH5O y8Sg==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=20251104 header.d=gmail.com header.i="@gmail.com" header.h="Content-Transfer-Encoding:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References:MIME-Version"
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, Edwin Török <edwin.torok@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Teddy Astie <teddy.astie@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Frediano Ziglio <frediano.ziglio@xxxxxxxxxx>
  • Delivery-date: Thu, 09 Jul 2026 09:35:56 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Wed, 8 Jul 2026 at 14:55, Anthony PERARD <anthony.perard@xxxxxxxxxx> wrote:
>
>
> A note about the subject, a "PoC" or Proof-of-concept to me isn't
> a patch that can be accepted, especialy if is a patch to an existing
> library.
>

Yes, mainly it should be merged with the final "finalize PoC".
Still nice for review at the moment.

> On Fri, Jun 19, 2026 at 02:04:56PM +0100, Frediano Ziglio wrote:
> > From: Edwin Török <edwin.torok@xxxxxxxxxx>
> >
> > ministat confirms the improvement:
> >
> > ```
> > x baseline
> > + foreigncopy
> >     N           Min           Max        Median           Avg        Stddev
> > x  20     1.1306997     1.1447931     1.1356569     1.1365742   0.003242175
> > +  20     0.4311504    0.44180303    0.43616705    0.43600089  0.0031094689
> > Difference at 95.0% confidence
> >       -0.700573 +/- 0.00203311
> >       -61.639% +/- 0.133355%
> >       (Student's t, pooled s = 0.00317652)
> > ```
>
> There's been some comment about this stat in previous version of the
> series, and the description is still the same. Could you describe how
> the stat have been generated, and what the number mean?
>

We managed to ask the author but got not much clue. Mainly timing.
Probably better to do new statistics.

> Also, what's the different between "baseline" and "foreigncopy". I've
> only had a glimpse at this patch, and it just looks like the code have
> been moved to a different part of the library, with somehow less lines
> of code.
>

"baseline" I suppose without these changes, "foreigncopy" will the changes.

> >
> > The tests pass too, which means that it has correctly migrated all guest
> > memory.
>
> Which tests?
>

Different migrations with multiple OSes and configuration (for
instance PV and not PV, these from me).

> Thanks,
>
>

Frediano



 


Rackspace

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