From: "Jan Beulich" Subject: Re: [PATCH v2] Xen: Spread boot time page scrubbing across all available CPU's Date: Thu, 03 Apr 2014 09:35:55 +0100 Message-ID: <533D398B020000780000507C@nat28.tlf.novell.com> References: <20140401192905.GA16392@andromeda.dapyr.net> <20140403011918.GA24177@andromeda.dapyr.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140403011918.GA24177@andromeda.dapyr.net> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: keir@xen.org, andrew.cooper3@citrix.com, tim@xen.org, xen-devel@lists.xen.org, Malcolm Crossley List-Id: xen-devel@lists.xenproject.org >>> On 03.04.14 at 03:19, wrote: > On Tue, Apr 01, 2014 at 03:29:05PM -0400, Konrad Rzeszutek Wilk wrote: >> My recollection is that Jan wanted this patch to spread the work >> only on the cores and not the threads. Were there any other concerns? > > And for fun I tried it on a large box and it does make a difference. > > With the patch (attached) where we only use the cores and skip > the SMT threads the boot time scrubbing for 1.5TB is 66 seconds > while for all of the CPUs (including threads) is 127 seconds. > > Sorry about the quality of the patch - was poking at it while > on conference calls so please treat it as HACK/RFC. > > Jan/Malcom, were there any other issues that needed to be addressed? Iirc this was the only concern, so if you could send a proper, cleaned up patch... Jan