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

Re: I/O performance regression between 9.0.2 and 11.1.3 on Xen


  • To: "Edgar E. Iglesias" <edgar.iglesias@xxxxxxx>
  • From: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 25 Nov 2026 15:13:41 +0100
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=fm3 header.d=invisiblethingslab.com header.i="@invisiblethingslab.com" header.h="Cc:Content-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=fm3 header.d=messagingengine.com header.i="@messagingengine.com" header.h="Cc:Content-Type:Date:Feedback-ID:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To:X-ME-Proxy:X-ME-Sender"
  • Cc: qemu-devel@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Delivery-date: Wed, 25 Nov 2026 14:13:55 +0000
  • Dkim2-signature: i=1; m=1; t=1795616026; d=invisiblethingslab.com; mf=PG1hcm1hcmVrQGludmlzaWJsZXRoaW5nc2xhYi5jb20+; rt=PHhlbi1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZz4=; s=fm3:rsa-sha256:QGxngIbI9Cfso8HwSrVugZW6NCefQVLV4lxnmp5xKJl0uWH mhEdUL2JQb5M4o8KdUpxyjm9kye6/euoCTOvRhOpi9BWOskTaYSO3wTCWRFDPnLR EkV0jGjaR967VAZm0LVQvD3Sp7tzNXYYyxMcHEyXYSdXWJTSLn8upGAXCilQbfIK SMCSvnGB1hOxJf9PZKwi16AWahLymBHZWJUH9StLS/TYa4IlHiPvEshE5qFFPk5+ /sMzZyYObA3L54Fy+BGzKelikQ3tQzY16TMqvXT6mt3EriXGT1HJ/kALkq+8S7hY vjR/VbN6Ha5pzrkV4n6Pxfwrb2xuHZU6inEoEOg==;
  • Feedback-id: i1568416f:Fastmail
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Message-instance: m=1; h=sha256:CrDuLf+kk2/4LiUgM/GwNrN0wXECDETWypiE0zo4I1E=:vMSevYf/RFwV6VLa4XzaGSdhnQ4OU2JKzUtmXPolzHk=;

On Wed, Nov 25, 2026 at 02:52:12PM +0100, Edgar E. Iglesias wrote:
> On Wed, Nov 25, 2026 at 12:37:22PM +0100, Marek Marczykowski-Górecki wrote:
> > And indeed, reverting it on top of 11.1.3 fixes the issue. I assume that
> > page gets mapped and unmapped a lot (for disk I/O?).
> > Let me know if some more information is needed, some logs to collect
> > maybe? Or a simplified test case?
> 
> Hi Marek,
> 
> Thanks for bisecting this. We hit the same slowdown and carry a patch
> that keeps foreign DMA mappings cached after their last user releases
> them. That lets repeated I/O to the same guest pages reuse the mapping.
> 
> I have the patch queued for upstreaming. It’s on the edgar/xen-pvh-fixes
> branch in my tree.
> 
> 3386b77e09 xen-mapcache: Keep released DMA mappings cached
> https://github.com/edgarigl/qemu/commit/3386b77e09e194ffc921c79f28241de8e5545748
> 
> Could you try it on QEMU 11.1.3 with 123acd816dcc still applied and let
> us know whether the Windows install is back to around 7 minutes to
> first reboot?

Yes, that works too, thanks! You can consider it as my Tested-by.


-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab

Attachment: signature.asc
Description: PGP signature


 


Rackspace

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