From: Marc Zyngier <maz@kernel.org>
To: Shivam Kumar <shivam.kumar1@nutanix.com>
Cc: "pbonzini@redhat.com" <pbonzini@redhat.com>,
"seanjc@google.com" <seanjc@google.com>,
"james.morse@arm.com" <james.morse@arm.com>,
"suzuki.poulose@arm.com" <suzuki.poulose@arm.com>,
"oliver.upton@linux.dev" <oliver.upton@linux.dev>,
"yuzenghui@huawei.com" <yuzenghui@huawei.com>,
"catalin.marinas@arm.com" <catalin.marinas@arm.com>,
Aravind Retnakaran <aravind.retnakaran@nutanix.com>,
"Carl Waldspurger [C]" <carl.waldspurger@nutanix.com>,
David Vrabel <david.vrabel@nutanix.com>,
"david@redhat.com" <david@redhat.com>,
"will@kernel.org" <will@kernel.org>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: [PATCH v10 0/3] Per-vCPU dirty quota-based throttling
Date: Thu, 04 Apr 2024 10:19:50 +0100 [thread overview]
Message-ID: <87h6ghscw9.wl-maz@kernel.org> (raw)
In-Reply-To: <EDE1F181-FC4F-4E76-9F89-C35579193480@nutanix.com>
On Thu, 21 Mar 2024 05:48:01 +0000,
Shivam Kumar <shivam.kumar1@nutanix.com> wrote:
>
>
> > On 22-Feb-2024, at 1:22 AM, Shivam Kumar <shivam.kumar1@nutanix.com> wrote:
> >
> > The current v10 patchset includes the following changes over v9:
> >
> > 1. Use vma_pagesize as the dirty granularity for updating dirty quota
> > on arm64.
> > 2. Do not update dirty quota for instances where the hypervisor is
> > writing into guest memory. Accounting for these instances in vCPUs'
> > dirty quota is unfair to the vCPUs. Also, some of these instances,
> > such as record_steal_time, frequently try to redundantly mark the same
> > set of pages dirty again and again. To avoid these distortions, we had
> > previously relied on checking the dirty bitmap to avoid redundantly
> > updating quotas. Since we have now decoupled dirty-quota-based
> > throttling from the live-migration dirty-tracking path, we have
> > resolved this issue by simply avoiding the mis-accounting caused by
> > these hypervisor-induced writes to guest memory. Through extensive
> > experiments, we have verified that this new approach is approximately
> > as effective as the prior approach that relied on checking the dirty
> > bitmap.
> >
>
> Hi Marc,
>
> I’ve tried my best to address all the concerns raised in the
> previous patchset. I’d really appreciate it if you could share your
> thoughts and any feedback you might have on this one.
I'll get to it at some point. However, given that it has you taken the
best part of a year to respin this, I need to page it all back it,
which is going to take a bit of time as well.
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
next prev parent reply other threads:[~2024-04-04 9:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 19:51 [PATCH v10 0/3] Per-vCPU dirty quota-based throttling Shivam Kumar
2024-02-21 19:51 ` [PATCH v10 1/3] KVM: Implement dirty quota-based throttling of vcpus Shivam Kumar
2024-02-22 2:00 ` Anish Moorthy
2024-04-16 16:52 ` Sean Christopherson
2024-04-16 16:59 ` Sean Christopherson
2024-04-18 10:36 ` Shivam Kumar
2024-02-21 19:51 ` [PATCH v10 2/3] KVM: x86: Dirty " Shivam Kumar
2024-04-16 17:44 ` Sean Christopherson
2024-02-21 19:51 ` [PATCH v10 3/3] KVM: arm64: " Shivam Kumar
2024-03-21 5:48 ` [PATCH v10 0/3] Per-vCPU dirty quota-based throttling Shivam Kumar
2024-04-04 9:19 ` Marc Zyngier [this message]
2024-04-18 10:46 ` Shivam Kumar
2024-04-16 17:44 ` Sean Christopherson
2024-04-18 10:42 ` Shivam Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6ghscw9.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=aravind.retnakaran@nutanix.com \
--cc=carl.waldspurger@nutanix.com \
--cc=catalin.marinas@arm.com \
--cc=david.vrabel@nutanix.com \
--cc=david@redhat.com \
--cc=james.morse@arm.com \
--cc=kvm@vger.kernel.org \
--cc=oliver.upton@linux.dev \
--cc=pbonzini@redhat.com \
--cc=seanjc@google.com \
--cc=shivam.kumar1@nutanix.com \
--cc=suzuki.poulose@arm.com \
--cc=will@kernel.org \
--cc=yuzenghui@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.