qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 10/13] migration/postcopy: Cache the tid->vcpu mapping for bl


From: Fabiano Rosas
Subject: Re: [PATCH 10/13] migration/postcopy: Cache the tid->vcpu mapping for blocktime
Date: Tue, 03 Jun 2025 13:20:31 -0300

Peter Xu <peterx@redhat.com> writes:

> Looking up the vCPU index for each fault can be expensive when there're
> hundreds of vCPUs.  Provide a cache for tid->vcpu instead with a hash
> table, then lookup from there.
>
> When at it, add another counter to record how many non-vCPU faults it gets.
> For example, the main thread can also access a guest page that was missing.
> These kind of faults are not accounted by blocktime so far.
>
> Signed-off-by: Peter Xu <peterx@redhat.com>

Reviewed-by: Fabiano Rosas <farosas@suse.de>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]