[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] xen/mm: limit in-place scrubbing
- To: Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Fri, 9 Jan 2026 10:29:20 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=T8Kiv3g0HXuAFdz8U4Z/Yr9RVDAKlbyY5D2x8e+aL1I=; b=CmrcrhYTShwJFpaLk6BCnGxZdcoZ3tRjHv4eLdA04aOY3wPN3XwhnvIjnz3XAbhYd4B4PiUVvWZ3bs1+/xgKiAJJeJ0OLoN4iLVIIgusdn8r0SWMUWfWayvOqilHF00T964y2HQPtipuwCOH070I83VsoR7nAhUIMoFfXTiVSuzEUgUPyO6uXJhx+RT229AhwHaFoZc6HdvuSbeAG24VKdUKKsOp2nqAOjrNoaQjYPb88FzUqWFY6hqLsONc/gdGW489oIdExIiRqOOBz9uZx0jPcuKBR1oE/h/PFuLGNRjnSNGipK+0It2ZPbi2L0o26IIw9KwfKgcGJxwZCxSAgA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tOeesVOkv319W0tvcZFOHytqAiJ5YjDm4FXuAlBaNSatEXBhIAE6BBx/c/DwRrg/Ops3BDrQgHf3JSwr7uTYofp6+VFChqO2S09B9fppTqJVO/hrcuQtGLf9eD4G4eiNGvpIWRE8c0/D9Jl+2xP11uMGw2uilFIji4dmWeLV4JV2TM8WdqLb0mqZWNrp68yavZgTbE5Us8VuxwMzr0ielLKTRylz3vU0p/xQIvkXR7BIAdSAkYMEWBvshUXb5lM/ugbBrigVOL1m54iw4SEpZtFjIq/h69++KLDkgSdilXyDK9ZtdcseE1X0WiMzGGuAnnY5pKVXoe/pVocJqW3IyA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Fri, 09 Jan 2026 10:29:48 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 09/01/2026 10:15 am, Jan Beulich wrote:
> On 08.01.2026 18:55, Roger Pau Monne wrote:
>> In XenServer we have seen the watchdog occasionally triggering during
>> domain creation if 1GB pages are scrubbed in-place during physmap
>> population.
> That's pretty extreme - writing to 1Gb of memory can't really take over 5s,
> can it?
Sure it can.
> Is there lock contention involved?
Almost certainly, and it's probably the more relevant aspect in this case.
> Or is this when very many CPUs
> try to do the same in parallel?
The scenario is reboot of a VM when Xapi is doing NUMA placement using
per-node claims.
In this case, even with sufficient scrubbed RAM on other nodes, you need
to take from the node you claimed on which might need scrubbing.
The underlying problem is the need to do a long running operation in a
context where you cannot continue, and cannot (reasonably) fail.
~Andrew
|